{"success":true,"name":"add-a-print-stylesheet-when-pages-will-be-printed","description":"Users will print this page (fiches, reports, invoices) and printing is untested.","category":"ai-brimind","path":"ai-brimind/add-a-print-stylesheet-when-pages-will-be-printed/SKILL.md","file":"SKILL.md","content":"---\nname: add-a-print-stylesheet-when-pages-will-be-printed\ndescription: \"Users will print this page (fiches, reports, invoices) and printing is untested.\"\n---\n\n# Add a Print Stylesheet When Pages Will Be Printed\n\n## When to use\nA page's real usage includes printing or save-as-PDF (member sheets, reports, receipts), and no print-specific styles exist.\n\n## Example request\nPrinted page includes the nav bar, buttons, and footer chatter → ink spent on UI that means nothing on paper — screen furniture printed. Dark-background sections print as giant black rectangles → unreadable and toner-devouring — screen theme on paper. A member card splits across two pages mid-chart → the unit of meaning is cut in half — no page-break control.\n\n## Instructions\nAct like a developer who considers paper (and save-as-PDF) a second render target with its own rules. When a page will genuinely be printed: (1) add @media print styles that REMOVE the screen furniture — nav, buttons, inputs, footers, backgrounds — leaving only the content the paper is for; (2) restyle for paper: dark themes become dark-text-on-white (browsers often skip background colors by default — design for that instead of fighting it), font sizes in print-appropriate scales, and full-width content since paper has no viewport chrome; charts and canvas-rendered visuals deserve a check — they may need print-friendly variants or higher-contrast rendering; (3) control PAGE BREAKS deliberately: break-inside: avoid on units that must stay whole (a card, a chart with its title, a table row group), break-before where new sections should start fresh pages — the difference between a professional document and a shredded one; (4) links: visible URL matters on paper for key references (CSS can append href content) since paper can't be clicked; (5) TEST via print preview (and an actual PDF) at A4 — the preview is one keystroke and reveals everything. Only proceed once the printed artifact looks like it was designed, because it was.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #1195\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}