summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-19 16:11:43 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-19 16:11:43 +0300
commitf83e26963ec72c4c57133efd6598a5e0a35a3769 (patch)
treef65c60b7cf20758732baa71199dfe4910a74d837
parent966a7f5f75c5ef09b340b1e6b719486491522519 (diff)
downloadeug-vs-xyz-f83e26963ec72c4c57133efd6598a5e0a35a3769.tar.gz
feat: use local font instead of remote
-rwxr-xr-xhead.html3
-rw-r--r--public/fonts/Bitter-Regular.woffbin0 -> 32460 bytes
-rw-r--r--style.css4
3 files changed, 4 insertions, 3 deletions
diff --git a/head.html b/head.html
index 4955f27..bbc0a2d 100755
--- a/head.html
+++ b/head.html
@@ -1,4 +1 @@
<link rel="shortcut icon" type="image/jpg" href="/public/icon-64.png"/>
-<link rel="preconnect" href="https://fonts.googleapis.com">
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
-<link href="https://fonts.googleapis.com/css2?family=Bitter&display=swap" rel="stylesheet">
diff --git a/public/fonts/Bitter-Regular.woff b/public/fonts/Bitter-Regular.woff
new file mode 100644
index 0000000..8060e0a
--- /dev/null
+++ b/public/fonts/Bitter-Regular.woff
Binary files differ
diff --git a/style.css b/style.css
index f100eaf..b6f5b7d 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,7 @@
+@font-face {
+ font-family: "Bitter";
+ src: url(/public/fonts/Bitter-Regular.woff) format("truetype");
+}
html {
font-family: "Open Sans", sans-serif;
color: #ebdbb2;