chore: basic dark theme fixes

This commit is contained in:
Tine 2024-02-08 14:10:50 +01:00
parent ae16bddea8
commit 9e6b703498
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
3 changed files with 8 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1563,8 +1563,14 @@ is the very first element in the post content */
.gh-content pre,
.gh-content code {
font-family: var(--font-mono) !important;
color: var(--color-darkgrey) !important;
text-shadow: none !important;
}
.gh-content pre,
.gh-content p > code {
background: var(--color-lightgrey) !important;
}
.gh-content pre > code > * {
background: none !important;
}
@ -2354,11 +2360,6 @@ html.dark-mode .gh-content em {
color: #fff;
}
html.dark-mode .gh-content code {
color: #fff;
background: #000;
}
html.dark-mode hr {
border-top-color: color-mod(var(--color-darkmode) l(+8%));
}
@ -2528,12 +2529,6 @@ html.dark-mode .footer-cta-title {
background: color-mod(var(--color-darkgrey) l(-8%));
}
html.auto-color .gh-content :not(pre) > code {
background: color-mod(var(--color-darkgrey) l(+6%));
border-color: color-mod(var(--color-darkmode) l(+8%));
color: var(--color-wash);
}
:where(html.auto-color) .gh-content a {
color: #fff;
}