This commit is contained in:
parent
77cbeac823
commit
01fcc8362f
1 changed files with 5 additions and 4 deletions
|
@ -5,8 +5,8 @@
|
||||||
|
|
||||||
/* Defaults */
|
/* Defaults */
|
||||||
html {
|
html {
|
||||||
--font-family-monospace: comic-mono Consolas monospace;
|
--font-family-monospace: comic-mono, consolas, monospace;
|
||||||
--font-family: comic-mono Consolas sans-serif;
|
--font-family: comic-mono, consolas, sans-serif;
|
||||||
--syntax-tab-size: 2;
|
--syntax-tab-size: 2;
|
||||||
|
|
||||||
--background-color: var(--xkcd-eggshell);
|
--background-color: var(--xkcd-eggshell);
|
||||||
|
@ -48,7 +48,7 @@ body {
|
||||||
max-width: 100ch;
|
max-width: 100ch;
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
margin: 0 auto 2rem;
|
margin: 0 auto 2rem;
|
||||||
font-family: comic-mono;
|
font-family: var(--font-family);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,8 @@ table th {
|
||||||
|
|
||||||
pre,
|
pre,
|
||||||
code {
|
code {
|
||||||
font-family: var(--font-family-monospace);
|
/* !important so that this isn't overwritten by code highlighter */
|
||||||
|
font-family: var(--font-family-monospace) !important;
|
||||||
}
|
}
|
||||||
pre:not([class*="language-"]) {
|
pre:not([class*="language-"]) {
|
||||||
margin: .5em 0;
|
margin: .5em 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue