From 1ea5722b8f72f7b4d12a6d6e4f4672c94a6cbc9b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 24 Sep 2020 19:43:57 +0200 Subject: [PATCH] docs: html: adapt custom css highlighting the current chapter and some other small formatting improvements Signed-off-by: Thomas Lamprecht --- docs/custom.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/custom.css b/docs/custom.css index 852fddbc..d8827d11 100644 --- a/docs/custom.css +++ b/docs/custom.css @@ -13,3 +13,22 @@ div.body img { pre { padding: 5px 10px; } + +li a.current { + font-weight: bold; + border-bottom: 1px solid #000; +} +ul li.toctree-l1 { + margin-top: 0.5em; +} +ul li.toctree-l1 > a { + color: #000; +} + +div.sphinxsidebar form.search { + margin-bottom: 5px; +} + +div.sphinxsidebar h3 { + width: 100%; +}