Documentation accessibility: underline links.
This commit is contained in:
parent
0eb5ae5d97
commit
2ecd7718df
@ -31,3 +31,14 @@ div.notices p {
|
|||||||
/* more contrast than the default theme. */
|
/* more contrast than the default theme. */
|
||||||
color: #000;
|
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;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user