Morning footer with an emergency line
A closing footer that ends the night with Good morning, a large serif call to book, a ruled emergency line, section links and a concept note.
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.
491 words
# Morning footer with an emergency line One footer 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 Close a health page warmly and responsibly: one last invitation, the emergency numbers in plain view, and quiet small print. ## Structure 1. eyebrow 'Good morning' 2. large serif h2 3. one line 4. a pill that opens the assistant with the booking answer, and an email link 5. emergency block between two rules: a label and one sentence 6. row: serif wordmark, footer nav, place line ## Type Heading Libre Caslon Display 400 clamp(44px, 6.6vw, 116px)/1. Line and emergency text Anek Latin clamp(17px, 1.3vw, 19px)/1.5. Labels Anek 600 12px capitals tracking .16em. Links Anek 15px. Small print 13px/1.6. ## Colour Ground #1A0D18, text #F2EADF, emergency label #CFE56A, rules rgba(242,234,223,.16), small print and place line #B79BB0, links lime on hover. ## Spacing and lines Padding clamp(120px, 18vh, 200px) top, 40px bottom. Emergency block clamp(104px, 15vh, 168px) under the actions, 30px padding, label and text in a 3 to 9 grid. Row padding 44px top, 36px bottom. ## Behaviour Heading, line and actions reveal as the rest of the page. The pill opens the side assistant and returns focus to itself on close. ## Responsive The emergency block stacks under 700px; links wrap. ## Accessibility Footer landmark, nav labelled Footer, links 44px tall, emergency text always visible. ## Built values (from code.html) - Fonts: Libre Caslon Display 400 (self-hosted: fonts/libre-caslon-display-400.woff2); Anek Latin 100 to 800 (self-hosted: fonts/anek-latin-400.woff2). Self-hosted files sit in fonts/ in the block download. - Colour variables: --aub #22121F, --aub-deep #1A0D18, --plum #3A2136, --linen #F2EADF, --mauve #B79BB0, --lime #CFE56A, --ink #22121F, --ink-2 #5E4459, --line-d rgba(242,234,223,.16), --line-d2 rgba(242,234,223,.3), --line-l rgba(34,18,31,.16), --line-l2 rgba(34,18,31,.34). - Font variables: --serif "Libre Caslon Display", "Baskerville", Georgia, serif; --sans "Anek Latin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif. - Size variables: --gut-l max(112px, 8vw), --gut-r max(40px, 6vw). - Media queries: max-width 699px, prefers-reduced-motion, hover-capable pointer. - No media files. - Script: yes, a small inline script. ## Content to replace - [Eyebrow]: Good morning - [Heading]: Start with one visit this week. - [Emergency]: Call 911 or your local emergency number; call or text 988 - [Small print]: a concept note ## 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
Footer
Same page





