From f5f91e39fa2ef27cb2e86f7fdafeff4c23c3098a Mon Sep 17 00:00:00 2001 From: Helder Pereira Date: Tue, 16 Mar 2021 17:28:19 +0000 Subject: [PATCH] Fix TOC indentation (#479) --- static/css/hugo-theme.css | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/static/css/hugo-theme.css b/static/css/hugo-theme.css index 741cab196a..ae1fe79c27 100644 --- a/static/css/hugo-theme.css +++ b/static/css/hugo-theme.css @@ -6,33 +6,20 @@ .progress ul { list-style: none; margin: 0; - padding: 0 5px; + padding: 0 15px; } #TableOfContents { font-size: 13px !important; max-height: 85vh; overflow: auto; - padding: 15px !important; + padding: 15px 5px !important; } - -#TableOfContents > ul > li > ul > li > ul li { - margin-right: 8px; -} - -#TableOfContents > ul > li > a { - font-weight: bold; padding: 0 18px; margin: 0 2px; -} - -#TableOfContents > ul > li > ul > li > a { +#TableOfContents > ul > li > a { font-weight: bold; } -#TableOfContents > ul > li > ul > li > ul > li > ul > li > ul > li { - display: none; -} - body { font-size: 16px !important; color: #323232 !important;