From 6f810c81dd863801f673473a10677f483e966d90 Mon Sep 17 00:00:00 2001 From: alifeee Date: Tue, 11 Feb 2025 12:45:23 +0000 Subject: remove Google Fonts dependency ...by locally serving the font file `@font-face` rule copied from Google Font URL --- public/css/style.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'public/css/style.css') diff --git a/public/css/style.css b/public/css/style.css index 3321090..8bc0caa 100755 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,5 +1,15 @@ /* TYPOGRAPHY */ -@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap"); +@font-face { + font-family: "Fredoka"; + font-style: normal; + font-weight: 300 700; + font-stretch: 100%; + font-display: swap; + src: url("/fonts/fredoka-v14.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; +} body { color: var(--color--black); -- cgit v1.2.3