commit 5f5364ad73dc6c31e1e189596f407970f852701a (tree)
parent 57113bab2f3802cc823494b9aa1df280cb005e2a
Author: Jay Weisskopf <jay@jayschwa.net>
Date: Sun, 9 Dec 2018 12:51:28 -0500
font-family fallbacks for unsupported system-ui
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -8,7 +8,13 @@
body{
background-color:#111;
color: #bbb;
- font-family: system-ui, sans-serif;
+ font-family: system-ui,
+ /* Fallbacks for browsers that don't support system-ui */
+ /* https://caniuse.com/#search=system-ui */
+ -apple-system, /* iOS and macOS */
+ Roboto, /* Android */
+ "Segoe UI", /* Windows */
+ sans-serif;
}
a {
color: #88f;