v1.31.0
conocimientowebapp-layoutpatterns/

print-styles.md

Referencia que webapp-layout carga bajo demanda desde su SKILL.md.

webapp-layoutskill
patternscarpeta
1160 Btamaño
2026-10-03último cambio del pack

Skill: webapp-layout

Estilos CSS para impresion de paginas web de la organización.


Media Print

@media print {
    /* Ocultar navegacion */
    nav, .sidebar, .header-actions, footer, .no-print { display: none !important; }

    /* Layout a ancho completo */
    .content { width: 100%; margin: 0; padding: 0; }

    /* Colores para impresion */
    body { color: #000; background: #fff; font-size: 12pt; }
    a { color: #000; text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }

    /* Control de page */
    h1, h2, h3 { page-break-after: avoid; }
    table, figure { page-break-inside: avoid; }
    .page-break { page-break-before: always; }

    /* Header impreso */
    .print-header {
        display: block !important;
        text-align: center;
        border-bottom: 2px solid #33475B;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }
    .print-header img { max-height: 50px; }
}

Uso

Agregar clase no-print a elementos que no deben imprimirse. Agregar clase page-break donde se necesite salto de pagina.


Pattern 1.0.0

← Volver a la ficha de webapp-layout

Ovillo v1.31.0tag v1.31.0 (2026-10-06) · sin decisiones posteriores69 skills · 19 agents · 22 hooks · 3 reglas · 15 tools · 103 decisionesfuente: ovillo/.claude/skills/webapp-layout/patterns/print-styles.mdCopyright 2026 Hugo Valer Rojas · Apache-2.0