fix fonts issue

This commit is contained in:
DefectingCat
2023-05-16 15:50:48 +08:00
parent 5352b56a03
commit cb351db3d6
6 changed files with 18 additions and 27 deletions

View File

@ -35,7 +35,7 @@
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
/* font-family: 'Fira Code', 'Fira Mono', Menlo, Consolas, 'DejaVu Sans Mono',
monospace; */
font-family: 'JetBrains Mono', -apple-system, 'DejaVu Sans Mono', monospace;
font-family: var(--font-jetbrains-mono), -apple-system, 'DejaVu Sans Mono', monospace;
direction: ltr;
text-align: left;
white-space: pre;
@ -520,4 +520,4 @@ pre
/* Fill colour of the handle */
.dark .prism-previewer-easing.prism-previewer-easing circle {
fill: transparent;
}
}

View File

@ -34,7 +34,8 @@ pre {
color: hsl(230, 8%, 24%);
/* font-family: 'Fira Code', 'Fira Mono', Menlo, Consolas, 'DejaVu Sans Mono',
monospace; */
font-family: 'JetBrains Mono', -apple-system, 'DejaVu Sans Mono', monospace;
font-family: var(--font-jetbrains-mono), -apple-system, 'DejaVu Sans Mono',
monospace;
direction: ltr;
text-align: left;
white-space: pre;
@ -432,4 +433,4 @@ pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection {
/* Fill colour of the handle */
.prism-previewer-easing.prism-previewer-easing circle {
fill: transparent;
}
}

View File

@ -371,5 +371,5 @@ h6:hover::before {
#article .cm-editor .cm-line {
font-size: 15px;
font-family: 'JetBrains Mono', -apple-system, monospace;
}
font-family: var(--font-jetbrains-mono), -apple-system, monospace;
}