From 5ef4167caff63164815ad9d6577c9c2a0d9ccacf Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 1 Apr 2021 00:01:51 +0200 Subject: Fixed table of content formatting --- assets/base.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'assets') 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 { -- cgit v1.2.3