Skip to content

Commit

Permalink
Placing language specific font calls in lang attributes only
Browse files Browse the repository at this point in the history
  • Loading branch information
jathayde committed Apr 24, 2024
1 parent c022085 commit 9182dad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guides/assets/stylesrc/_main.scss
Expand Up @@ -30,14 +30,14 @@ body.guide {
// ----------------------------------------------------------------------------

:root {
font-family: Inter, "Noto Sans Arabic", "Heebo", sans-serif;
font-family: Inter, sans-serif;
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
}

font-family: Inter, "Noto Sans Arabic", "Heebo", sans-serif;
font-family: Inter, sans-serif;
font-size: 1rem; /* 16px */
font-style: normal;
font-weight: 400;
Expand Down Expand Up @@ -827,7 +827,7 @@ html[dir="rtl"]:lang("fa") {
}

html[dir="rtl"]:lang("he"),
html[dir="rtl"]:lang("iw") {
html[dir="rtl"]:lang( "iw") {
body.guide {
h1, h2, h3, h4, h5, h6, p, dl, dd, dt, ul, ol, li {
font-family: "Heebo", sans-serif;
Expand Down

0 comments on commit 9182dad

Please sign in to comment.