chore: basic dark theme fixes
This commit is contained in:
parent
ae16bddea8
commit
9e6b703498
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
|
@ -1563,8 +1563,14 @@ is the very first element in the post content */
|
||||||
.gh-content pre,
|
.gh-content pre,
|
||||||
.gh-content code {
|
.gh-content code {
|
||||||
font-family: var(--font-mono) !important;
|
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 > * {
|
.gh-content pre > code > * {
|
||||||
background: none !important;
|
background: none !important;
|
||||||
}
|
}
|
||||||
|
@ -2354,11 +2360,6 @@ html.dark-mode .gh-content em {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark-mode .gh-content code {
|
|
||||||
color: #fff;
|
|
||||||
background: #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
html.dark-mode hr {
|
html.dark-mode hr {
|
||||||
border-top-color: color-mod(var(--color-darkmode) l(+8%));
|
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%));
|
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 {
|
:where(html.auto-color) .gh-content a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue