summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-20 00:29:21 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-20 00:29:21 +0530
commit44d527e5bb6af1cf1bfa98088b5efd2e93942a7d (patch)
treed42230dd8b7306c83f1dc596761aa55c9d255cbd
parent53964138f51dafa1966dffda6af90ffbff404546 (diff)
fixed monospace font not loading in codeHEADmaster
-rw-r--r--static/css/styles.css10
1 files changed, 7 insertions, 3 deletions
diff --git a/static/css/styles.css b/static/css/styles.css
index 4ff894f..bc5f72c 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -16,8 +16,8 @@
--listitem-bg1: #232323;
--listitem-bg2: #272727;
-
- --codeblock-bg: #3f3f3f;
+
+ --codeblock-bg: #303132;
--codeblock-fg: #ffffff;
}
@@ -62,12 +62,16 @@ img {
max-height: 30rem;
}
+code, code * {
+ font-family: monospace;
+ font-size: 1rem;
+}
+
code {
background-color: var(--codeblock-bg);
color: var(--codeblock-fg);
padding: 5px 8px;
border-radius: 4px;
- font-family: monospace;
}
pre code {