mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: default color for code block fallback - fix
This commit is contained in:
parent
87dda78cdc
commit
ce0b07cf65
2 changed files with 5 additions and 3 deletions
|
@ -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]
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue