Simplify CSS for TOC block (#55)

Not perfect, but fixes Goldmark and respect blackfriday simultaneously
(looks slightly different now).

Fixes #22

Closes #41
This commit is contained in:
Vimux 2021-07-04 19:16:32 +03:00 committed by GitHub
parent 2479b02425
commit 04d51be8c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -485,26 +485,17 @@ button:not(:-moz-focusring):focus > .main-nav__btn-box {
padding: .5rem 0 .5rem .5rem;
}
.toc ul {
padding: 0;
margin: 0;
list-style: none;
}
.toc ul ul ul a {
.toc nav ul {
padding-left: 25px;
}
.toc ul ul ul ul a {
padding-left: 45px;
.toc nav ul li {
list-style: none;
}
.toc ul ul ul ul ul a {
padding-left: 65px;
}
.toc ul ul ul ul ul ul a {
padding-left: 85px;
.toc nav > ul {
padding: 0;
margin: 0;
}
.entry__footer {