add own style sheet

bundle fonts
https://github.com/vercel/geist-font
This commit is contained in:
Christoph Cullmann 2025-07-21 00:25:58 +02:00
parent 11d322e3de
commit 336315fc15
No known key found for this signature in database
4 changed files with 25 additions and 0 deletions

23
assets/cullmann.css Normal file
View file

@ -0,0 +1,23 @@
@font-face {
font-family: 'Geist';
src: url('/fonts/Geist.woff2') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'GeistMono';
src: url('/fonts/GeistMono.woff2') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
body {
font-family: "Geist";
}
code {
font-family: "GeistMono";
}

View file

@ -0,0 +1,2 @@
{{ $extra := resources.Get "cullmann.css" | minify }}
<link href="{{ $extra.RelPermalink }}" rel="stylesheet">

BIN
static/fonts/Geist.woff2 Normal file

Binary file not shown.

Binary file not shown.