css: factor out fonts to css variables.

This commit is contained in:
evazion
2020-08-16 15:01:28 -05:00
parent 4a111705a2
commit 44cbce9855
5 changed files with 13 additions and 26 deletions

View File

@@ -1,9 +1,7 @@
@import "../base/000_vars.scss";
body {
color: var(--text-color);
background-color: var(--body-background-color);
font-family: $base_font_family;
font-family: var(--body-font);
font-size: 87.5%;
line-height: 1.25em;
}
@@ -12,11 +10,6 @@ abbr[title=required] {
display: none;
}
code {
font-family: monospace;
font-size: 1.2em;
}
dd {
margin-bottom: 1em;
}
@@ -26,7 +19,7 @@ dt {
}
h1, h2, h3, h4, h5, h6, .heading {
font-family: Tahoma, Verdana, Helvetica, sans-serif;
font-family: var(--header-font);
font-weight: bold;
line-height: 1.5em;
color: var(--header-color);