Payment tiles, a visitor card and three safety rules
A heading with four payment method tiles, a mint card of three numbered visitor steps, and three safety points under ink rules.
Links in the preview stay on the block.
Open on its ownThe 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.
537 words
# Payment tiles, a visitor card and three safety rules One features 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 Answer how people pay, and how visitors pay, without a logo wall. ## Structure 1. left: heading, lede, a 2 x 2 grid of white tiles with the method name and its Chinese name 2. right: a mint 28px card with a heading and three numbered steps in jade circles 3. below: three columns, each with a 1px ink top rule, a bold title and one line ## Type Geologica 500 and 600 for display and UI, Geologica 400 for text; Chinese in Noto Sans SC 400, 500 and 700 subsets. ## 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 Tiles 18px radius with 18px x 20px padding; card padding clamp(24px, 3vw, 40px); safety row clamp(56px, 7vw, 96px) above. ## Behaviour Tiles and points rise in on enter. ## Responsive One column under 900px; tiles and safety points one column under 720px. ## Accessibility Lists for methods, steps and points; the visitor card is an aside with its own heading. ## 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 900px, max-width 720px, 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 - [Methods]: four names with Chinese names - [Visitor steps]: three short steps - [Safety]: three titles with one line each ## 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.
More like this
Features
Same page



