|
1 | 1 | /* --- 修改/添加 @font-face 规则 --- */ |
| 2 | +@import url("https://fontsapi.zeoseven.com/2/main/result.css"); |
| 3 | + |
2 | 4 | @font-face { |
3 | | - /* 给你的代码字体起个名字,比如 'Maple Mono' */ |
4 | | - font-family: 'Maple Mono'; |
5 | | - /* 确认路径正确:相对于 custom.css,字体在 fonts/ 目录下 */ |
6 | | - src: url('fonts/MapleMono-Regular.woff2') format('woff2'); |
| 5 | + font-family: "ZSFT-443"; |
| 6 | + src: url("https://fontsapi.zeoseven.com/443/main.woff2") format('woff2'), |
| 7 | + url("https://fontsapi-storage.zeoseven.com/443/main.woff2") format('woff2'); |
7 | 8 | font-display: swap; |
8 | 9 | font-style: normal; |
9 | 10 | } |
|
17 | 18 | font-style: italic; |
18 | 19 | } |
19 | 20 |
|
20 | | -@font-face { |
21 | | - /* 给你的UI主字体起个名字,比如 'MiSans' */ |
22 | | - font-family: 'MiSans'; |
23 | | - /* 确认路径正确 */ |
24 | | - src: url('fonts/MiSans.woff2') format('woff2'); |
25 | | - font-display: swap; |
26 | | - /* 如果 MiSans.woff2 包含多种字重,可以分别定义, |
27 | | - 但如果只有一个常规体,这样写就行 */ |
28 | | -} |
29 | | - |
30 | 21 | html { |
31 | 22 | scroll-behavior: smooth; |
32 | 23 | } |
33 | 24 |
|
34 | 25 | body { |
35 | | - font-family: 'MiSans', -apple-system, BlinkMacSystemFont, sans-serif; |
| 26 | + font-family: "LXGW ZhenKai", -apple-system, BlinkMacSystemFont, sans-serif; |
| 27 | + font-weight: normal; |
36 | 28 | } |
37 | 29 |
|
38 | 30 | /* 代码块容器样式 */ |
@@ -137,8 +129,8 @@ body { |
137 | 129 |
|
138 | 130 | /* 代码内容区域 */ |
139 | 131 | .cm-content { |
140 | | - /* 使用你为 MapleMono 定义的 font-family 名称 */ |
141 | | - font-family: 'Maple Mono', -apple-system, BlinkMacSystemFont, Inter, ui-sans-serif, system-ui, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; |
| 132 | + /* 使用你为 ZSFT-443 定义的 font-family 名称 */ |
| 133 | + font-family: 'ZSFT-443', -apple-system, BlinkMacSystemFont, Inter, ui-sans-serif, system-ui, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; |
142 | 134 | /* 保留后面的备用字体 */ |
143 | 135 | font-size: 15px !important; |
144 | 136 | line-height: 1.6em !important; |
@@ -291,7 +283,7 @@ span.ͼw { |
291 | 283 | color: #586069 !important; |
292 | 284 | padding-right: 10px !important; |
293 | 285 | /* 也使用代码字体 */ |
294 | | - font-family: 'Maple Mono'; |
| 286 | + font-family: 'ZSFT-443'; |
295 | 287 | } |
296 | 288 |
|
297 | 289 | .dark .cm-gutters { |
|
0 commit comments