docs: Restrict underlining links to the body

Adding the underline in the list of sections makes them bleed
together, making it hard to discern where one ends and the other
begins.

In the body of the text we don't have that issue - multiple links are
rarely next to each other.

Fixes #8439
This commit is contained in:
Fabian Homborg 2021-11-12 18:47:56 +01:00
parent 57eccb7e1e
commit 6b7fe49858

View file

@ -374,7 +374,8 @@ kbd {
padding: 0.1em 0.3em;
}
.internal.reference:link {
div.body .internal.reference:link {
/* Underline links in the body of the text */
text-decoration: underline;
}
.std-envvar::before {