Rail Letters.
A white gallery wall where the name runs down both edges in huge blocky capitals. White pages and black ink, with a giant cropped wordmark pinned vertically to the left and right edges like hanging banners. Content sits in zigzag rows of flat screen-printed posters drawn in red, green, sun and sky, next to big underlined Hanken Grotesk titles and Source Serif dates. Black pill buttons, square 2px frames and one red band per page.
Use it with Claude Code or Codex
Download the kit into your project, then paste this prompt. Fill in the last line. New to this? See how it works.
Build my page in the Rail Letters style. Read DESIGN.md first and follow it exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows. The example pages (demo.html, pricing.html, blog.html, signup.html) show the style on landing, pricing, blog post, and sign up. My page: [describe what you're building, who it's for and the sections you need]
Colors
Click a hex to copy it.
Fonts
All free on Google Fonts.
How the Rail Letters style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A white gallery wall with black ink and one loud wordmark. The name of the place runs down the left and right edges of the screen in huge blocky capitals, cropped by the window like banners hung in a hall. Between those rails, content sits in calm zigzag rows: a flat drawn poster on one side, a big underlined title on the other. Red, green, sun yellow and sky blue live inside the posters; the page itself stays white and black. It feels bold, a little retro and cultural, like a venue that takes its program seriously but still wants you to walk in.
Use it for: cultural venues, workshops and co-ops, community spaces, festivals and programs, membership organisations, anything with a calendar of things to come to. Avoid it for: dense dashboards, fintech, anything that needs to feel quiet or clinical, and brands with a long name (the rails need a short, punchy word or two).
Read the full style guide: fonts, color, type scale, components and page recipes
How to use this file
Give this file, tokens.css and components.css to your AI coding tool and say:
Build [your page] in the Rail Letters style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages for Tandem Yard, a made-up community bike workshop, built only with the kit.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Rubik+Mono+One&family=Hanken+Grotesk:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Rails and wordmark | Rubik Mono One 400 | The two edge rails, the stacked wordmark, type inside posters, plan names, big numbers. Always uppercase. Never for sentences. |
| Headlines and UI | Hanken Grotesk 400 to 700 | Hero (600), section headings and titles (500), nav, buttons (700 uppercase, tracked), labels, body. |
| Meta and long text | Source Serif 4 400 | Dates, bylines, small print, plan descriptions, FAQ answers and article body. |
Color
| Token | Hex | Role |
|---|---|---|
--rl-paper |
#FFFFFF | The page. Almost everything sits on white |
--rl-bone |
#F4F1EA | One quiet full-bleed band per page (lists, FAQ, related posts) |
--rl-bone-2 |
#E9E4D8 | Hover on bone, muted text on ink |
--rl-ink |
#121211 | Text, rails, borders, buttons, table headers |
--rl-soft |
#5D5A55 | Leads and secondary text |
--rl-hair |
#DCD8CF | Thin row dividers only |
--rl-red |
#E2412E | The signal: one word in a headline, the feature frame, the statement band, bullet dots, hover |
--rl-red-deep |
#B92E1F | Error text |
--rl-green |
#23935A | Poster ground |
--rl-sun |
#F5C02C | Poster ground, the featured plan, callouts, focus ring |
--rl-sky |
#86BCE3 | Poster ground |
--rl-pink |
#F2A7B8 | Poster ground |
Rules: - The page chrome is only paper, ink and red. Green, sun, sky and pink belong to posters, plus sun for one featured plan and callouts. - Red appears as one big surface per page at most (the feature frame or the statement band), plus single words and dots. - No gradients. Flat color only, like screen printing.
Type scale
| Token | Size | Use |
|---|---|---|
--rl-text-rail |
clamp(88px, 8.4vw, 132px) | The edge rails |
--rl-text-hero |
clamp(44px, 6.4vw, 96px) | Hero headline, tracking -0.035em, line-height 0.98 |
--rl-text-h2 |
clamp(32px, 3.8vw, 52px) | Section headings, weight 500 |
--rl-text-title |
clamp(28px, 3vw, 42px) | Underlined listing titles in zigzag rows |
--rl-text-h3 |
22px | Card and list titles |
--rl-text-lead |
20px | Lead under a headline, soft gray |
--rl-text-body |
17px | Body |
--rl-text-label |
12px | Uppercase tracked labels and badges |
Headlines are plain sentences in sentence case with no period. Titles of things you can attend use "Name: what you do there" ("Flat Fix Fridays: patch a tube in fifteen minutes").
Shape and space
- Borders: 2px ink for anything that frames (inputs, plans, tables, the top of lists and cards). 1px hair only between list rows.
- Radius: 0 for posters, frames, inputs and plans. Pills for buttons, badges and toggles. Nothing in between.
- Shadows: only
--rl-shadow-poster, a soft drop under posters so they read as paper on a wall. Never on cards or buttons. - Underlines: 2px, offset, on titles, nav current item and arrow links. They are the link style of the whole kit.
- Page gutter
--rl-gutter(up to 128px) leaves room for the rails; container 1180px, prose 700px. - Sections: 64px to 128px vertical padding. Zigzag rows: 64px to 120px apart.
Components (in components.css)
| Class | What it is |
|---|---|
.rl-rail--left, .rl-rail--right, --red |
The giant vertical wordmark pinned to each edge, cropped by the window. Left reads bottom to top, right top to bottom. Hidden under 900px |
.rl-band |
The phone version of the rails: one horizontal line of the wordmark under the nav, cropped at the right edge |
.rl-page, .rl-container |
Gutter wrapper and centered container |
.rl-mark |
Stacked two-line wordmark, second line indented |
.rl-nav, __links, __actions |
Wordmark left, links center (underlined when current), one black pill right |
.rl-hero, .rl-hero-title, .rl-h2, .rl-h3, .rl-lead, .rl-red |
Type. .rl-red colors one word |
.rl-title, --plain |
Big underlined listing title |
.rl-meta, --soft, .rl-label |
Serif dates and bylines; uppercase tracked label |
.rl-head, .rl-arrow |
Section header with h2 left and an underlined arrow link right |
.rl-btn, --outline, --red, --sm, --lg, --block |
Pill buttons, uppercase and tracked. Hover turns black to red |
.rl-badge, --red, --sun, --ink |
Small outlined pill tags |
.rl-feature |
Full-width red frame under the hero with giant wordmark type and a drawn object |
.rl-poster, --red/green/sun/sky/pink/ink, __art, __top, __type, __foot |
Flat drawn poster: color ground, inline SVG art, a tracked top line, giant type at the bottom or a white footer strip |
.rl-zig, .rl-row, --flip, __text |
Zigzag rows: poster one side, badge + title + meta the other, alternating |
.rl-list, __item, __date, __title |
Event list with a serif date column and a pill on the right |
.rl-grid, .rl-card, __num, __text |
Cards topped by a 2px rule and a red blocky number |
.rl-statement, .rl-stats, .rl-stat__num, .rl-stat__label |
Full-bleed red band with a big white headline and blocky stats |
.rl-section, --tight, --bone |
Section spacing; the bone version runs full bleed |
.rl-toggle |
Outlined pill toggle (monthly or yearly) |
.rl-plans, .rl-plan, --featured, __name/__desc/__price/__list |
Plans in a shared 2px grid with no gaps; the featured one is sun yellow |
.rl-table-wrap, .rl-table, __yes, __no |
Comparison table with an ink header and red dots for yes |
.rl-faq |
FAQ from <details> with a blocky plus that turns into a red cross |
.rl-article-head, .rl-author, .rl-avatar, --red |
Article header and byline with an initials disc |
.rl-prose |
Serif article body, sans headings, red dot bullets, a sans pull quote with a red bar |
.rl-callout |
Sun yellow tip box |
.rl-post, __title |
Related post: landscape poster, label and underlined title |
.rl-form, .rl-field, .rl-fieldset, .rl-label-text, .rl-input, .rl-select |
Square 2px inputs with uppercase labels and a sun focus ring |
.rl-input-wrap, .rl-input-toggle, .rl-help, .rl-error, .rl-field--error |
Show or hide button, serif help text, red error |
.rl-check, .rl-choice |
Round red checkbox; square option tiles that turn ink when picked |
.rl-divider |
2px rules with "or" between |
.rl-footer, __cols, __bottom |
Footer under a 2px rule |
.rl-rise |
Small entrance rise, respects reduced motion |
Pages in this kit
demo.html: landing page (nav, hero, red feature frame, zigzag program, event list, how it works, red statement band, footer).pricing.html: plans with a monthly or yearly toggle, a comparison table, FAQ and a red call to action.blog.html: a repair guide with a red cover poster, serif prose, a callout, a pull quote, a figure and related posts.signup.html: booking form on the left, a drawn poster and a member quote on the right.
Page recipe
- Put both rails right after
<body>:<p class="rl-rail rl-rail--left">FIRST</p>and<p class="rl-rail rl-rail--right">SECOND</p>. Split the name into two short words. - Inside
.rl-page > .rl-container: the nav, then.rl-bandfor phones. - Hero: headline left with one red word, lead and two pills right.
- The red
.rl-featureframe with three or four blocky words and one drawn object. - "This season" header, then three zigzag rows, each with a different poster color.
- A bone band with an event list.
- Cards, then the red statement band with stats, then the footer.
Pricing: headline left, lead and toggle right, plans in the shared grid, a table, a bone FAQ band with the heading left and questions right, then a red band.
Article: badge, hero-size headline, lead, byline; a wide red cover poster; prose centered at 700px; a bone band of three related posts.
Sign up: form on the left (badge, hero headline, lead, fields, black submit, "or", outline alternative); a poster and one quote on the right.
Don'ts
- Don't put rails on top of interactive content at desktop: keep the gutter wide enough that they only overlap whitespace and full-bleed bands.
- Don't round posters or inputs, and don't add shadows to anything but posters.
- Don't use photos inside posters. Draw them flat with SVG: circles, bars, stripes and one blocky word.
- Don't put green, sky or pink in buttons, nav or text.
- Don't set sentences in Rubik Mono One, and don't use it below 17px.
- Don't center long text. Everything aligns left except posters on flipped rows.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
A white portal-era column on halftone, opening onto night bands for each title.
Loud, plain and civic, with black bands that step down in square notches.
A loud, retro-fast dark page with a full-bleed slotted wordmark, glowing headlines and keycap links that really work.
A flat gray wall of saturated poster tiles, huge words cropped by the edge and tiny mono text around them.