[A11y] underline inline-links (#5102)

This commit is contained in:
Richard Schreiber
2025-05-15 12:32:23 +02:00
committed by GitHub
parent e7d024b146
commit 225b2452bd
3 changed files with 19 additions and 3 deletions

View File

@@ -108,7 +108,22 @@ pre {
font-size: $font-size-base;
}
/* make all links in textflow underlined */
h1, h2, h3, h4, h5, h6, p, li {
a:not(.btn) {
text-decoration: underline;
}
}
a.no-underline:link, nav li a:link {
text-decoration: none;
}
a.no-underline:hover, nav li a:hover {
text-decoration: underline;
}
.help-block a {
color: inherit;
}
/* See https://github.com/pretix/pretix/pull/761 */