Revert "Do not touch div.highlight styles"

This reverts commit d3a86c7c6d.
This commit is contained in:
Jan Raasch 2021-08-13 08:40:13 +02:00
parent a09bc35d1a
commit 78c5241a8e

View File

@ -64,20 +64,22 @@
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;
@ -139,11 +141,14 @@
color: #8cc2dd; color: #8cc2dd;
} }
:not(div.highlight)>pre code, code {
:not(pre)>code {
background-color: #777; background-color: #777;
} }
pre code {
color: #ddd;
}
blockquote { blockquote {
color: #ccc; color: #ccc;
} }