From: Zac Dover Date: Thu, 5 Jan 2023 18:19:12 +0000 (+1000) Subject: doc/_static: add scroll-margin-top to custom.css X-Git-Tag: v18.1.0~560^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5738271498c1d4581e44b077580f1131950d1ba3;p=ceph.git doc/_static: add scroll-margin-top to custom.css Add 4em of padding to the class "section", so that linked-to destinations are not obscured by the top bar. Signed-off-by: Zac Dover --- diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index f222ab8acc601..a4778ffa971dd 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -2,6 +2,10 @@ dt { scroll-margin-top: 3em; } +section { + scroll-margin-top: 4em; +} + ul.simple > li > ul > li:last-child { margin-block-end : 1em; }