fill background of table of contents

This commit is contained in:
Aditya Telange 2021-01-23 23:13:47 +05:30
parent b284ba5799
commit 2f06f5e4fa
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 6 additions and 1 deletions

View File

@ -245,12 +245,17 @@
} }
.toc { .toc {
margin-bottom: 40px; margin: 0 2px 40px 2px;
border: 1px solid var(--border); border: 1px solid var(--border);
background: var(--code-bg);
border-radius: var(--radius); border-radius: var(--radius);
padding: .4em padding: .4em
} }
.dark .toc {
background: var(--entry);
}
.toc details summary { .toc details summary {
cursor: zoom-in; cursor: zoom-in;
margin-inline-start: 20px margin-inline-start: 20px