Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Vimux/Binario.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVimux <Vimux@users.noreply.github.com>2021-07-04 19:16:32 +0300
committerGitHub <noreply@github.com>2021-07-04 19:16:32 +0300
commit04d51be8c498a2b434b3faa49495c460e2ae4bf8 (patch)
tree19c4e9e59edf43490ce3a3fd8e98605820de956e
parent2479b02425424480320e3e1c45472b7f1a97ae48 (diff)
Simplify CSS for TOC block (#55)
Not perfect, but fixes Goldmark and respect blackfriday simultaneously (looks slightly different now). Fixes #22 Closes #41
-rw-r--r--assets/css/main.css21
1 files changed, 6 insertions, 15 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index 7367a55..70dae32 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -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 ul ul ul ul ul a {
- padding-left: 65px;
+.toc nav ul li {
+ list-style: none;
}
-.toc ul ul ul ul ul ul a {
- padding-left: 85px;
+.toc nav > ul {
+ padding: 0;
+ margin: 0;
}
.entry__footer {