Three font families are loaded from Google Fonts and exposed as Tailwind utility classes. Each family serves a distinct typographic role that reinforces the Y2K aesthetic: a pixel-art display face for headings and labels, a monospaced workhorse for body copy and code, and a clean sans-serif for longer prose passages where readability takes priority over character.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/neocities-dev/llms.txt
Use this file to discover all available pages before exploring further.
Font Families
| Tailwind Class | Family Name | CDN Source | Usage Context |
|---|---|---|---|
font-pixel | VT323 | Google Fonts | Headings, nav labels, window title bars, status readouts — gives the retro pixel-art / CRT display feel |
font-mono | Space Mono | Google Fonts | Default body font, <code> blocks, terminal output, data readouts, timestamps |
font-sans | Inter | Google Fonts | Prose paragraphs, form labels, longer descriptive text blocks where readability matters more than aesthetics |
Space Mono is the default body font — it is set directly on the
body element in main.css. Every component inherits it unless explicitly overridden with font-pixel or font-sans.Font Sizes
The following sizes from Tailwind’s default scale are used across the site:| Class | Size | Line Height | Where Used |
|---|---|---|---|
text-7xl | 4.5 rem | 1 | Home hero heading (responsive: applied at md:text-7xl) |
text-5xl | 3 rem | 1 | Large feature headings |
text-4xl | 2.25 rem | 2.5 rem | Page-level section titles |
text-3xl | 1.875 rem | 2.25 rem | Sub-section headers |
text-2xl | 1.5 rem | 2 rem | Card titles, panel headings |
text-xl | 1.25 rem | 1.75 rem | Nav items, emphasized labels |
text-lg | 1.125 rem | 1.75 rem | Lead paragraphs, featured text |
text-sm | 0.875 rem | 1.25 rem | Supporting metadata, captions |
text-xs | 0.75 rem | 1 rem | Badges, timestamps, tertiary labels |
text-[10px] | 10 px | — | Smallest decorative labels (arbitrary value) |
Loading Fonts
Both families are loaded with a single@import at the top of main.css:
display=swap parameter ensures text remains visible during font load using the system fallback, then swaps to the web font once it has downloaded — preventing invisible text flashes (FOIT).
Loaded weights and styles:
- Inter — 400 (regular), 600 (semibold)
- Space Mono — 400 regular, 400 italic, 700 bold
- VT323 — 400 only (the font has a single weight)
Combining Fonts
The most common pattern is afont-pixel heading followed by font-sans or font-mono body copy. The contrast between the pixel display face and the clean body type reinforces the retro-meets-modern visual tone:
font-mono labels with font-pixel section titles: