Index Box.
A plain white reference page with a petrol nav band, underlined links and a framed index of everything beside the text. White pages, a deep petrol nav band with rounded ends and a humanist PT Sans that reads like a manual, with a PT Serif wordmark and italic motto. The signature move is a square, petrol-framed index box with a nested list sitting next to the main column. Small raised gray system buttons, ruled data tables and an italic last-updated stamp at the foot of every 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 Index Box 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 Index Box style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
The no-nonsense reference page. A plain white page with a deep petrol nav band that has gently rounded ends, a humanist sans that reads like a well-kept manual, and underlined links in every sentence. The signature move is the framed index box: a square, 2px petrol frame holding a nested bullet list of everything on the site, sitting beside the main text like the contents card pinned next to a noticeboard. Buttons are small raised gray system buttons, a short italic serif motto sits top right, and every page ends with a "last updated" stamp. Square corners, flat surfaces, no soft shadows, no hero image. It looks like a site that has been quietly correct for twenty years.
Use it for: public data and reference services, open source projects, almanacs and timetables, co-ops, clubs, local utilities, documentation, anything where people come to look something up and leave. Avoid it for: fashion, luxury, consumer launches that need big imagery, anything that should feel playful or glossy.
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 Index Box 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 built only with the kit, for an invented free tide-table service for small harbors called Slackwater.
Fonts
All free on Google Fonts, one superfamily so everything sits together:
<link href="https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400&family=PT+Serif:ital,wght@0,400;0,700;1,400&family=PT+Mono&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Body and headings | PT Sans 400 and 700 | Everything: paragraphs, nav, headings, buttons, forms. Headings are 700, sentence case. |
| Wordmark and motto | PT Serif 400, 400 italic | The wordmark next to the logo tile, the italic motto, figure captions, big prices. |
| Mono | PT Mono 400 | Numbers in tables, code, eyebrows, badges, chart labels. |
Color
| Token | Hex | Role |
|---|---|---|
--ib-paper |
#FFFFFF | The page. Everything sits on white. |
--ib-wash |
#F1F5F6 | Zebra rows, code blocks, gray boxes |
--ib-line |
#C6D1D6 | Every 1px rule and border |
--ib-petrol |
#0C4A60 | The nav band, the index box frame, table heads, the primary button |
--ib-petrol-deep |
#083646 | Current nav item, button hover |
--ib-link |
#0A5C7C | Every link, always underlined |
--ib-ink |
#121619 | Text |
--ib-soft |
#4A575E | Leads, meta, card text |
--ib-faint |
#7D888E | Hints, eyebrows, chart labels |
--ib-sky / --ib-sky-deep |
#4A9BD8 / #1B5C9A | The logo tile gradient, chart fills, focus ring. Nowhere else. |
--ib-note / --ib-note-edge |
#FBF5DF / #E6D69A | The one warm thing: notes with a left bar |
--ib-ok / --ib-ok-soft |
#2C6B3B / #E2EFE2 | "Most picked" and good-news badges |
--ib-bevel-top / --ib-bevel-bottom / --ib-bevel-edge |
#F7F7F7 / #D6D9DB / #8D969B | The raised gray system button |
Rules: - White page, one petrol band, one petrol frame. Petrol is structure, not decoration. - Links are always underlined. That is the point of this style: you can see what is clickable. - Sky blue lives only in the logo tile and in charts. - No full-width colored sections. The page never changes background.
Type scale
| Token | Size | Use |
|---|---|---|
--ib-text-mark |
40px (30px on phones) | Wordmark in PT Serif, petrol |
--ib-text-hero |
clamp(28px, 4vw, 38px) | Page title (.ib-h1) |
--ib-text-h2 |
24px | Section headings |
--ib-text-h3 |
19px | Sub-headings, the index box title |
--ib-text-lead |
19px | The paragraph under a title |
--ib-text-body |
17px | Body, line-height 1.55 |
--ib-text-small / --ib-text-micro |
15px / 13px | Meta, tables, buttons, hints |
Write like a reference page: plain sentences, facts first, dates in ISO format (2026-11-30), one dry joke at most.
Shape and space
- Radius: 4px on the nav band, 3px on buttons, 2px on inputs, 0 on everything else. Boxes are square.
- Frames: 2px petrol (
--ib-frame) on the index box, the chosen pricing plan and one side box per page. Everything else is a 1px--ib-linerule. - Shadows: none, except the 1px inner highlight on buttons and a pressed inset when clicked.
- Layout: a 1180px page with a two-column document grid: text on the left, the 320px index box on the right. Single-column pages keep text to 760px. On phones the index box drops below the text.
- Spacing is tight and even: 16px padding in boxes, 36px above section headings.
- Motion: none. Hover thickens the underline.
Components (in components.css)
| Class | What it is |
|---|---|
body.ib, .ib-page |
Page base and the 1180px container |
.ib-mast, .ib-brand, .ib-tile, .ib-wordmark, .ib-motto |
Masthead: gradient logo tile with an inline SVG, serif wordmark, italic motto right |
.ib-nav, .ib-nav-end |
The petrol band. Current item gets aria-current (darker cell, underline). Scrolls sideways on phones. |
.ib-doc, .ib-doc--single, .ib-main |
Two-column document grid, or a single 760px column |
.ib-index |
The framed index box with a nested list |
.ib-h1, .ib-h2, .ib-h3, .ib-lead, .ib-meta, .ib-eyebrow, .ib-num |
Type helpers |
.ib-btn, .ib-btn--go, .ib-btn--big, .ib-btns |
Raised gray system button, the petrol primary, a larger size, a button row |
.ib-box, .ib-box--framed, .ib-box--wash, .ib-card, .ib-grid |
Square boxes and an auto grid of small cards |
.ib-note |
Pale yellow note with a left bar |
.ib-badge, .ib-badge--ok |
Small mono tags in a square outline |
.ib-table-wrap, .ib-table |
Ruled data table, petrol head, zebra rows |
.ib-form, .ib-field, .ib-label, .ib-hint, .ib-input, .ib-select, .ib-check, .ib-fieldset |
Forms with slightly inset fields |
.ib-plans, .ib-plan, .ib-plan--pick, .ib-plan-head, .ib-plan-name, .ib-price |
Pricing cards; the chosen one gets the petrol frame |
.ib-article, .ib-byline, .ib-pre, .ib-figure, .ib-list |
Article column, byline rule, code block, ruled figure with serif italic caption |
.ib-foot, .ib-foot-links, .ib-stamp |
Footer link row and the italic "last updated" stamp |
Pages in this kit
demo.html: landing page. Intro paragraph full of links, today's table and a drawn tide curve, a release line with system buttons, a note, three feature boxes, supporter wordmarks, and the index box on the right.pricing.html: three plans (free, member, club), a comparison table and a short FAQ as a definition list.blog.html: a keeper's note with byline, note box, an SVG figure, a code block and the index box.signup.html: a membership form beside a framed "what you get" box.
Page recipe
- Masthead: logo tile and wordmark left, two-line italic motto right.
- The petrol nav band directly under it, with Search pushed to the far right.
.ib-doc: the main text on the left,.ib-indexon the right listing the whole site.- Open with one plain paragraph full of underlined links, not a slogan.
- Sections are an
.ib-h2and plain content: tables, lists, small boxes. No hero image, no big gradients. - Footer: centered link row and an italic "This page was last updated on ..." stamp.
Pricing recipe: .ib-doc--single, an .ib-h1, one lead paragraph, .ib-plans with the chosen plan as .ib-plan--pick and its button as .ib-btn--go, then a comparison .ib-table and a <dl> FAQ.
Article recipe: .ib-doc with .ib-article in the main column and the index box beside it. Eyebrow, title, .ib-byline, short paragraphs, .ib-h2 sections, one .ib-note, an .ib-figure with an italic caption, .ib-pre for code, previous and next as gray buttons.
Sign-up recipe: a single column with the form at 520px and a .ib-box--framed beside it. Labels above fields, one fieldset for a choice, one .ib-btn--go and one plain button.
Don'ts
- Don't remove link underlines or turn links into pill buttons.
- Don't round the boxes or add soft shadows. Square and flat.
- Don't use petrol or sky as section backgrounds. The page stays white.
- Don't add a hero image or a big marketing headline on the landing page. Lead with a paragraph.
- Don't use more than one framed box per column; the frame is what draws the eye.
- Don't use em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.