Skip to content

Commit cbd6dfd

Browse files
Brute-force text rendering for theme switcher
1 parent d062f89 commit cbd6dfd

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

assets/css/style.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,9 +1620,17 @@ label.margin-toggle:not(.sidenote-number) {
16201620
font-weight: 600;
16211621
font-size: 1.25rem;
16221622
text-decoration: none;
1623-
/* Force text rendering instead of emoji */
1624-
font-variant-emoji: text;
1625-
font-feature-settings: "liga" off;
1623+
/* Force text rendering instead of emoji - multiple approaches */
1624+
font-variant-emoji: text !important;
1625+
font-feature-settings: "liga" off !important;
1626+
-webkit-font-feature-settings: "liga" off !important;
1627+
-moz-font-feature-settings: "liga" off !important;
1628+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
1629+
text-rendering: geometricPrecision !important;
1630+
-webkit-text-rendering: geometricPrecision !important;
1631+
-moz-text-rendering: geometricPrecision !important;
1632+
-webkit-font-variant-ligatures: none !important;
1633+
font-variant-ligatures: none !important;
16261634
}
16271635

16281636
/* Override Bulma button styles with high specificity */

0 commit comments

Comments
 (0)