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: v17.2.6~239^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e431bb147ba2263c5971bb45ac0c9b27ab7f7e23;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 (cherry picked from commit 5738271498c1d4581e44b077580f1131950d1ba3) --- 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; }