From c4604ca4688fb43c33e82b306dd1ae35732b1729 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 26 Feb 2021 17:58:26 +0100 Subject: [PATCH] docs: adapt TOC styling to something a bit more light weight marketing noted that it looked quite heavy weight, to the point where it was hard to read to the full black squares, bold monospace text and bottom borders with rather distinctive darkness. Address those by: * change color for list points from black to mid-dark grey * use empty circles for second heading level * ensure monospaced text has a normal font weight in the TOC headings * some lighter color for the bottom border Signed-off-by: Thomas Lamprecht --- docs/custom.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/custom.css b/docs/custom.css index 7e94e0c7..07ee64d6 100644 --- a/docs/custom.css +++ b/docs/custom.css @@ -25,6 +25,23 @@ ul li.toctree-l1 > a { color: #000; } +div.sphinxsidebar ul { + color: #444; +} +div.sphinxsidebar ul ul { + list-style: circle; +} +div.sphinxsidebar ul ul ul { + list-style: square; +} + +div.sphinxsidebar ul a code { + font-weight: normal; +} +div.sphinxsidebar ul ul a { + border-bottom: 1px dotted #CCC; +} + div.sphinxsidebar form.search { margin-bottom: 5px; }