aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Dark/dark.css
diff options
context:
space:
mode:
authorGravatar James Frost <git@frost.cx> 2025-08-08 09:50:27 +0100
committerGravatar GitHub <noreply@github.com> 2025-08-08 10:50:27 +0200
commitd1f2e0f6be3de13a36754bb735182e8aad1ebc5f (patch)
tree9bd870f519d913c1fe4cdcc6230fbe5f4c329de8 /p/themes/Dark/dark.css
parent1f8273803f632b40c260721cb3257ae4e2251f5a (diff)
Avoid styling `<code>` inside of `<pre>` (#7797)
* Remove background from <code> inside <pre> This caused an ugly effect where each line has a seperate background to the whole pre block. Fixes #7796 * Add James Frost to CREDITS.md
Diffstat (limited to 'p/themes/Dark/dark.css')
-rw-r--r--p/themes/Dark/dark.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/p/themes/Dark/dark.css b/p/themes/Dark/dark.css
index b2ddf8f2b..4d5d69f2b 100644
--- a/p/themes/Dark/dark.css
+++ b/p/themes/Dark/dark.css
@@ -505,7 +505,9 @@ button.as-link[disabled] {
}
.content pre code {
+ background: transparent;
color: var(--dark-font-colorA);
+ border: none;
}
.content blockquote {