diff options
author | Jan Raasch <jan@janraasch.com> | 2021-08-13 08:40:13 +0200 |
---|---|---|
committer | Jan Raasch <jan@janraasch.com> | 2021-08-13 08:40:13 +0200 |
commit | 78c5241a8ef4f90d9944eed0c7429504d4ca6c15 (patch) | |
tree | e820a302eaa050bb59bdef161c982e16eab74023 /layouts | |
parent | a09bc35d1a4af7456c8362d4088a9e57940eb4e5 (diff) | |
download | hugo-bearcub-78c5241a8ef4f90d9944eed0c7429504d4ca6c15.tar.gz hugo-bearcub-78c5241a8ef4f90d9944eed0c7429504d4ca6c15.tar.bz2 |
Revert "Do not touch div.highlight styles"
This reverts commit d3a86c7c6d23cfe6f82d7d8405e3ab522e693a22.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/style.html | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 97499d0..173aec9 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -64,20 +64,22 @@ code { padding: 2px 5px; - } - - :not(div.highlight)>pre code, - :not(pre)>code { background-color: #f2f2f2; } pre code { + color: #222; display: block; padding: 20px; white-space: pre-wrap; font-size: 14px; } + div.highlight code { + background-color: unset; + color: initial; + } + blockquote { border-left: 1px solid #999; color: #222; @@ -139,11 +141,14 @@ color: #8cc2dd; } - :not(div.highlight)>pre code, - :not(pre)>code { + code { background-color: #777; } + pre code { + color: #ddd; + } + blockquote { color: #ccc; } |