Spine Shelf.
A near-black reading room of condensed serif titles, bracketed mono labels and a shelf of drawn spines. Near-black pages with warm paper text, a faint film grain and square hairline ledgers instead of cards. Instrument Serif headlines switch between roman and italic, DM Mono labels sit in [ brackets ], and one muted celadon accent marks the main action. The signature move is a shelf of colored spines with titles running up their sides, plus a slow marquee of italic and roman titles.
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 Spine Shelf 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 Spine Shelf style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A quiet, near-black reading room. Tall condensed serif titles alternate roman and italic, tiny uppercase mono labels sit inside [ brackets ], and everything else is hairline rules, square corners and a faint film grain. The signature object is a shelf of drawn spines: each product, issue or plan is a colored spine with its title running up the side. It feels collected, literary and unhurried, like a small press or an archive you would want to own every number of.
Use it for: publishers and small presses, subscriptions with numbered issues, specialty food and drink, galleries and archives, editorial products, collections of any kind. Avoid it for: dashboards and dense product UI, kids and family, anything that needs to feel loud, bright or quick.
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 Spine Shelf 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.
Put class="ss" on <body>. demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages built only with the kit, for a made-up single-estate tea subscription.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Display | Instrument Serif 400, roman and italic | Hero, section headings, plan names, big numbers, quotes, spine titles. Never bold. |
| Body | Newsreader 400 | Paragraphs, leads, form inputs, table cells. |
| Labels | DM Mono 400 | Every label, nav link, button, meta line and number tag. Always uppercase, tracked 0.08em, 12 to 13px. |
The rule that makes the style: in every headline, set one or two words in italic (.ss-it). Roman, then italic, then roman. In a marquee, alternate whole items.
Color
| Token | Hex | Role |
|---|---|---|
--ss-night |
#0C0C0B | The page. Never pure black |
--ss-night-2 |
#141412 | Raised sections, the featured plan, the sign-up side panel |
--ss-line |
#2E2C28 | Hairlines between rows and cells |
--ss-line-strong |
#4A4740 | The rule under the top bar, the top of lists and tables, button borders |
--ss-paper |
#E6E0D2 | Headlines and body text |
--ss-soft |
#A19B8E | Leads, soft labels, secondary text |
--ss-celadon |
#9FBF9A | The one accent: the main button, one italic word, live dots, drop caps |
--ss-spine-ochre |
#B08A4A | Spines and covers only |
--ss-spine-oxblood |
#6E2D26 | Spines and covers only |
--ss-spine-slate |
#3D4A52 | Spines and covers only |
--ss-spine-bone |
#D9D0BD | Spines and covers only |
--ss-spine-moss |
#4B5A3A | Spines and covers only |
Rules:
- The page is near-black with paper text. Raised sections use --ss-night-2, nothing lighter.
- Celadon appears a few times per screen at most: one button, one word, a dot.
- The spine colors live only on drawn objects (spines, covers, small charts). Never on text, buttons or backgrounds of sections.
- No gradients except the fade at the marquee edges. The grain overlay is on by default through body.ss::before.
Type scale
| Token | Size | Use |
|---|---|---|
--ss-text-hero |
clamp(56px, 8.4vw, 128px) | Hero headline, left aligned, line-height 0.92 |
--ss-text-marquee |
clamp(44px, 6.4vw, 92px) | The title ribbon under the bar |
--ss-text-h2 |
clamp(38px, 5vw, 68px) | Section headings, line-height 1 |
--ss-text-h3 |
28px | Sub-headings, FAQ questions, related titles |
--ss-text-lead |
21px | The sentence under a headline, soft, max 620px |
--ss-text-body |
18px | Body (article prose is 20px) |
--ss-text-label |
12px | Mono labels |
Headlines are short and plain ("Pick a pace", "Three days of rain in Ilam"). Sentence case, no period. A tiny serif note in parentheses can ride on a title as a superscript (.ss-note, "(Tin 041)").
Shape and space
- Corners: square everywhere.
--ss-radiusis 0. The only round things are live dots and the cover's mark. - Borders: 1px hairlines.
--ss-linebetween items,--ss-line-strongat the top of a list, table or plan row and under the bar. - Shadows: none. Depth comes from the spines standing on the shelf line, and from
--ss-night-2sections. - Lists, plans and features sit on a ledger: rows or columns split by hairlines, never floating cards.
- Gutters are tight (16px at the page edge, wide containers up to 1320px). Sections breathe: 72px to 136px vertical.
- Motion: a slow marquee (48s), spines that lift 14px on hover, a 1.1s fade up. Respect reduced motion.
Components (in components.css)
| Class | What it is |
|---|---|
.ss |
Body class: near-black page, paper text, grain overlay, no sideways scroll |
.ss-container, .ss-narrow, .ss-section, --raised, .ss-rule |
Layout and section surfaces |
.ss-label, --soft, .ss-bracket, .ss-dot |
Uppercase mono labels; .ss-bracket wraps text in [ ]; celadon live dot |
.ss-hero-title, .ss-h2, .ss-h3, .ss-it, .ss-accent, .ss-note, .ss-lead |
Display headings, the italic switch, the celadon word, the superscript note, the soft lead |
.ss-bar, __inner, __links, .ss-wordmark, .ss-subbar |
Sticky top bar: mono wordmark left, mono links right, a strong hairline, an optional second row of labels |
.ss-btn, --primary, --text, --block |
Bracketed mono buttons. Outlined by default, solid celadon for the one main action |
.ss-marquee, __track, __item, --on |
Slow ribbon of titles, alternating italic and roman, with edge fades |
.ss-shelf, .ss-spine, --ochre (default), --oxblood/slate/bone/moss/night, --tall/short/wide/lean, __title, __no |
The shelf of drawn spines. Mix colors and heights; lean the last one |
.ss-cover, --oxblood/slate, __title, __mark |
A flat drawn front cover for a featured item or article plate |
.ss-index, __row/__no/__title/__text/__meta |
Numbered ledger rows, the default way to list things |
.ss-grid, .ss-cell |
Three columns of short notes split by hairlines |
.ss-quote |
Large italic display quote with a mono byline |
.ss-stats, .ss-stat, __n |
Big display numbers on a ruled row |
.ss-toggle |
Square mono segmented toggle; the pressed option is paper on night |
.ss-plans, .ss-plan, --featured, __name/__desc/__price/__list |
Plans as columns on one ruled ledger; the featured one sits on --ss-night-2 with the only celadon button |
.ss-table-wrap, .ss-table, __yes/__no |
Ruled comparison table with mono headers; scrolls sideways on phones |
.ss-faq |
<details> list with display questions and a bracketed [+] / [-] |
.ss-prose, .ss-callout, .ss-margin, .ss-meta |
Article body: celadon drop cap, display h2, mono h3, slash bullets, italic pull quote, mono captions; a bordered note; margin facts |
.ss-related, __item/__spine/__title |
Related reading: a thin spine beside a title |
.ss-form, .ss-field, .ss-input, .ss-select, .ss-input-wrap, .ss-input-toggle |
Underlined fields with mono labels; a show or hide toggle inside the password field |
.ss-help, .ss-error, .ss-field--error |
Faint help text; a warm error line and mono message |
.ss-check, .ss-choice |
Square checkbox that fills celadon; a three-way choice strip that fills paper when picked |
.ss-footer, __cols, __mark, __bottom |
Footer: link columns, a giant wordmark set barely lighter than the page, a ruled legal line |
.ss-fade |
Slow entrance |
.ss-hide-sm |
Hide a nav link or spine below 860px |
Pages in this kit
demo.html: landing page (bar, marquee, hero with the shelf, how it works, ledger of recent items, cover and quote, stats, call to action, footer).pricing.html: plans on a ledger with a monthly or yearly toggle, a comparison table, an FAQ and a call to action.blog.html: a long essay with three drawn plates, a margin column of facts, prose and related reading.signup.html: a split page, the form on the left and the member's future shelf on the right.
Page recipe
.ss-barwith the mono wordmark, 3 links and a bracketed "Join". Add a.ss-subbarwith one soft label and one live status..ss-marqueeof the product's item titles, each with an.ss-note, one of them--on.- Hero: a two-column grid, the headline left (2 or 3 lines, one italic phrase, one celadon word), the lead and two buttons bottom right.
- Right under the hero, the
.ss-shelfof 7 to 9 spines in mixed colors and heights, with mono captions under the shelf line. - A
--raisedsection: an h2 on the left and an.ss-gridof three numbered notes on the right. - An
.ss-indexof the last few items, each with a status in__meta. - A
--raisedsection with an.ss-coverbeside an.ss-quote. .ss-stats, then a centered call to action with a hero-size headline, then the footer.
Pricing page recipe
- Bar without the sub row. An intro grid: label, hero headline and lead on the left,
.ss-togglebottom right. .ss-planswith 3 columns. Feature the middle one (--featured, an italic name, a live-dot label, the only primary button). Keep both prices indata-monthlyanddata-yearlyand swap them in a few lines of JS.- One mono line of small print under the ledger.
- A section with a bracketed label, an h2 and an
.ss-tablein.ss-table-wrap. - An FAQ section: h2 on the left,
.ss-faqon the right, the first item open. - A
--raisedcall to action and the footer.
Article page recipe
- Bar, then the header in the wide container: bracketed category label, hero title with one italic word, lead, and a
.ss-metarow on a hairline. - A row of three
.ss-coverplates in different colors. On phones show only the first. - A two-column layout: a sticky
asideof margin facts (label plus.ss-margin) and a tiny bar chart drawn in spine colors, then.ss-proseat 700px. - In the prose: a drop cap on the first paragraph, display h2s with an italic word, mono h3s, slash bullets, one italic blockquote, one
.ss-callout, one<figure>with a mono caption. - End on a ruled line with the author and a text button, then a
--raised.ss-relatedrow and the footer.
Sign-up page recipe
- Two columns, full height. Left: wordmark and a bracketed "Back", then the form block vertically centered, max 480px.
- Bracketed label, an h2 with the celadon word, a one-line lead.
.ss-form: names side by side, email, password in.ss-input-wrapwith a Show toggle, an.ss-choicefor the plan, a select, two.ss-checkboxes, and a block primary button. Show an error with.ss-field--errorand.ss-error.- Right column on
--ss-night-2: a sub row of labels, a short.ss-shelfwith the first spine in color and the rest--night, and an.ss-quoteat the bottom. Hide it below 860px.
Don'ts
- Don't round corners, add shadows or float cards. Use hairlines and ledgers.
- Don't bold the display serif, and don't set a headline fully in roman or fully in italic.
- Don't write labels in sentence case or without the mono font.
- Don't use spine colors on chrome, or add a second accent beside celadon.
- Don't use pure black or pure white.
- 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.
Similar styles
A quiet gallery wall of matted color plates, white serif wordmark and tiny expanded capitals.
A pure black page where every headline says two things, one in white and one in grey.
A warm, bookish style: rounded peach-glow panels, a serif with one italic word and a highlighter swipe.
Warm dark stages framed in paper, lit by one amber lamp.