From: Zac Dover Date: Tue, 10 Jan 2023 15:55:55 +0000 (+1000) Subject: doc/css: add "span" padding to custom.css X-Git-Tag: v17.2.6~232^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b7e584dd210add0cdb33640514301f52c2687042;p=ceph.git doc/css: add "span" padding to custom.css Add "scroll-top-bar: 2em;" for the "span" html element in custom.css so that the top bar doesn't get in the way of headings bounded by the "span element". See also https://github.com/ceph/ceph/pull/49644. Signed-off-by: Zac Dover (cherry picked from commit dd9555b0ae0507c996588e82a62b0a674530a16a) --- diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index 0a2d2078ce7..3a8dd5539ac 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -10,6 +10,10 @@ section { scroll-margin-top: 4em; } +span { + scroll-margin-top: 2em; +} + ul.simple > li > ul > li:last-child { margin-block-end : 1em; }