diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 788bb5c5..f5fa4f42 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -245,12 +245,17 @@ } .toc { - margin-bottom: 40px; + margin: 0 2px 40px 2px; border: 1px solid var(--border); + background: var(--code-bg); border-radius: var(--radius); padding: .4em } +.dark .toc { + background: var(--entry); +} + .toc details summary { cursor: zoom-in; margin-inline-start: 20px