Overview
The typography system uses two custom font families: Host Grotesk for body text and ServerMono for monospaced content. Both fonts implement progressive loading withfont-display: swap for optimal performance.
Font Families
Host Grotesk
Host Grotesk is the primary typeface used throughout the site. It’s self-hosted with three variants:Regular
Normal weight for body text
Medium
Emphasis and headings
Medium Italic
Italic emphasis
ServerMono
ServerMono is loaded from the internet-development CDN for monospaced content. Available in:- Regular - Standard monospace text
- Regular Oblique - Slanted monospace style
Font Loading Strategy
Font Display Swap
All fonts usefont-display: swap to ensure text remains visible during font loading:
font-display: swap shows fallback fonts immediately while custom fonts load in the background, preventing invisible text (FOIT) and improving perceived performance.Progressive Enhancement
ServerMono implements a progressive format cascade:- WOFF2 - Best compression for modern browsers
- WOFF - Good compression with wider support
- OpenType - Universal fallback
Font Face Declarations
Here are the actual@font-face declarations from styles.css:
Host Grotesk Regular
styles.css
Host Grotesk Medium
styles.css
Host Grotesk Medium Italic
styles.css
ServerMono Regular
styles.css
ServerMono Regular Oblique
styles.css
Fallback Stack
The site uses a comprehensive system font fallback stack:styles.css
This fallback stack ensures readable text on all platforms while fonts load, with platform-specific optimizations for macOS, Windows, and Linux.
Typography Settings
| Property | Value | Usage |
|---|---|---|
| Base font size | 20px | Body text |
| Font weight | 400 | Default text weight |
| Font family | Host Grotesk | Primary typeface |
| Line height | Default | Natural spacing |
Font Files
Host Grotesk fonts are self-hosted in/fonts/:
HostGrotesk-Regular.woffHostGrotesk-Regular.woff2HostGrotesk-Medium.woffHostGrotesk-Medium.woff2HostGrotesk-MediumItalic.woffHostGrotesk-MediumItalic.woff2