css: factor out fonts to css variables.
This commit is contained in:
@@ -57,12 +57,14 @@ div.prose {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
code, pre {
|
||||
font: var(--monospace-font);
|
||||
background: var(--dtext-code-background);
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: monospace;
|
||||
font-size: 1.2em;
|
||||
margin: 0.5em 0;
|
||||
padding: 0.5em 1em;
|
||||
background: var(--dtext-code-background);
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
@@ -73,11 +75,6 @@ div.prose {
|
||||
background: var(--dtext-blockquote-background);
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monospace;
|
||||
background: var(--dtext-code-background);
|
||||
}
|
||||
|
||||
.tn {
|
||||
font-size: 0.8em;
|
||||
color: var(--muted-text-color);
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
@import "../base/000_vars.scss";
|
||||
|
||||
.ui-widget {
|
||||
font-family: $base_font_family;
|
||||
font-family: var(--body-font);
|
||||
|
||||
input, select, textarea, button {
|
||||
font-family: $base_font_family;
|
||||
font-family: var(--body-font);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user