]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
doc/css: add scroll-margin-top to dt elements 49639/head
authorZac Dover <zac.dover@gmail.com>
Thu, 5 Jan 2023 12:25:43 +0000 (22:25 +1000)
committerZac Dover <zac.dover@gmail.com>
Thu, 5 Jan 2023 14:04:10 +0000 (00:04 +1000)
commitf83778f02162f5db3b402506217726c68ec11a9b
tree2e8e2f3d6ea5c4298c7129e17ebb10334ec71a9d
parent0d49fef92152818226984347f97c767c08cd5992
doc/css: add scroll-margin-top to dt elements

add "scroll-margin-top: em3;" to custom.css so that the header bar
doesn't obscure the text of headwords in glossary.rst. Note that this
applies only to elements in the documentation that are rendered into
HTML with the dt (which stands for "description term" or "description
list") tag. Other modifications will be necessary in order to ensure
that the anchor points of non-dt elements are not obscured by the header
bar.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 1865de86622592555571c1539f3c013c7936d53e)
doc/_static/css/custom.css