Em Wed, 4 Jun 2025 08:36:45 -0600 Jonathan Corbet <corbet@xxxxxxx> escreveu: > 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@xxxxxxxxxxxxx> > Signed-off-by: Jonathan Corbet <corbet@xxxxxxx> While I didn't test, it looks good enough for me. Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> > --- > Documentation/sphinx-static/custom.css | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css > index f4285417c71a..c9991566f914 100644 > --- a/Documentation/sphinx-static/custom.css > +++ b/Documentation/sphinx-static/custom.css > @@ -136,3 +136,10 @@ div.language-selection:hover ul { > div.language-selection ul li:hover { > background: #dddddd; > } > + > +/* Make xrefs more universally visible */ > +a.reference, a.reference:hover { > + border-bottom: none; > + text-decoration: underline; > + text-underline-offset: 0.3em; > +}