diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2022-03-12 19:33:29 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2022-03-12 19:33:29 +0530 |
| commit | 80928d9f2327809b7ecccf36930e4b726a7d10b2 (patch) | |
| tree | 8f902cf5a0de6523d73d44ab301faba4eb83a093 | |
| parent | 2a1390bef78e6d6456cf1cce3c98aa3927410e77 (diff) | |
Fix `pre` getting a dark background
fixes: #723
| -rw-r--r-- | assets/css/common/post-single.css | 7 |
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; } |
