Add table of contents to help pages

This commit is contained in:
rubenwardy
2021-02-02 20:05:24 +00:00
parent 5017a9ba7e
commit 14810b2cc5
13 changed files with 143 additions and 52 deletions

View File

@@ -148,3 +148,24 @@ blockquote {
border-bottom: none;
}
}
.toc {
.nav-link {
color: #ADADAD;
padding: 0.25rem 0.5rem;
&:hover, &.active {
color: #DDD;
}
}
.nav .nav {
margin: 0.1em 0 0.1em 0.7rem;
padding-left: 0.25em;
border-left: 3px solid rgba(173, 173, 173, 0.25);
}
& > .nav > * > .nav {
margin-bottom: 0.5em;
}
}