From 614a6222a1638c159d2ac9c005be5b2ddec78dd2 Mon Sep 17 00:00:00 2001
From: Adam Brangenberg <adambrangenberg@proton.me>
Date: Thu, 29 Dec 2022 15:43:41 +0000
Subject: [PATCH] refactor: General performance/style improvements (#262)
---
assets/styles/syntax.scss | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/assets/styles/syntax.scss b/assets/styles/syntax.scss
index fbea72a..6267f5c 100644
--- a/assets/styles/syntax.scss
+++ b/assets/styles/syntax.scss
@@ -45,7 +45,7 @@
}
.chroma code {
- font-family: 'Fira Code' !important;
+ font-family: var(--font-mono) !important;
font-size: 0.85em !important;
line-height: 2em !important;
background: none !important;
@@ -56,3 +56,11 @@
border-radius: 3px !important;
margin: 0 !important;
}
+
+pre.chroma {
+ -moz-tab-size:4;-o-tab-size:4;tab-size:4;
+}
+
+.katex {
+ font-size: 1.1em !important;
+}
--
Gitblit v1.10.0