mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-21 21:58:28 +00:00
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;
|
padding: .5rem 0 .5rem .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc ul {
|
.toc nav ul {
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc ul ul ul a {
|
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc ul ul ul ul a {
|
.toc nav ul li {
|
||||||
padding-left: 45px;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc ul ul ul ul ul a {
|
.toc nav > ul {
|
||||||
padding-left: 65px;
|
padding: 0;
|
||||||
}
|
margin: 0;
|
||||||
|
|
||||||
.toc ul ul ul ul ul ul a {
|
|
||||||
padding-left: 85px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry__footer {
|
.entry__footer {
|
||||||
|
|
Loading…
Reference in a new issue