From 64a98a96b75b3e7f234c69e20f76dbb46ec913d9 Mon Sep 17 00:00:00 2001 From: dim131 Date: Sun, 5 May 2024 14:41:36 +0100 Subject: [PATCH 1/2] Change the font family for code to match KaTeX's TT --- css/main.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/css/main.scss b/css/main.scss index fe38528e..24096212 100644 --- a/css/main.scss +++ b/css/main.scss @@ -7,6 +7,10 @@ body { font-family: "Segoe UI", Helvetica; } +code { + font-family: 'KaTeX_Typewriter'; +} + .main-content { max-width: 800px; margin: auto; From c1d7ec2788d106219e6164832e8dc89926c54175 Mon Sep 17 00:00:00 2001 From: dim131 Date: Sun, 5 May 2024 14:46:22 +0100 Subject: [PATCH 2/2] Change colour for comments in code highlighting --- css/base16_solarised.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/base16_solarised.css b/css/base16_solarised.css index 34b83ff4..ce4c26bb 100644 --- a/css/base16_solarised.css +++ b/css/base16_solarised.css @@ -8,7 +8,7 @@ background-color: #dc322f; } .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs { - color: #657b83; + color: #6e9441; } .highlight .cp { color: #b58900;