feat: add caskaydia cove nerd fonts

This commit is contained in:
Stevan Freeborn
2025-11-15 12:35:51 -06:00
parent 03cbe49a30
commit 0f366e1ff8
8 changed files with 45413 additions and 3 deletions
+13
View File
@@ -1,3 +1,15 @@
@font-face {
font-family: 'CaskaydiaCove NFM';
src: url('/fonts/CaskaydiaCoveNFM-Regular.eot');
src: url('/fonts/CaskaydiaCoveNFM-Regular.eot?#iefix') format('embedded-opentype'),
url('/fonts/CaskaydiaCoveNFM-Regular.woff2') format('woff2'),
url('/fonts/CaskaydiaCoveNFM-Regular.woff') format('woff'),
url('/fonts/CaskaydiaCoveNFM-Regular.svg#CaskaydiaCoveNFM-Regular') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}
/* CSS Resets */
* {
margin: 0;
@@ -39,6 +51,7 @@ table {
/* Site Styles */
:root {
font-family: 'CaskaydiaCove NFM', monospace;
font-size: 16px;
}
Binary file not shown.
File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 6.4 MiB

Binary file not shown.
Binary file not shown.
+2
View File
@@ -10,4 +10,6 @@ var (
Templates embed.FS
//go:embed "css/*"
CSS embed.FS
//go:embed "fonts/*"
Fonts embed.FS
)
+4
View File
@@ -22,3 +22,7 @@ func Index(w http.ResponseWriter, r *http.Request) {
func CSS(w http.ResponseWriter, r *http.Request) {
http.ServeFileFS(w, r, assets.CSS, r.URL.Path)
}
func Fonts(w http.ResponseWriter, r *http.Request) {
http.ServeFileFS(w, r, assets.Fonts, r.URL.Path)
}