From: Zac Dover Date: Tue, 10 Jan 2023 18:48:32 +0000 (+1000) Subject: doc/css: add top-bar padding for h3 html element X-Git-Tag: v17.2.6~231^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3d3e3496e8ddb4c6d6043535bdfa4d070e778bae;p=ceph.git doc/css: add top-bar padding for h3 html element Add "scroll-margin-top: 4em;" property to h3 html element. Signed-off-by: Zac Dover (cherry picked from commit c28cb533909a9ac0010e160e86d2a8dc23ea9675) --- diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index 3a8dd5539ac4..2a37cab99959 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -6,6 +6,10 @@ h2 { scroll-margin-top: 4em; } +h3 { + scroll-margin-top: 4em; +} + section { scroll-margin-top: 4em; }