Column of seals as chapter navigation

Five small seal squares down the right edge, one Chinese character per chapter: outlined red when unread, solid red with paper characters when current, with an English label on hover and focus; a bottom row on phones.

NavigationFreeFrom Hongyin, GuochaoChinese or JapaneseAbout 3k tokens saved
The whole page

Scroll inside the frame to see the rail beside a page. Links in the preview stay on the block.

Open on its own

The prompt

One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.

562 words
Download .zip
# Column of seals as chapter navigation

One navigation component, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML.

## Goal
Chapter navigation for a national-trend brand where each link is a seal mark.

## Structure
1. fixed rail centred on the right edge, five 44px squares 12px apart
2. each square: 1.5px red border, one heavy Song character
3. a rice label to the left on hover and focus

## Type
Gloock 400 for Latin display, Noto Serif SC 900 for Chinese display and seal characters, Hanken Grotesk 400 to 600 for text and UI.

## Colour
Ink #15110E, soot #231D19, rice #F3ECE0, rice mute #CFC4B5, paper #FBF7F0, line #DDD2C2, lacquer red #B5121B (paper on it 6.8:1), light red #E0262F only for large type on ink, brown #5C5148 for quiet text on paper.

## Spacing and lines
Rail right offset max(12px, gutter minus 24px).

## Behaviour
The chapter in the middle of the viewport sets aria-current, which fills the square; squares nudge 3px left on hover; the rail swaps to lacquer outlines over paper chapters and paper outlines over the red close.

## Responsive
Under 900px the rail becomes a full-width bottom bar of five squares spread evenly, with a hairline top border, and the body gains 64px bottom padding.

## Accessibility
A nav landmark with an ordered list; each link has lang zh-CN on the character and an English label; 44px targets; focus outline 2px red offset 3px.

## Built values (from code.html)
- Fonts: Gloock 400 (self-hosted: fonts/gloock-400.woff2); Hanken Grotesk 400 (self-hosted: fonts/hanken-400.woff2); Hanken Grotesk 500 (self-hosted: fonts/hanken-500.woff2); Hanken Grotesk 600 (self-hosted: fonts/hanken-600.woff2); Hongyin Song 900 (self-hosted: fonts/noto-serif-sc-900.woff2). Self-hosted files sit in fonts/ in the block download.
- Colour variables: --ink #15110E, --soot #231D19, --soot-line #3A312B, --rice #F3ECE0, --rice-mute #CFC4B5, --paper #FBF7F0, --line #DDD2C2, --lacquer #B5121B, --lacquer-deep #8F0E16, --red-lit #E0262F, --smoke #8A7F75, --brown #5C5148.
- Font variables: --display "Gloock", "Songti SC", Georgia, serif; --song "Hongyin Song", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif; --sans "Hanken Grotesk", "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif.
- Size variables: --gut clamp(16px, 4.6vw, 64px), --rail 72px, --max 1280px, --bar 76px, --pad clamp(104px, 13vw, 192px).
- Media queries: max-width 900px, max-width 640px, prefers-reduced-motion.
- No media files.
- Script: none, CSS only.

## Script
Set the Chinese or Japanese text in a CJK face with its own letter spacing and a looser line height than the Latin text, with strict line breaking and the palt feature on. Latin words inside a CJK line sit on the same baseline.

## Content to replace
- [Chapters]: five single characters, each with an English label

## Rules
Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA.

## Output
Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.

Same page

More from Hongyin

See the page