summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/common/post-single.css7
1 files changed, 3 insertions, 4 deletions
diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css
index 79ccbec..b9b9709 100644
--- a/assets/css/common/post-single.css
+++ b/assets/css/common/post-single.css
@@ -153,8 +153,7 @@
border-radius: var(--radius);
}
-.post-content .highlight:not(table),
-.post-content pre {
+.post-content .highlight:not(table) {
margin: 10px auto;
background: var(--hljs-bg) !important;
border-radius: var(--radius);
@@ -207,8 +206,8 @@
margin: auto 0;
padding: 10px;
color: rgb(213, 213, 214);
- background: 0 0;
- border-radius: 0;
+ background: var(--hljs-bg) !important;
+ border-radius: var(--radius);
overflow-x: auto;
word-break: break-all;
}