feat(toc): add folding TOC elements for more compact TOC table

This commit is contained in:
David Bailey 2025-02-13 10:45:32 +01:00
parent da25a786d1
commit 9870967093
3 changed files with 77 additions and 14 deletions

View file

@ -165,8 +165,11 @@ a:hover {
margin-right: 2rem;
}
:target {
scroll-margin-top: 6rem;
:target, html, body {
scroll-margin-top: 140px;
}
:target {
outline: 1px solid var(--highlight_1);
}
#main_content_flexbox {