summaryrefslogtreecommitdiff
path: root/public/css
diff options
context:
space:
mode:
authoralifeee <alifeee.web@outlook.com>2025-02-11 12:45:23 +0000
committeralifeee <alifeee.web@outlook.com>2025-02-11 12:45:23 +0000
commit6f810c81dd863801f673473a10677f483e966d90 (patch)
tree18bd87b68ce24382e881b5dfa762b1c38e356c53 /public/css
parent2d7507a4fde247ea3e67c2d49df157abd60d6599 (diff)
remove Google Fonts dependency
...by locally serving the font file `@font-face` rule copied from Google Font URL
Diffstat (limited to 'public/css')
-rwxr-xr-xpublic/css/style.css12
1 files changed, 11 insertions, 1 deletions
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);