Skip to content

Commit 65ed280

Browse files
committed
Filter links for underline normalization
Resolves #167
1 parent b0cb151 commit 65ed280

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

css/src/modules/user-settings-submodules/ReadiumCSS-a11yFont_pref.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,21 @@
3434
font-style: inherit !important;
3535
}
3636

37-
/* Normalizing text-decoration, subs and sups */
37+
/* Normalizing text-decoration */
38+
:root:--a11y-font body *:not(a),
39+
:root:--a11y-normalize body *:not(a) {
40+
text-decoration: none !important;
41+
}
42+
43+
/* Normalizing font-variant */
3844
:root:--a11y-font body *,
3945
:root:--a11y-normalize body * {
40-
text-decoration: none !important;
4146
font-variant-caps: normal !important;
4247
font-variant-position: normal !important;
4348
font-variant-numeric: normal !important;
4449
}
4550

51+
/* Normalizing sup and sub */
4652
:root:--a11y-font sup,
4753
:root:--a11y-normalize sup,
4854
:root:--a11y-font sub,

0 commit comments

Comments
 (0)