aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-04-01 00:01:51 +0200
committerJulien Dessaux2021-04-01 00:01:51 +0200
commit5ef4167caff63164815ad9d6577c9c2a0d9ccacf (patch)
treed119a71a8125a83baf27a859edc19e3aa8c89660
parentTypos (diff)
downloadwww-5ef4167caff63164815ad9d6577c9c2a0d9ccacf.tar.gz
www-5ef4167caff63164815ad9d6577c9c2a0d9ccacf.tar.bz2
www-5ef4167caff63164815ad9d6577c9c2a0d9ccacf.zip
Fixed table of content formatting
-rw-r--r--assets/base.css12
1 files changed, 9 insertions, 3 deletions
diff --git a/assets/base.css b/assets/base.css
index 2eb5a46..df3e93b 100644
--- a/assets/base.css
+++ b/assets/base.css
@@ -13,9 +13,15 @@ main p {
nav#TableOfContents ul {
padding: 0;
list-style-type: none;
- a + ul {
- padding-left:1em;
- }
+}
+nav#TableOfContents ul li ul {
+ padding-left:1em;
+}
+nav#TableOfContents ul li ul li ul {
+ padding-left:2em;
+}
+nav#TableOfContents ul li ul li ul li ul {
+ padding-left:3em;
}
@media only screen and (min-width: 60rem) {
body {