The warning message itself
A quiet proof section showing the product's whole output: a timestamp on the left and the one message it sends, set in mono at display size.
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.
748 words
# The warning message itself One proof 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 A proof section for a service whose whole output is one alert: the time it was sent on the left, the message itself on the right. ## Structure 1. section on a pale ground, with an id 2. a container holding a two column grid, 3 and 9 of 12 3. the send time, large, mono, left to right 4. a heading in the second column 5. the message paragraph, two times picked out ## Type Outfit 300 to 500 for the heading, Atkinson Hyperlegible Mono 400 for time, message and tag, Zain 400 and 700 for Arabic, all Google Fonts. Heading 300 clamp(36px, 5.6vw, 72px)/1.04 with -.035em, in Arabic 700 at 1.12 times that size, line height 1.38. Time 400 clamp(40px, 5vw, 72px)/1. Message 400 clamp(22px, 3vw, 40px)/1.5 at 24em, in Arabic 700 clamp(26px, 3.5vw, 46px)/1.7. Tag 400 12px/1.5. Body 18px/1.5, 20px/1.8 Arabic. ## Colour Ground #E9EDF0, ink #0F1B24 for heading and message, muted #5E6B75 for the time, tag border #C9D1D7 with muted text, teal #076F76 for the two picked out times and the focus ring. AA: ink, muted and teal on ground. ## Spacing and lines Section padding clamp(112px, 15vw, 220px) top and bottom. Container max width 1280px, side padding clamp(20px, 5vw, 72px). Grid 3fr and 9fr, gap clamp(28px, 4vw, 64px), the time aligned to the start of its column. Heading capped at 12em, clamp(36px, 5vw, 72px) above the message. Tag 28px under it, padding 5px by 10px, border 1px, radius 2px. ## Behaviour Time, heading, message and tag each rise 20px and fade in over 700ms the first time the section comes into view, 60ms apart, from one IntersectionObserver at a 0.12 threshold that unobserves each item once it lands. Nothing loops. Language is switched by the lang attribute on the html element: every piece of copy holds both languages in sibling spans and one rule hides the one that does not match, so the swap is instant and the layout holds. ## Responsive At 760px and under the grid becomes one column, so the time sits above the heading at 44px and the message runs full width. ## Accessibility The heading is an h2, the section carries an id. The time sits in a left to right isolate so it reads correctly either way. The picked out times are b elements and are also stated in the sentence, so colour is not the only carrier. Focus ring 2px teal, offset 3px. ## Built values (from code.html) - Fonts: Outfit 300, 400, 500 (Google Fonts); Atkinson Hyperlegible Mono 400 (Google Fonts); Zain 400, 700 (Google Fonts). - Colour variables: --fog #E9EDF0, --ink #0F1B24, --muted #5E6B75, --line #C9D1D7, --teal #076F76. - Font variables: --sans "Outfit", system-ui, sans-serif; --mono "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace; --arab "Zain", "Noto Naskh Arabic", system-ui, sans-serif. - Size variables: --bar 56px, --ruler 76px, --gut clamp(20px, 5vw, 72px), --h1 clamp(44px, 8vw, 96px), --h2 clamp(36px, 5.6vw, 72px). - Media queries: max-width 760px. - No media files. - Script: yes, a small inline script. ## Script Carry two languages in one layout: every string has both versions in the markup and the root lang attribute decides which one shows, so switching is one attribute and no reload. Set the second script a step larger than the Latin so the two read at the same weight, and give it its own line height. ## Content to replace - [Time]: the send time - [Heading]: one sentence on how little is sent - [Message]: the alert: what, where, what to do - [Picked out figures]: the two times taking the accent - [Second language]: heading, message and tag translated ## 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
Proof
Same page





