設(shè)置Safari 10.0.2閱讀器Reader字體
關(guān)閉SIP(系統(tǒng)完整性保護(hù)功能)才能保存Reader.html
- 重啟電腦鹉究,按住Command+R(直到出現(xiàn)蘋(píng)果標(biāo)志)進(jìn)入Recovery Mode(恢復(fù)模式)
- 左上角菜單里找到實(shí)用工具 -> 終端
- 輸入 $ csrutil disable 回車重啟Mac即可塔橡。
- 如果想重新啟動(dòng)SIP機(jī)制重復(fù)上述步驟改用 $ csrutil enable --without debug即可沸移。
Reader.html位置
/System/Library/PrivateFrameworks/SafariShared.framework/Versions/A/Resources/Reader.html
修改樣式
//把宋體字改為adobe的仿宋字體
.songtitc { font-family: 'Songti TC'; }改為.songtitc { font-family: 'Adobe Fangsong Std R'; }
.songtisc { font-family: 'Songti TC'; }改為.songtisc { font-family: 'Adobe Fangsong Std R'; }
<style id="article-content">
h1, h2, h3, h4, h5, h6 {
? ? ? ?font-weight: bold;
}
h1 {
? ? ? font-size: 1.25em;
? ? ? line-height: 1.4em;
? ? ? border-bottom: 1px solid #333; //修改為下劃線樣式
}
...
</style>
#article * {
/* Scale down anything larger than our view. Max-width maintains aspect ratios on images. */
max-width: 100%;
line-height: 2em; //修改行間距
}
.page {
/* We don't want the lines seperating pages to extend beyond the primary text column. */
padding-left: 0px;
padding-right: 0px;
width: 850px; //固定寬度
margin-left: auto;
margin-right: auto;
}