optimize font selection

This commit is contained in:
Yan Lin 2026-02-05 20:35:47 +01:00
parent 3a4713d465
commit b63282d1c8

View file

@ -31,7 +31,7 @@ html {
} }
body { body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
background: var(--bg); background: var(--bg);
color: var(--fg); color: var(--fg);
max-width: var(--max-width); max-width: var(--max-width);
@ -158,7 +158,7 @@ ul, ol {
} }
code { code {
font-family: "SF Mono", Consolas, monospace; font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.85em; font-size: 0.85em;
background: var(--code-bg); background: var(--code-bg);
padding: 0.1em 0.3em; padding: 0.1em 0.3em;