Spaces:
Paused
Paused
Update custom.css
Browse files- custom.css +12 -0
custom.css
CHANGED
|
@@ -17,6 +17,13 @@
|
|
| 17 |
src: url('../assets/fonts/DingTalk-JinBuTi.woff2') format('woff2');
|
| 18 |
font-display: swap;
|
| 19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
html {
|
| 22 |
scroll-behavior: smooth;
|
|
@@ -441,4 +448,9 @@ span.ͼw {
|
|
| 441 |
/* 隐藏原始的折叠按钮 */
|
| 442 |
button.flex.gap-1.items-center:not(.run-code-button) {
|
| 443 |
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 444 |
}
|
|
|
|
| 17 |
src: url('../assets/fonts/DingTalk-JinBuTi.woff2') format('woff2');
|
| 18 |
font-display: swap;
|
| 19 |
}
|
| 20 |
+
@font-face {
|
| 21 |
+
font-family: 'JetBrains Mono';
|
| 22 |
+
src: url('../assets/fonts/JetBrainsMono-Bold.woff2') format('woff2');
|
| 23 |
+
font-display: swap;
|
| 24 |
+
font-weight: bold;
|
| 25 |
+
font-style: normal;
|
| 26 |
+
}
|
| 27 |
|
| 28 |
html {
|
| 29 |
scroll-behavior: smooth;
|
|
|
|
| 448 |
/* 隐藏原始的折叠按钮 */
|
| 449 |
button.flex.gap-1.items-center:not(.run-code-button) {
|
| 450 |
display: none;
|
| 451 |
+
}
|
| 452 |
+
/* 代码区域使用字体 */
|
| 453 |
+
code, pre, .code-block {
|
| 454 |
+
font-family: 'JetBrains Mono', monospace;
|
| 455 |
+
font-weight: bold;
|
| 456 |
}
|