]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/css: Add scroll-margin-top to h2 html element 49658/head
authorZac Dover <zac.dover@gmail.com>
Fri, 6 Jan 2023 16:24:39 +0000 (02:24 +1000)
committerZac Dover <zac.dover@gmail.com>
Fri, 6 Jan 2023 16:24:39 +0000 (02:24 +1000)
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 <zac.dover@gmail.com>
doc/_static/css/custom.css

index a4778ffa971dddb84cef3700dc25e283cf732a0d..0a2d2078ce7590e3ea3e3113754dbc41ff27b070 100644 (file)
@@ -2,6 +2,10 @@ dt {
     scroll-margin-top: 3em; 
 }
 
+h2 {
+    scroll-margin-top: 4em; 
+}
+
 section {
     scroll-margin-top: 4em; 
 }