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:
parent
2479b02425
commit
04d51be8c4
1 changed files with 6 additions and 15 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue