From 44d527e5bb6af1cf1bfa98088b5efd2e93942a7d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 20 Nov 2023 00:29:21 +0530 Subject: fixed monospace font not loading in code --- static/css/styles.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'static/css/styles.css') 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 { -- cgit v1.2.3