Documentation accessibility: underline links.

This commit is contained in:
John Livingston 2023-08-07 17:34:44 +02:00
parent 0eb5ae5d97
commit 2ecd7718df
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -31,3 +31,14 @@ div.notices p {
/* more contrast than the default theme. */
color: #000;
}
/*
By default, links are not underlined. This is not recommaned for accessibility.
So we will underline links, and let the a.highlight animation double underline on hovering.
Si hugo-theme.css, a.highlight, for more information on about it is done.
*/
#body a.highlight,
#body a.highlight:hover,
#body a.highlight:focus {
text-decoration: underline;
}