feat(toc): ✨ add folding TOC elements for more compact TOC table
This commit is contained in:
parent
da25a786d1
commit
9870967093
3 changed files with 77 additions and 14 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue