MediaWiki:Common.css: Difference between revisions

From QuatenusWiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 4: Line 4:
}
}
*/
*/
@media print {
@media print {
   body {
   body {
     font-size: 12pt;
     font-size: 12pt;
    line-height: 1.4;
   }
   }


   h1 {
   h1 {
     font-size: 22pt;
     font-size: 22pt;
    page-break-before: always;
  }
  /* Evita quebra antes do primeiro título */
  h1:first-of-type {
    page-break-before: avoid;
   }
   }


   h2 {
   h2 {
     font-size: 16pt;
     font-size: 16pt;
    page-break-before: always;
    page-break-after: avoid;
   }
   }
  h3 {
    page-break-after: avoid;
  }
  /* Evita tabelas partidas */
  table, tr, td, th {
    page-break-inside: avoid;
  }
  /* Evita blocos de código partidos */
  pre {
    page-break-inside: avoid;
    white-space: pre-wrap;
  }
}
}

Revision as of 11:31, 22 April 2026

/* CSS placed here will be applied to all skins 
body {
  background-color: #F27A35;
}
*/
@media print {
  body {
    font-size: 12pt;
  }

  h1 {
    font-size: 22pt;
  }

  h2 {
    font-size: 16pt;
  }
}