]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
doc/css: add scroll-margin-top to dt elements 49637/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 13:58:27 +0000 (23:58 +1000)
commit5de590b9be49b18a0e37d1031345d94b9ba42f72
tree04749a57750423dc73c08d527613b6f502a4991c
parentd7cb2dd2e4a8dffe6a03810d4932fb6de93c24ae
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>
doc/_static/css/custom.css