1111: root : --font-override [style *= "AccessibleDfA" ] {
1212 /* We won’t use the variable there since we need fallbacks for missing characters */
1313 font-family : AccessibleDfA, Verdana, Tahoma, "Trebuchet MS" , sans-serif !important ;
14- --RS__lineHeightCompensation : 1.167 ;
1514}
1615
1716: root : --font-override [style *= "IA Writer Duospace" ] {
1817 /* We won’t use the variable there since we need fallbacks for missing characters */
1918 font-family : "IA Writer Duospace" , Menlo, "DejaVu Sans Mono" , "Bitstream Vera Sans Mono" , Courier, monospace !important ;
20- --RS__lineHeightCompensation : 1.167 ;
21- }
22-
23- : root : --font-override : --a11y-normalize {
24- font-family : var (--USER__fontFamily ) !important ;
25- --RS__lineHeightCompensation : 1.167 ;
2619}
2720
2821/* Maybe users want a setting to normalize any font offered so there is a “a11y Normalize” flag for it */
2922
3023: root : --font-override : --a11y-font ,
31- : root : --font-override : -- a11y-normalize {
24+ : root : --a11y-normalize {
3225 font-weight : normal !important ;
3326 font-style : normal !important ;
3427}
3528
3629/* Targeting everything except code. Note that Open Dyslexic has a monospaced font for code */
3730: root : --font-override : --a11y-font * : not (code ): not (var ): not (kbd ): not (samp ),
38- : root : --font-override : -- a11y-normalize * : not (code ): not (var ): not (kbd ): not (samp ) {
31+ : root : --a11y-normalize * : not (code ): not (var ): not (kbd ): not (samp ) {
3932 font-family : inherit !important ;
4033 font-weight : inherit !important ;
4134 font-style : inherit !important ;
4235}
4336
4437/* Normalizing text-decoration, subs and sups */
4538: root : --font-override : --a11y-font * ,
46- : root : --font-override : -- a11y-normalize * {
39+ : root : --a11y-normalize * {
4740 text-decoration : none !important ;
4841 font-variant-caps : normal !important ;
4942 font-variant-position : normal !important ;
5043 font-variant-numeric : normal !important ;
5144}
5245
5346: root : --font-override : --a11y-font sup ,
54- : root : --font-override : -- a11y-normalize sup ,
47+ : root : --a11y-normalize sup ,
5548: root : --font-override : --a11y-font sub ,
56- : root : --font-override : -- a11y-normalize sub {
49+ : root : --a11y-normalize sub {
5750 font-size : 1rem !important ;
5851 vertical-align : baseline !important ;
5952}
0 commit comments