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: v16.2.11~7^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=556c9aeaf323f10f995d0a8d11d1fb5cffb6529d;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 0a2d2078ce759..3a8dd5539ac49 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; }