css: set pre font

lol
This commit is contained in:
Anirudh Oppiliappan 2022-12-22 14:27:54 +05:30
parent d6b8143f56
commit a64f9d8f14
No known key found for this signature in database
GPG Key ID: 8A93F96F78C5D4C4
1 changed files with 5 additions and 1 deletions

View File

@ -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;