css: set pre font
lol
This commit is contained in:
parent
d6b8143f56
commit
a64f9d8f14
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
--sans-font: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
--sans-font: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
||||||
--display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
--display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
||||||
--mono-font: ui-monospace, "SF Mono", "Input", "Menlo" "Roboto Mono", monospace;
|
--mono-font: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', 'Roboto Mono', Menlo, Consolas, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
@ -18,6 +18,10 @@ html {
|
||||||
font-family: var(--sans-font);
|
font-family: var(--sans-font);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
font-family: var(--mono-font);
|
||||||
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
background: var(--medium-gray);
|
background: var(--medium-gray);
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
|
Loading…
Reference in a new issue