A day as four timestamped photo legs

Four columns, each a large time, a service chip, a tall photo and a route with its fare, closed by a total for the day.

How it worksFreeFrom Yilu, Super-appAbout 5k tokens saved
The whole 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.

490 words
Download .zip
# A day as four timestamped photo legs

One how it works section, 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
Tell a product's range as one ordinary day, leg by leg.

## Structure
1. heading and lede
2. ordered list of four legs: time, mode chip with icon and Chinese name, 3:4 photo with 24px radius, route and price
3. a total row on a hairline: one sentence and the sum

## Type
Geologica 500 and 600 for display and UI, Geologica 400 for text; Chinese in Noto Sans SC 400, 500 and 700 subsets. Times 500 clamp(34px, 3.4vw, 52px), tabular.

## Colour
Pearl #F4F5F1, white #FFFFFF, ink #0D1411, graphite #56605B, line #DDE2DC, mint wash #E3F1EB, deep jade #007A5A for buttons and text (white on it 5.3:1), bright jade #19C58F for the scan line and the night chapter, night #0A1712.

## Spacing and lines
Four columns with 16px gaps; 40px above the total.

## Behaviour
Cards rise in as they enter; the photo scales to 1.04 on hover over 900ms.

## Responsive
Two columns under 1080px; under 720px a horizontal scroll-snap row at 78% card width that runs to the screen edge.

## Accessibility
An ordered list in time order; every photo has alt text; prices are text, not images.

## Built values (from code.html)
- Fonts: Geologica 400 (self-hosted: fonts/geologica-400.woff2); Geologica 500 (self-hosted: fonts/geologica-500.woff2); Geologica 600 (self-hosted: fonts/geologica-600.woff2); Yilu SC 400 (self-hosted: fonts/noto-sans-sc-400.woff2); Yilu SC 500 (self-hosted: fonts/noto-sans-sc-500.woff2); Yilu SC 700 (self-hosted: fonts/noto-sans-sc-700.woff2). Self-hosted files sit in fonts/ in the block download.
- Colour variables: --pearl #F4F5F1, --white #FFFFFF, --ink #0D1411, --graphite #56605B, --line #DDE2DC, --line-2 #C9D0C9, --mint #E3F1EB, --jade #00936D, --jade-deep #007A5A, --jade-bright #19C58F, --night #0A1712, --night-2 #12241D, --night-line #24392F, --night-text #E8EFEA.
- Font variables: --sans "Geologica", "Yilu SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif.
- Size variables: --gut clamp(16px, 4.4vw, 56px), --max 1240px, --bar 64px, --pad clamp(96px, 12vw, 176px).
- Media queries: max-width 1080px, max-width 720px, prefers-reduced-motion.
- Media: assets/bikes.webp (1800x949), assets/rail.webp (1800x1200), assets/harbour.webp (1800x949), assets/night-road.webp (2000x1333).
- Script: none, CSS only.

## Content to replace
- [Times]: four 24-hour times
- [Routes]: from and to, short
- [Total]: the sum of the fares

## 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.

Media to supply

The photos and video on the live page are licensed for this showcase, so the code points at an assets folder instead. Drop your own files in with these names, or change the paths: bikes.webp, rail.webp, harbour.webp, night-road.webp

More like this

How it works

Every how it works block

Same page

More from Yilu

See the page