serve fonts locally

This commit is contained in:
2024-12-04 14:17:13 +00:00
parent d215837815
commit b1c8d42742
3 changed files with 17 additions and 6 deletions
Binary file not shown.
Binary file not shown.
+17 -6
View File
@@ -1,13 +1,23 @@
@import url(https://fonts.bunny.net/css?family=bokor:400|ibm-plex-mono:400);
@font-face {
font-family: 'Bokor';
font-style: normal;
font-weight: 400;
src: local('Bokor');
src: url('static/fonts/bokor-latin-400-normal.woff2') format('woff2');
}
@font-face {
font-family: 'Iosevka';
font-style: normal;
font-weight: 400;
src: local('Iosevka');
src: url('static/fonts/Iosevka-Regular.woff2') format('woff2');
}
body {
background-color: black;
color: white;
font-family: 'IBM Plex Mono', monospace;
}
p {
letter-spacing: -0.07em;
font-family: 'Iosevka', monospace;
}
.box {
@@ -70,6 +80,7 @@ while having chrome's rendering of it not be bloated
cursor: pointer;
text-decoration: none;
border-radius: 0;
user-select: none;
}
.shiny {