doc/_static: add scroll-margin-top to custom.css

Add 4em of padding to the class "section", so that linked-to
destinations are not obscured by the top bar.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
This commit is contained in:
Zac Dover 2023-01-06 04:19:12 +10:00
parent ab4dd1a7e7
commit 5738271498

View File

@ -2,6 +2,10 @@ dt {
scroll-margin-top: 3em;
}
section {
scroll-margin-top: 4em;
}
ul.simple > li > ul > li:last-child {
margin-block-end : 1em;
}