Waikit Kan /index

/styleguide

How everything on this site looks.

The building blocks for pages and posts. Styles live in css/custom.css; this page isn’t indexed by search engines. Initial design by me, expanded by AI.

Typography

Headings and UI use Instrument Serif. Body copy uses Charter at 20px with a 1.6 line height. Code uses the system monospace stack.

Heading one

.h1 · Instrument Serif · 48px · orange rule · also used for page intros

Heading two

.h2 · Instrument Serif · 40px

Heading three

.h3 · Instrument Serif · 32px

Heading four

.h4 / .h5 / .h6 · Instrument Serif · 24px

/page-title

.slash · page name above the intro

Body copy for everything else. It sits a little softer than headings so long posts are comfortable to read, with bold for emphasis, italics for nuance and links in orange.

p · Charter · 20px · 1.6 · ink

Small text for captions, hints and metadata.

small / .small · 16px · ink-dark

An italic display line for asides

.title-italic · Instrument Serif italic

Inline code sits inside a sentence.

code · monospace · primary-lighter on neutral-dark
.button-primary {
  background: var(--primary);
  color: black;
}
pre · code block

Make something people want, then tell them about it.

Someone sensible
blockquote · Instrument Serif italic 28px · cite
  • Unordered list item
  • Markers pick up the primary colour
  1. Ordered list item
  2. Second step
ul / ol inside posts (.article)

hr · divider

Colours

Seven colours, each with one darker and two lighter shades. Use them as CSS variables, e.g. var(--primary) or var(--danger-light).

Primary

The site’s orange. Links, accents and primary buttons (with black text). primary-dark is for pressed states.

--primary-dark
--primary
--primary-light
--primary-lighter

Navy

Backgrounds. navy-dark is the page, navy is the outer frame, navy-lighter is for info accents.

--navy-dark
--navy
--navy-light
--navy-lighter

Ink

Text. ink-dark for captions and hints, ink for body copy, ink-light for labels, ink-lighter (white) for headings.

--ink-dark
--ink
--ink-light
--ink-lighter

Neutral

Borders, dividers and input surfaces. neutral-dark is the input and code background.

--neutral-dark
--neutral
--neutral-light
--neutral-lighter

Success

Confirmations and positive states. Use success or success-light for text.

--success-dark
--success
--success-light
--success-lighter

Warning

Cautions and pending states. Use warning or warning-light for text.

--warning-dark
--warning
--warning-light
--warning-lighter

Danger

Errors and destructive actions. Use danger-light for small text on navy.

--danger-dark
--danger
--danger-light
--danger-lighter
Colours in use · .callout / .badge

InfoNeutral information, using navy-lighter.

SuccessSomething worked.

WarningWorth a second look.

DangerSomething went wrong.

Live Paused Closed

Buttons

Pill-shaped, set in Instrument Serif. Use <button> for actions and <a class="button"> for navigation.

Variants · .button + .button-primary / .button-secondary / (default) / .button-danger
Sizes · .button-small / (default) / .button-large
States · disabled · link styled as a button
Link as button →

Form elements

Wrap each control in .field with a label. Add .field-error or .field-success to show state.

I’ll only use this to reply.
Enter a full address, e.g. https://example.com
Checkboxes
Radio buttons

Data table

Markdown tables get this style automatically. Wrap wide tables in .table-wrap so they scroll on small screens, and add class="numeric" to right-align numbers.

Example plans
PlanStatusSeatsPrice
StarterLive1£9
ProBeta5£29
LegacyRetired10£49
Sample data only£87