diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-04-19 16:11:43 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-04-19 16:11:43 +0300 |
commit | f83e26963ec72c4c57133efd6598a5e0a35a3769 (patch) | |
tree | f65c60b7cf20758732baa71199dfe4910a74d837 | |
parent | 966a7f5f75c5ef09b340b1e6b719486491522519 (diff) | |
download | eug-vs-xyz-f83e26963ec72c4c57133efd6598a5e0a35a3769.tar.gz |
feat: use local font instead of remote
-rwxr-xr-x | head.html | 3 | ||||
-rw-r--r-- | public/fonts/Bitter-Regular.woff | bin | 0 -> 32460 bytes | |||
-rw-r--r-- | style.css | 4 |
3 files changed, 4 insertions, 3 deletions
@@ -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 Binary files differnew file mode 100644 index 0000000..8060e0a --- /dev/null +++ b/public/fonts/Bitter-Regular.woff @@ -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; |