Skip to content

Commit 611ae31

Browse files
committed
Change fonts configuration
1 parent 1a3c407 commit 611ae31

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

themes/barebones/static/css/style.css

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,39 @@
1717
}
1818

1919
body, nav {
20-
font-family: system-ui;
20+
font-family:
21+
/* Might be enough in the future: https://caniuse.com/extended-system-fonts */
22+
"ui-sans-serif",
23+
/* Works ATM: https://caniuse.com/font-family-system-ui */
24+
"system-ui",
25+
/* Fallback */
26+
"sans-serif";
2127
}
2228

2329
code {
24-
font-family: "SFMono-Regular", Menlo, Consolas, "Roboto Mono", "Liberation Mono", Courier, monospace;
30+
font-family:
31+
/* Might be enough in the future: https://caniuse.com/extended-system-fonts */
32+
"ui-monospace",
33+
/* macOS 10.11+ */
34+
"SF Mono",
35+
/* macOS 10.6+ */
36+
"Menlo",
37+
/* Windows 10+ */
38+
"Cascadia Mono",
39+
/* Windows Vista+ */
40+
"Consolas",
41+
/* Linux: GNOME */
42+
"Source Code Pro",
43+
/* Linux: KDE */
44+
"Hack",
45+
/* Linux */
46+
"Liberation Mono",
47+
"DejaVu Sans Mono",
48+
/* Android */
49+
"Roboto Mono",
50+
/* Fallback */
51+
"monospace";
52+
2553
font-size: 85%;
2654
}
2755

0 commit comments

Comments
 (0)