mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-05-13 18:07:32 +02:00
main.scss: restore serif fonts, don't change pre size
This commit is contained in:
parent
a95c3783cb
commit
8f4ad12744
@ -5,8 +5,7 @@
|
|||||||
@charset "utf-8";
|
@charset "utf-8";
|
||||||
|
|
||||||
// Our variables
|
// 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;
|
//$base-font-family: ui-sans-serif, "Liberation Sans", "Arimo", "Arial", sans-serif;
|
||||||
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
|
$monospace-font-family: ui-monospace, "Liberation Mono", Cousine, "Courier New",
|
||||||
monospace;
|
monospace;
|
||||||
@ -32,10 +31,15 @@ a {
|
|||||||
text-decoration: underline !important;
|
text-decoration: underline !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fitting to text and monospace preferred
|
// Monospace preferred for code
|
||||||
code,
|
code,
|
||||||
pre {
|
pre {
|
||||||
font-family: $monospace-font-family !important;
|
font-family: $monospace-font-family !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// So it will not look bigger than normal text
|
||||||
|
{
|
||||||
|
code,
|
||||||
font-size: 0.8em !important;
|
font-size: 0.8em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user