Skip to content

Commit

Permalink
update font
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan authored Apr 14, 2024
1 parent 7e1387f commit 5d51d35
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,19 @@ defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/
- | # <https://zenozeng.github.io/fonts.css/>,跨平台中文字体解决方案
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/lxgwwenkaimonotc-bold/result.min.css"
href="https://cdn.jsdelivr.net/npm/[email protected]/xenon-semi-wide.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/600.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/chinese-simplified-600.min.css"
/>
<style>
.sidebar, html, h1, h2, h3, h4, h5, h6, code, pre {
font-family: "LXGW WenKai Mono TC", Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, DFKai-SB, "TW\-Kai", serif;
font-family: "Monaspace Xenon", "Courier New", "Courier", "Noto Sans Mono", "Noto Serif TC", "Noto Serif SC", "Noto Serif CJK TC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", STZhongsong, STSong, "Songti SC", "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, monospace;
}
</style>
- | # 修复行内图片默认样式
Expand Down

0 comments on commit 5d51d35

Please sign in to comment.