From af048ca911fcd84e6a73d32999c772f64e95d67f Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Sat, 7 Jan 2023 02:24:39 +1000 Subject: [PATCH] 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 --- doc/_static/css/custom.css | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.39.5