Why I no longer use frameworks, libraries and development tools for this blog.
Design System
A sepia typographic system inspired by letterpress newspapers and ink-on-parchment printing. Every visual decision is rooted in warmth, legibility, and the quiet authority of the printed page. No framework. No build tool. No external dependency — pure HTML and CSS, served as-is.
Color Palette
All colours are defined as CSS custom properties on :root and must always be
referenced by token name — never hardcoded. The palette is structured in two layers: the
raw named colours (--color-*) and the semantic aliases (--bg,
--text, --accent, …) consumed by components.
Raw colour tokens
Semantic aliases
| Alias | Maps to | Used for |
|---|---|---|
--bg | --color-paper | Page background |
--bg-nav | --color-parchment | Header & footer |
--bg-inset | --color-inset | Cards, specimens, blockquotes |
--border | --color-rule | All borders & dividers |
--text | --color-ink | Primary text |
--text-muted | --color-ink-muted | Secondary / metadata text |
--accent | --color-accent | Links, h2 rule, left borders |
--accent-h | --color-accent-dark | Link hover state |
--visited | --color-visited | Visited links |
Dark scheme
When the reader's system asks for a dark theme (prefers-color-scheme: dark),
the same raw tokens are remapped to a "lamp-lit parchment" palette, so components need no
changes. The swatches above always show the active scheme; the hex values refer to the light
one. Print always uses the light palette.
| Token | Light | Dark |
|---|---|---|
--color-paper | #fdf8f0 | #1c1610 |
--color-parchment | #ede5d0 | #2a2118 |
--color-inset | #f2ead8 | #241c15 |
--color-rule | #c8b99a | #4a3c2c |
--color-rule-strong | #9e8668 | #6b5743 |
--color-ink | #231608 | #efe6d4 |
--color-ink-muted | #7a6245 | #bcaa8f |
--color-ink-faint | #b39876 | #8a785f |
--color-accent | #8b5e3c | #d8a878 |
--color-accent-dark | #5c3a1e | #f0c99d |
--color-visited | #6b4e31 | #c49f7b |
--color-highlight | #f3e9c6 | #3b2f1f |
Typefaces
Three font families are defined as tokens. All are system fonts — no external CDN link is used anywhere on the site. Georgia and Palatino carry the editorial weight of the printed page; Optima provides a clean optical contrast for labels and navigation; Courier New grounds the monospaced layer in classic typewriter aesthetics.
Georgia, Palatino, Book Antiqua
The quick brown fox jumps over the lazy dog. 0123456789 — & " ' ; : ! ?
Optima, Candara, Calibri
The quick brown fox jumps over the lazy dog. 0123456789 — & " ' ; : ! ?
Courier New, Courier
const answer = 42; /* monospaced, timeless */
Type Scale
Sizes follow a classical editorial progression expressed in rem units.
The base size is set slightly above 1rem for improved screen readability of the serif face.
Tables that may be wider than a phone screen, like this one, sit in a
.table-scroll wrapper that scrolls horizontally.
| Token | Value | Specimen |
|---|---|---|
--text-xs |
0.75 rem | Caption, labels, tags |
--text-sm |
0.875 rem | Secondary text, card excerpts |
--text-base |
1.0625 rem | Body copy — the reading size |
--text-lg |
1.1875 rem | Lead paragraph & blockquotes |
--text-xl |
1.375 rem | Section intro, h3 |
--text-2xl |
1.625 rem | h2 heading, masthead |
--text-3xl |
2 rem | Large display |
--text-4xl |
2.5 rem | h1 page title |
--text-5xl |
3.25 rem | Extra-large display |
Headings
All headings use --font-serif in bold weight. The h1 carries
a 2 px bottom border in --border. The h2 generates a short
accent underline via a CSS ::after pseudo-element — a quiet nod to the
column rules of a broadsheet newspaper. h4 drops to italic normal weight
for use as a pull subtitle.
Heading One — Page Title
Heading Two — Section Title
Heading Three — Sub-section
Heading Four — Italic subtitle or aside
Prose Elements
Since the dawn of humanity, we have sought to enhance ourselves. Starting with the invention of tools like the spear and the wheel, we have always aimed to improve our capabilities. This enduring pursuit — eating better, training harder, leveraging technology — defines our species and drives progress forward across every generation.
The best engineering decision is often to remove things rather than add them. Kevin Valmorbida — Back to Simplicity, Apr 2026
Use the --font-mono token for all monospaced text. Wrap short snippets in
<code>; use <pre><code> for multi-line blocks.
The left accent border is --accent.
:root {
--color-accent: #8b5e3c;
--font-serif: Georgia, "Palatino Linotype", serif;
--space-4: 1rem;
}
A default link: Back to Simplicity · A bold link: Enhanced Software Engineers · Muted inline reference: previously visited
- Plain HTML and CSS only
- Georgia serif body text
- Sepia ink-on-paper palette
- No build step required
- Define design tokens in
:root - Apply to base elements
- Compose reusable components
- Ship — no compilation needed
Divider
The <hr> element renders as an ornamental typographic rule. Its
default border is suppressed and replaced by a ::before glyph composed
of em-dashes and a four-pointed star (U+2726), echoing the decorative rules found
in 19th-century newspaper columns.
Spacing
All layout spacing uses the --space-* scale. Never use arbitrary pixel
or raw rem values. Note: --space-7, --space-9,
and --space-11 are intentionally absent — the scale jumps at specific
points to maintain a coherent rhythm.
| Token | Value | Typical usage |
|---|---|---|
--space-1 | 0.25 rem (4 px) | Tag gap, tight inline spacing |
--space-2 | 0.5 rem (8 px) | Icon gap, compact padding |
--space-3 | 0.75 rem (12 px) | Small padding, footer gaps |
--space-4 | 1 rem (16 px) | Card padding, list indent |
--space-5 | 1.25 rem (20 px) | Paragraph margin-bottom |
--space-6 | 1.5 rem (24 px) | Section padding, hero margin |
--space-8 | 2 rem (32 px) | Container margin, heading margin-top |
--space-10 | 2.5 rem (40 px) | HR margin, h2 margin-top |
--space-12 | 3 rem (48 px) | Footer margin-top |
--space-16 | 4 rem (64 px) | Large section separators |
Layout
Two tokens set the page frame. The content column is capped at --container-width,
which keeps body text around 75 characters per line; the footer row shares the same box,
so its text lines up with the content.
--masthead-height fixes the height of the masthead row and doubles as the
header's negative sticky offset. The body is a flex column, so on short pages the footer
still sits at the bottom of the window.
| Token | Value | Used for |
|---|---|---|
--container-width | 42 rem | Content column, footer row |
--masthead-height | 3.5 rem | Masthead row, header sticky offset |
Components
Tags
Tags are small uppercase sans-serif labels with a sepia border and inset background.
Used to categorise blog posts. Class: .tag inside .tags.
Post Card
Used in the blog listing (/blog/). Displayed in a two-column grid above
36 rem. Each card is an <article> with a 16:9 thumbnail, title, date,
italic excerpt, and tags. Only the title is a link, so screen readers announce just the
title; the link's ::after covers the whole card, which stays clickable
everywhere and draws the focus ring along its edge. On hover or focus the card lifts 2 px
and the thumbnail zooms subtly. Thumbnails in the first row load eagerly, the rest lazily.
Post Index
A compact list of posts, used for "Latest posts" on the home page: the title, a dotted
leader in --color-rule-strong and the date, like a table of contents.
Class: .post-index on a <ul>.
Hero Image
Full-width banner at the top of each article page. Maximum height 22 rem,
object-fit: cover. An absolute-positioned caption is overlaid
bottom-right with a semi-transparent background. The image is a
<picture>: an AVIF source with the JPEG as fallback, which is also the
og:image. Classes: .hero-image-wrap and .hero-caption.
Post Note
A highlighted aside for editor's notes and updates added after publication, placed between
the post metadata and the first divider. Class: .post-note.
Update, October 2026: this post was written for an older version of the blog.
Header & Navigation
The header opens with the masthead: the site name in --font-serif bold at
--text-2xl, linking to the home page, above a thin rule. Below it, the nav row
renders links in --font-sans uppercase at --text-xs with generous
letter-spacing, closed by a 3px double bottom border in --border
— a double rule drawn from traditional newspaper column separators. The header is sticky
with a negative offset equal to --masthead-height: the masthead scrolls away
and only the nav row stays pinned. The current page carries aria-current="page"
and keeps the hover look; keyboard focus shows an accent outline via
:focus-visible. Secondary pages, like this one, are linked from the footer.
Shadows
Three shadow levels. All use a warm dark-sepia base colour rather than pure black to stay in harmony with the palette.
--shadow-sm
Default card
--shadow
Hover state
--shadow-lg
Elevated overlay
Border Radii
| Token | Value | Used for |
|---|---|---|
--radius-sm | 0.15 rem | Tags, inline code, captions |
--radius | 0.3 rem | Nav buttons, pre blocks, specimens |
--radius-lg | 0.5 rem | Post cards, hero images |
Design Principles
The following rules govern every visual decision on the site:
- No external dependencies. Every CSS value is defined locally. No CDN fonts, no icon libraries, no framework stylesheets.
- Token-first. Raw colour hex values must never appear in CSS rules or HTML attributes — use
--color-*or their semantic aliases. - Single stylesheet. All styles live in
public/style.css. Additional stylesheets and inline<style>blocks are forbidden. - Sepia warmth. The palette stays within the warm brown-amber-cream family. Cool greys and pure black are avoided.
- Typographic hierarchy. Heading sizes, weights, and decorative rules create clear editorial hierarchy without relying on colour alone.
- Spacing discipline. Only
--space-*tokens may be used for margins, paddings, and gaps. Arbitrary values break the rhythm.
This design system is intentionally minimal. The constraint is the point: no build tool, no preprocessor, no dependency — just tokens, types, and craft.