Packs / web-development-public
minimal-website
Editorial one-page site (portfolio, studio or solo product) in plain HTML/CSS: sticky translucent bar, display statement, numbered work list, about with facts, big contact link with copy-to-clipboard, automatic dark mode. No framework, no webfont.
Install
logicpacks pack use web-development-public/minimal-websiteget_pack web-development-public/minimal-websiteThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
static-local - Checks: 2 in
outcome/checks.yaml - Code:
_shots/shot-1280-rm.png_shots/shot-1280.png_shots/shot-390-rm.png_shots/shot-390.pngindex.htmlsite.jsstyle.css - Tools: python3, playwright-python, chromium
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A one-page site that feels designed with almost nothing: one typeface (system stack), one accent color, generous whitespace, strict alignment. Loads instantly, reads well on a phone, and gets the visitor to the contact line.
Steps
- Copy
code/and replace the copy: one statement headline (12-18 words,max-width: 18ch), 3 meta facts, 3-6 work items, an about paragraph with 3 facts, a contact email. - Tune tokens in
:root:--bg,--fg,--muted,--line,--accent,--pad,--max. Dark mode comes fromprefers-color-scheme. - Keep the rhythm: section label (small caps) -> content -> 96-120 px gap; every section starts with a 1 px rule.
- Work list rows are links: index, title, kind/year, arrow. Hover shifts the row 8 px and colors it with the accent. On phones the kind moves under the title.
- Contact: big mailto link with
overflow-wrap: anywhere(long emails must not overflow), plus a Copy email button with an aria-live status. - Set
<title>and meta description; run the outcome checks.
Edge cases
- Long names or emails at 390 px: fluid
clamp()type andoverflow-wrapprevent horizontal scroll. color-mix()on the sticky bar needs a modern browser; older ones fall back to a transparent bar (still readable).- Clipboard API blocked (http, iframe): fallback message shows the address to copy by hand.
Don'ts
- No more than one accent color and one typeface family.
- No carousels, parallax or entrance animations on a minimal site.
- Do not center everything; left-align on a grid.
- Do not copy text, layout code or images from the Internal Gallery mirrors.