Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+15
+15
Documentation/sphinx-static/custom.css
··· 136 136 div.language-selection ul li:hover { 137 137 background: #dddddd; 138 138 } 139 + 140 + /* Make xrefs more universally visible */ 141 + a.reference, a.reference:hover { 142 + border-bottom: none; 143 + text-decoration: underline; 144 + text-underline-offset: 0.3em; 145 + } 146 + 147 + /* Slightly different style for sidebar links */ 148 + div.sphinxsidebar a { border-bottom: none; } 149 + div.sphinxsidebar a:hover { 150 + border-bottom: none; 151 + text-decoration: underline; 152 + text-underline-offset: 0.3em; 153 + }