Improve font loading and fix scripts
This commit is contained in:
parent
aba96f95a2
commit
2990644f87
15 changed files with 85 additions and 19 deletions
81
src/styles/fonts.css
Normal file
81
src/styles/fonts.css
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
/* noto-sans-latin-ext-wght-normal */
|
||||
@font-face {
|
||||
font-family: "Noto Sans Variable";
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
|
||||
U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* noto-sans-latin-wght-normal */
|
||||
@font-face {
|
||||
font-family: "Noto Sans Variable";
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-sans-latin-wght-normal.woff2) format("woff2-variations");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
/* noto-sans-latin-ext-wght-italic */
|
||||
@font-face {
|
||||
font-family: "Noto Sans Variable";
|
||||
font-style: italic;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-sans-latin-ext-wght-italic.woff2) format("woff2-variations");
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
|
||||
U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* noto-sans-latin-wght-italic */
|
||||
@font-face {
|
||||
font-family: "Noto Sans Variable";
|
||||
font-style: italic;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-sans-latin-wght-italic.woff2) format("woff2-variations");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
/* noto-serif-latin-ext-wght-normal */
|
||||
@font-face {
|
||||
font-family: "Noto Serif Variable";
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-serif-latin-ext-wght-normal.woff2) format("woff2-variations");
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
|
||||
U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* noto-serif-latin-wght-normal */
|
||||
@font-face {
|
||||
font-family: "Noto Serif Variable";
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-serif-latin-wght-normal.woff2) format("woff2-variations");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
/* noto-serif-latin-ext-wght-italic */
|
||||
@font-face {
|
||||
font-family: "Noto Serif Variable";
|
||||
font-style: italic;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-serif-latin-ext-wght-italic.woff2) format("woff2-variations");
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
|
||||
U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* noto-serif-latin-wght-italic */
|
||||
@font-face {
|
||||
font-family: "Noto Serif Variable";
|
||||
font-style: italic;
|
||||
font-display: block;
|
||||
font-weight: 100 900;
|
||||
src: url(/fonts/noto-serif-latin-wght-italic.woff2) format("woff2-variations");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue