Wizards of the West Coast

Style Guide

Live: every sample below is drawn by the site's own style.css
Colours

Colours are tokens in :root of style.css. The hex values and contrast ratios below are read from the live stylesheet, so they cannot go out of date. Contrast is measured against the window colour --win-a (4.5 is the minimum for text, 7 is comfortable).

Window

Text

Fixed values (not tokens)

Old tokens (--cyan, --magenta, --dim, --yellow, --dark, --walnut, --parch-dk) are defined in :root but no longer used anywhere. --red (admin panel), --teal (live dot) and --void (scrollbar) are still used.

Type

Three fonts, three jobs. Press Start 2P is for things you read as shapes (titles, nav, buttons). VT323 is for things you read as text (paragraphs, labels). IBM Plex Mono is for data and tools.

Window titlePress Start 2P 16px (12px phones). White, hard black shadow.
Hulen Open 2026
Nav / format namesPress Start 2P 12px nav, 16px format names (12px on phones). Keep to 8 / 12 / 16 / 24.
NAV ITEM   Old School
Premodern
Countdown numberPress Start 2P, large, gold-lt with hard shadow.
61
ParagraphVT323, var(--text-size) = 30px (22.5px phones), line-height 1.3.

So here it is, my very first tournament report. Ancient cardboard on the rainy west coast.

Label / tag / table headerVT323 via var(--lab), 18px, uppercase, letter-spaced.
Kvar
Tournament report Premodern
Data / forms / chatIBM Plex Mono, 13–16px. Never for running paragraphs on the front page.
Slaughter Island III · X-point · Apr. 2026 · Erik

Why the paragraph size is 30px

VT323 has small letters. To look as big as Press Start 2P, it must be scaled by the ratio of their letter heights. --text-size = --pxb × --vts: --pxb is the Press Start 2P size (16px, 12px on phones) and --vts is 1.875. Change --pxb and all paragraph text follows. The row below is measured live:

Aa Press Start 2P 16px Aa VT323 30px

Norwegian letters

Press Start 2P does have Å and Ø, but they are cramped (Å is an A with one dot, Ø reads as 0 at small sizes). In that font keep Norwegian words in mixed case (.no-caps). VT323 and Plex Mono are fine in capitals.

ÅØÆ åøæ ÅØÆ åøæ ÅØÆ åøæ
Windows

Every section of content is a .panel: this one is an example. The notched corners are four hard box-shadows in --win-line, the blue ring is an inset shadow, and the drop shadow is hard (no blur anywhere). The first child .panel-title becomes a tab cut into the top border; its background is two-tone so it blends with both the page and the window.

  • Markup: <div class="panel"><div class="panel-title">…</div> …content… </div>
  • Body text goes in .panel-body (VT323, white). Dividers: <hr class="panel-divider"> (dashed).
  • No blurred glows, no text-shadow blur, no rounded corners, no gradients other than the window's own.

Dialogue layout: .panel-dlg puts a portrait (.panel-portrait, pixel art, never resampled) beside the text.

Buttons
Main button.neon-btn. Press Start 2P 10px, pixel cursor on the left, inverts to gold on hover.
Påmelding og info Sjå tidlegare arrangement
Plain button in a panelAny <button> or .btn inside a .panel gets the light block look automatically.
Reader option buttonsSelected one is gold. Each is set in the font it picks. Built by app.js on Words articles.
Font
  • Hover is always an inversion to --gold-lt with dark text #1A1200. Focus is never hidden.
  • The cursor bob is stepped (steps(1)) and is switched off for prefers-reduced-motion. Transitions on links are off; other transitions are short (0.15–0.2s).
Links & text

Normal text is white. A link in a paragraph is sky blue with a solid underline, and a page link (a span that calls showPage()) looks the same. On hover they invert to a blue block. Bold stays white.

  • Links in running text: --link on --win-a. Nav links and buttons are not "text links" and keep their own style.
  • Meta text, captions and era lines use --text-dim on purpose. Gold is for labels only, never for body text.
Lists & data

Label / value pairs

Kvar
Korsneset
Format

Link list with pixel arrow

Old School
93/94
Occasional
EDH, Legacy, Cube

Table

EventFormatWinner
Slaughter Island IIIX-pointErik
Hulen Open 2025Premodern[kjem]

Numbered list

  • IThomas
  • IIJoen Erik
Forms

Inputs inside a panel are dark navy with a blue border (#050C22, --win-ring). Field labels are VT323 labels, .po-label / .m-label.

Your name
Message
Articles

Words articles use these classes (Post Creator generates them, so paste its output as it is). Text is justified with hyphenation, and the reader picks font and size; the default is VT323 at the large size.

Ep. 1 - Slaughter Island III — a battle report

So here it is, my very first tournament report that is not written on Facebook or sent as an email. Take a look at my previous writing effort for the background, and then read on for the full story of the weekend.

Round 1

The lucky winner in round 1 was Thor. 0-1

Blockquotes get a blue bar on the left.
Figure caption (VT323 label style)
Layout

Windows are as wide as the hero artwork: .container.full { max-width: calc(var(--hero-h) * 2 + 52px) }, where --hero-h mirrors the hero's height (the art is 2:1). If the hero height rules in .hero-scene change, change --hero-h too. This page has no hero, so the numbers below show what the same rule gives here:

Spacing

  • Gap between windows is the same everywhere (panel margin + grid gap). The home page is one .hearth grid, so windows are direct grid items (or sit in .hearth-side); don't add styled wrappers between windows.
  • Breakpoints: 900px (tablet: hero 56vh), 768px (phone: hero fills the width, nav shrinks to 8px), 600px (text steps down to 22.5px, panel titles 12px), 480px (tighter padding).
  • Nav text: 12px desktop, 8px phones. Press Start 2P sizes stay on the 8px grid. The nav is flat (no dropdowns): five links plus Sign in / Sign out, and all six must fit one row at 375px.
Equal gap above and below every window
Rules

Adding a new window or page

  • Put it in a .panel with a .panel-title first, inside .container.full. Use .panel-body for text; do not set colours or font sizes inline.
  • Use tokens, not hex values: var(--win-*), var(--body), var(--gold-lt), var(--link). Paragraph size is var(--text-size).
  • User-facing text is Norwegian (Nynorsk-flavoured), except the English Words and Events copy that already exists.
  • Anything users type must be escaped before it goes into innerHTML.
  • After changing style.css, app.js, hero-game.js or chat.js: bump the ?v= tag on all four links in index.html (and style.css?v= in post-creator.html and this page).

Never

  • Blurred glows or shadows, rounded corners, gradients or new colours outside the tokens.
  • Press Start 2P for running paragraphs, or off its 8px grid.
  • Dim gold (--gold-dk) for text, or gold for body text.
  • Resampling pixel-art images (hero-pixel*.png, cave.png, sprites).