mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
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 <zac.dover@gmail.com>
This commit is contained in:
parent
c439a11c70
commit
af048ca911
4
doc/_static/css/custom.css
vendored
4
doc/_static/css/custom.css
vendored
@ -2,6 +2,10 @@ dt {
|
||||
scroll-margin-top: 3em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
scroll-margin-top: 4em;
|
||||
}
|
||||
|
||||
section {
|
||||
scroll-margin-top: 4em;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user