From bfc7e1a373bd5eebc753385e6b06b9b90f50a939 Mon Sep 17 00:00:00 2001 From: Saif Alaqqad Date: Sat, 9 Mar 2024 22:48:56 +0300 Subject: [PATCH] Fix docs style --- docs/styles.css | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/docs/styles.css b/docs/styles.css index 259b2e7..498866b 100644 --- a/docs/styles.css +++ b/docs/styles.css @@ -26,6 +26,15 @@ aside.toc-nav { .page_toc div[class^="lv"] a { font-weight: normal; + color: unset; +} + +.page_toc div.lv4{ + display: flex; +} + +.page_toc div.lv4 a:not(:first-child) { + text-indent: 10px; } .page_toc div.active { @@ -37,23 +46,6 @@ aside.toc-nav { border-left: 2px solid #e8e8e845 } -.page_toc div a:not(:first-child) { - display: none; -} - -.page_toc div a:first-child span *:not(:first-child) { - display: none; -} - -.page_toc div a:first-child span{ - display: flex; -} - -.page_toc div a:first-child span *:first-child { - display: block; - min-width: 100%; -} - @media only screen and (max-width: 1299px) { aside.toc-nav { background: var(--sidebar-background);