1
0
mirror of https://github.com/Mikaela/cv.git synced 2024-11-25 09:59:23 +01:00

main.scss: permit emoji font, but prefer text

This commit is contained in:
Aminda Suomalainen 2024-06-01 19:57:42 +03:00
parent 70f4a3e37c
commit 0b1ff0714e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -9,7 +9,7 @@
// I imagine it's a small minority and most users will get either ui-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. // or fallback further down the fallback list, perhaps all the way to serif.
$base-font-family: ui-serif, system-ui, "Liberation Serif", Tinos, $base-font-family: ui-serif, system-ui, "Liberation Serif", Tinos,
"Times New Roman", serif; "Times New Roman", serif, emoji;
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine, $monospace-font-family: ui-monospace, "Liberation Mono", Cousine,
"Courier New", monospace; "Courier New", monospace;
@ -31,6 +31,8 @@ $monospace-font-family: ui-monospace, "Liberation Mono", Cousine,
//padding: auto !important; //padding: auto !important;
overflow-wrap: break-word !important; overflow-wrap: break-word !important;
hyphens: auto !important; hyphens: auto !important;
// Experimental trick to make all emojis text if supported.
font-variant-emoji: text;
} }
a { a {