1
0
mirror of https://github.com/Mikaela/cv.git synced 2025-02-10 19:40:57 +01:00

main.scss: permit fallback to system-ui for Android, explain in comment

This commit is contained in:
Aminda Suomalainen 2024-05-31 21:31:07 +03:00
parent 8012ac4eb9
commit 70f4a3e37c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -4,8 +4,12 @@
@charset "utf-8";
$base-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman",
serif;
// Apparently my Android understands system-ui, but not ui-serif, so for the
// best experience, I will permit fallback, even if it will be sans-serif.
// I imagine it's a small minority and most users will get either ui-serif
// or fallback further down the fallback list, perhaps all the way to serif.
$base-font-family: ui-serif, system-ui, "Liberation Serif", Tinos,
"Times New Roman", serif;
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine,
"Courier New", monospace;