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-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F49643%2Fhead;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 f222ab8acc60..a4778ffa971d 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; }