Do not touch div.highlight styles

Closes #25
This commit is contained in:
Jan Raasch 2021-08-09 18:56:14 +02:00
parent 623c415b65
commit d3a86c7c6d

View File

@ -64,22 +64,20 @@
code { code {
padding: 2px 5px; padding: 2px 5px;
}
:not(div.highlight)>pre code,
:not(pre)>code {
background-color: #f2f2f2; background-color: #f2f2f2;
} }
pre code { pre code {
color: #222;
display: block; display: block;
padding: 20px; padding: 20px;
white-space: pre-wrap; white-space: pre-wrap;
font-size: 14px; font-size: 14px;
} }
div.highlight code {
background-color: unset;
color: initial;
}
blockquote { blockquote {
border-left: 1px solid #999; border-left: 1px solid #999;
color: #222; color: #222;
@ -141,14 +139,11 @@
color: #8cc2dd; color: #8cc2dd;
} }
code { :not(div.highlight)>pre code,
:not(pre)>code {
background-color: #777; background-color: #777;
} }
pre code {
color: #ddd;
}
blockquote { blockquote {
color: #ccc; color: #ccc;
} }