Fix `pre` getting a dark background

fixes: #723
This commit is contained in:
Aditya Telange 2022-03-12 19:33:29 +05:30
parent 2a1390bef7
commit 80928d9f23
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 3 additions and 4 deletions

View File

@ -153,8 +153,7 @@
border-radius: var(--radius); border-radius: var(--radius);
} }
.post-content .highlight:not(table), .post-content .highlight:not(table) {
.post-content pre {
margin: 10px auto; margin: 10px auto;
background: var(--hljs-bg) !important; background: var(--hljs-bg) !important;
border-radius: var(--radius); border-radius: var(--radius);
@ -207,8 +206,8 @@
margin: auto 0; margin: auto 0;
padding: 10px; padding: 10px;
color: rgb(213, 213, 214); color: rgb(213, 213, 214);
background: 0 0; background: var(--hljs-bg) !important;
border-radius: 0; border-radius: var(--radius);
overflow-x: auto; overflow-x: auto;
word-break: break-all; word-break: break-all;
} }