fixed loss of background for block quotes and code
This commit is contained in:
parent
f672e8a588
commit
1067da4682
1 changed files with 4 additions and 3 deletions
|
@ -52,7 +52,7 @@
|
||||||
--nav-link-color: #118411;
|
--nav-link-color: #118411;
|
||||||
--nav-link-bg-color: hsl(0,0%,75%);
|
--nav-link-bg-color: hsl(0,0%,75%);
|
||||||
--content-border-color: #026;
|
--content-border-color: #026;
|
||||||
--blockquote-bg: #fff;
|
--blockquote-bg: rgb(226,224,222);
|
||||||
--highlight-bg: #000;
|
--highlight-bg: #000;
|
||||||
--highlight-fg: #fff;
|
--highlight-fg: #fff;
|
||||||
}
|
}
|
||||||
|
@ -99,8 +99,9 @@ blockquote {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre:has( > code) {
|
pre:has( > code), pre.hljs {
|
||||||
background: var(--blockquote-bg);
|
/*I don't wanna dig into highlight.js internals to make !important redundant*/
|
||||||
|
background: var(--blockquote-bg) !important;
|
||||||
}
|
}
|
||||||
/*fancy user selection for funsies*/
|
/*fancy user selection for funsies*/
|
||||||
::selection {
|
::selection {
|
||||||
|
|
Loading…
Reference in a new issue