From 84ebfcadf29cdea36f9a9407974141530ec7be2c Mon Sep 17 00:00:00 2001 From: Dome Date: Thu, 23 Apr 2026 21:13:40 +0200 Subject: [PATCH] Update fonts.css --- css/fonts.css | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/css/fonts.css b/css/fonts.css index 82a8c5f..eccca75 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -7,6 +7,7 @@ font-family: 'Oswald'; src: url('../fonts/oswald-400.woff2') format('woff2'); font-weight: 400; + font-stretch: 100%; font-style: normal; font-display: swap; } @@ -15,6 +16,7 @@ font-family: 'Oswald'; src: url('../fonts/oswald-500.woff2') format('woff2'); font-weight: 500; + font-stretch: 100%; font-style: normal; font-display: swap; } @@ -23,51 +25,37 @@ font-family: 'Oswald'; src: url('../fonts/oswald-700.woff2') format('woff2'); font-weight: 700; + font-stretch: 100%; font-style: normal; font-display: swap; } - /* ROBOTO */ @font-face { font-family: 'Roboto'; - font-style: normal; + src: url('../fonts/roboto-400.woff2') format('woff2'); font-weight: 400; font-stretch: 100%; + font-style: normal; font-display: swap; - src: url('../fonts/roboto-400.woff2') format('woff2'); - 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; } -/* ROBOTO 500 */ @font-face { font-family: 'Roboto'; - font-style: normal; + src: url('../fonts/roboto-500.woff2') format('woff2'); font-weight: 500; font-stretch: 100%; + font-style: normal; font-display: swap; - src: url('../fonts/roboto-500.woff2') format('woff2'); - 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; } -/* ROBOTO 700 */ @font-face { font-family: 'Roboto'; - font-style: normal; + src: url('../fonts/roboto-700.woff2') format('woff2'); font-weight: 700; font-stretch: 100%; + font-style: normal; font-display: swap; - src: url('../fonts/roboto-700.woff2') format('woff2'); - 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; }