fix dark mode and code blocks

This commit is contained in:
Wouter Groeneveld 2024-01-05 09:26:10 +01:00
parent 9a184184ea
commit 86ab2436b2
1 changed files with 6 additions and 4 deletions

View File

@ -56,6 +56,12 @@ $dark-fg: #dddddd
code, pre
background-color: lighten($dark-bg-alt, 10%)
color: white
.highlight
pre
filter: invert(100%)
color: black
div.list h3
color: darken($dark-fg, 20%)
@ -66,10 +72,6 @@ $dark-fg: #dddddd
figcaption
color: darken($dark-fg, 20%)
.highlight
pre
filter: invert(100%)
hr
border-top: 1px solid darken($dark-fg, 20%)