From a64f9d8f14762e341a851d0e211814958e044a64 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Thu, 22 Dec 2022 14:27:54 +0530 Subject: [PATCH] css: set pre font lol --- static/style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 4eb2332..deca77d 100644 --- a/static/style.css +++ b/static/style.css @@ -9,7 +9,7 @@ --sans-font: "InterVar", -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 { @@ -18,6 +18,10 @@ html { font-family: var(--sans-font); } +pre { + font-family: var(--mono-font); +} + ::selection { background: var(--medium-gray); opacity: 0.3;