Skip to content

Commit

Permalink
fill background of table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatelange committed Jan 27, 2021
1 parent b284ba5 commit 2f06f5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion assets/css/post-single.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f06f5e

Please sign in to comment.