diff --git a/_includes/head.html b/_includes/head.html index acaa4876c5..d94b9f0f10 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,14 +4,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/fontawesome-webfont.ttf b/fonts/fontawesome-webfont.ttf deleted file mode 100644 index 96a3639cdd..0000000000 Binary files a/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/fonts/fontawesome-webfont.woff b/fonts/fontawesome-webfont.woff deleted file mode 100644 index 628b6a52a8..0000000000 Binary files a/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/fonts/open-sans/fonts.css b/fonts/open-sans/fonts.css index e8ae68ebc5..b9f165eae3 100644 --- a/fonts/open-sans/fonts.css +++ b/fonts/open-sans/fonts.css @@ -1,19 +1,21 @@ @font-face { font-family: "Open Sans"; font-style: normal; - font-weight: 100 700; + font-weight: 300 800; font-display: swap; src: local("Open Sans"), - url("./woff2/OpenSans.woff2") format("woff2"), - url("./woff/OpenSans.woff") format("woff"), + url("./woff2/open-sans-latin-wght-normal.woff2") format("woff2-variations"), + url("./woff/OpenSans.woff") format("woff"); + 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; } @font-face { font-family: "Open Sans"; font-style: italic; - font-weight: 100 700; + font-weight: 300 800; font-display: swap; src: local("Open Sans"), - url("./woff2/OpenSans-Italic.woff2") format("woff2"), - url("./woff/OpenSans-Italic.woff") format("woff"), + url("./woff2/open-sans-latin-wght-italic.woff2") format("woff2-variations"), + url("./woff/OpenSans-Italic.woff") format("woff"); + 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; } diff --git a/fonts/open-sans/woff2/OpenSans-Italic.woff2 b/fonts/open-sans/woff2/OpenSans-Italic.woff2 deleted file mode 100644 index 823404a038..0000000000 Binary files a/fonts/open-sans/woff2/OpenSans-Italic.woff2 and /dev/null differ diff --git a/fonts/open-sans/woff2/OpenSans.woff2 b/fonts/open-sans/woff2/OpenSans.woff2 deleted file mode 100644 index 744506e243..0000000000 Binary files a/fonts/open-sans/woff2/OpenSans.woff2 and /dev/null differ diff --git a/fonts/open-sans/woff2/open-sans-latin-wght-italic.woff2 b/fonts/open-sans/woff2/open-sans-latin-wght-italic.woff2 new file mode 100644 index 0000000000..5d9194cd18 Binary files /dev/null and b/fonts/open-sans/woff2/open-sans-latin-wght-italic.woff2 differ diff --git a/fonts/open-sans/woff2/open-sans-latin-wght-normal.woff2 b/fonts/open-sans/woff2/open-sans-latin-wght-normal.woff2 new file mode 100644 index 0000000000..4e8b905cec Binary files /dev/null and b/fonts/open-sans/woff2/open-sans-latin-wght-normal.woff2 differ diff --git a/js/app.js b/js/app.js index 0d779d8062..557841a737 100644 --- a/js/app.js +++ b/js/app.js @@ -2,7 +2,6 @@ const languageElement = document.getElementById('languageData'); const languagesData = languageElement ? JSON.parse(languageElement.dataset.languages) : []; const langDisplay = document.getElementById('current-lang'); const i18nMsgBox = document.getElementById("i18n-notice-box"); -const scrollToTopBtn = document.getElementById("top"); // display current language in language picker component if (langDisplay) {