From: Zac Dover Date: Fri, 6 Jan 2023 16:24:39 +0000 (+1000) Subject: doc/css: Add scroll-margin-top to h2 html element X-Git-Tag: v18.1.0~557^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=af048ca911fcd84e6a73d32999c772f64e95d67f;p=ceph.git doc/css: Add scroll-margin-top to h2 html element Add "scroll-margin-top: 4em;" to the h2 html element's definition in custom.css. This moves the text under all h2 html elements out of the way of the sticky-header-style top bar, which previously obscured the text. Signed-off-by: Zac Dover --- diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index a4778ffa971dd..0a2d2078ce759 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -2,6 +2,10 @@ dt { scroll-margin-top: 3em; } +h2 { + scroll-margin-top: 4em; +} + section { scroll-margin-top: 4em; }