theme: default color for code block fallback - fix

This commit is contained in:
Sören Weber 2021-10-12 17:15:56 +02:00
parent 87dda78cdc
commit ce0b07cf65
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
2 changed files with 5 additions and 3 deletions

View file

@ -17,7 +17,7 @@ relativeURLs = true
disableLandingPageButton = true disableLandingPageButton = true
disableMermaid = false disableMermaid = false
titleSeparator = "::" titleSeparator = "::"
dthemeVariant = "relearn" themeVariant = "relearn"
disableSeoHiddenPages = true disableSeoHiddenPages = true
[outputs] [outputs]
@ -25,7 +25,7 @@ relativeURLs = true
[markup] [markup]
[markup.highlight] [markup.highlight]
sstyle = "base16-snazzy" # choose a color theme or create your own style = "base16-snazzy" # choose a color theme or create your own
guessSyntax = false # if set to true, avoid unstyled code if no language was given but mermaid code fences will not work anymore guessSyntax = false # if set to true, avoid unstyled code if no language was given but mermaid code fences will not work anymore
[markup.goldmark.renderer] [markup.goldmark.renderer]

View file

@ -621,9 +621,11 @@ code.copy-to-clipboard-inline {
border-right-width: 0; border-right-width: 0;
} }
pre { pre {
background-color: #272822;
border: 0; border: 0;
border-radius: 2px; border-radius: 2px;
-webkit-print-color-adjust: economy; color: #f8f8f2;
-webkit-print-color-adjust: economy;
color-adjust: economy; color-adjust: economy;
line-height: 1.15; line-height: 1.15;
padding: 1rem; padding: 1rem;