Skip to content

Commit

Permalink
Workaround fix for Inter font on iOS <17
Browse files Browse the repository at this point in the history
  • Loading branch information
yell0wsuit authored Jun 9, 2024
1 parent 3ed2c43 commit d71d97a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@
font-style: normal;
}

html {
font-variation-settings: "opsz" var(--yllst-optical-size);
}

* {
font-family: var(--ifm-font-family-base);
font-variation-settings: "opsz" var(--yllst-optical-size);
}

.logo-home {
fill: var(--ifm-font-color-base-inverse);
}
Expand Down

0 comments on commit d71d97a

Please sign in to comment.