mirror of
https://github.com/ekmas/cs16.css
synced 2026-04-10 21:53:24 +00:00
Add fallbacks if the custom font doesn't load.
If the custom font doesn't load for some reason, the browser will fall back to some random font, possibly a serif font that looks Very Wrong. "system-ui" should choose the system font for the current platform, whatever it is, which is at least *a* system font even if it's not the right one for CS 1.6. For older browsers that don't support "system-ui", fall back to "sans-serif", which should look at least vaguely right.
This commit is contained in:
parent
75ce39a6af
commit
967c6d1e1a
3 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ body {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
background-color: var(--bg);
|
background-color: var(--bg);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
font-family: ArialPixel;
|
font-family: ArialPixel, system-ui, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scrollbars */
|
/* Scrollbars */
|
||||||
|
|
|
||||||
2
css/cs16.min.css
vendored
2
css/cs16.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -64,7 +64,7 @@ body {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
background-color: var(--bg);
|
background-color: var(--bg);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
font-family: ArialPixel;
|
font-family: ArialPixel, system-ui, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scrollbars */
|
/* Scrollbars */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue