From 53b6be8c979229645b80eb011ed56d6faffb3969 Mon Sep 17 00:00:00 2001 From: Craig Box Date: Wed, 27 Nov 2024 10:55:21 +1300 Subject: [PATCH] fix bg color in code blocks --- assets/sass/misc/_code-blocks.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/sass/misc/_code-blocks.scss b/assets/sass/misc/_code-blocks.scss index 311b330419e1f..75b55bb688acc 100644 --- a/assets/sass/misc/_code-blocks.scss +++ b/assets/sass/misc/_code-blocks.scss @@ -1,11 +1,11 @@ code { color: $textCodeColor; - background-color: $textCodeBackgroundColor; - padding: .2em .4em; font-size: 85%; font-weight: $textCodeWeight; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; word-break: break-word; + background: $textCodeBackgroundColor; + padding: .2em .4em; } pre { @@ -33,6 +33,7 @@ pre { color: $textColor; font-size: 100%; line-height: 1.3rem; + background: $preBlockBackgroundColor; a { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;