docs: CSS: make cross-reference links more evident
authorJonathan Corbet <corbet@lwn.net>
Wed, 4 Jun 2025 14:18:40 +0000 (08:18 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 9 Jun 2025 20:43:39 +0000 (14:43 -0600)
commit2af88a039f224ebc838169d1ae5ac34fa12fd686
tree8706032df4d964e55507c79b6c299e6d69ceacec
parentd6d1df92c25fd51ab9062db28ef17b2baf72d241
docs: CSS: make cross-reference links more evident

The Sphinx Alabaster theme uses border-bottom to mark reference links; the
result does not render correctly (the underline is missing) in some browser
configurations.  Switch to using the standard text-underline property, and
use text-underline-offset to place that underline below any underscores in
the underlined text.

Suggested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sphinx-static/custom.css