main.scss: restore serif fonts, don't change pre size

This commit is contained in:
Aminda Suomalainen 2024-05-31 10:38:27 +03:00 committed by GitHub
parent a95c3783cb
commit 8f4ad12744
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 3 deletions

View File

@ -5,8 +5,7 @@
@charset "utf-8";
// Our variables
$base-font-family: system-ui;
//$base-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman", serif;
$base-font-family: ui-serif, "Liberation Serif", Tinos, "Times New Roman", serif;
//$base-font-family: ui-sans-serif, "Liberation Sans", "Arimo", "Arial", sans-serif;
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
monospace;
@ -32,10 +31,15 @@ a {
text-decoration: underline !important;
}
// Fitting to text and monospace preferred
// Monospace preferred for code
code,
pre {
font-family: $monospace-font-family !important;
}
// So it will not look bigger than normal text
{
code,
font-size: 0.8em !important;
}