xonecas.io
7517
Cd

clanker-and-the-dev / commit e3ed334

Self-host VT323 font

xonecas2026-06-08 e3ed3341c240e5200c6f15eb26a109e656ad6144 parent eab46b3

3 files changed

_includes/head.html+0−3
@@ -3,9 +3,6 @@
33 <meta name="viewport" content="width=device-width, initial-scale=1" />
44 <meta name="theme-color" content="#000000" />
55 {% seo %}
6- <link rel="preconnect" href="https://fonts.googleapis.com" />
7- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
8- <link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet" />
96 <script src="https://cdn.tailwindcss.com"></script>
107 <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}" />
118 </head>
assets/css/main.scss+8−0
@@ -3,6 +3,14 @@
33
44 :root { color-scheme: dark; }
55
6+@font-face {
7+ font-family: 'VT323';
8+ font-style: normal;
9+ font-weight: 400;
10+ font-display: swap;
11+ src: url('../fonts/VT323-Regular.ttf') format('truetype');
12+}
13+
614 body {
715 font-family: 'VT323', 'Courier New', monospace;
816 }
assets/fonts/VT323-Regular.ttf+0−0
Binary file, not shown.