Difference between revisions of "MediaWiki:Print.css"
From WikiPETia.info
(Try page breaks and font size fix) |
|||
Line 1: | Line 1: | ||
/* CSS placed here will affect the print output */ | /* CSS placed here will affect the print output */ | ||
− | p, li { font-size: 10pt; } | + | p, li, .printfooter, #footer { font-size: 10pt; } |
− | + | * { page-break-inside: avoid; page-break-after: avoid; page-break-before: avoid; } | |
− | h1#firstHeading, h1, h2, h3, h4, h5, h6 { | + | .toc, h1#firstHeading, h1, h2, h3, h4, h5, h6 { margin-bottom: 0; margin-top: 0; } |
Revision as of 14:07, 11 April 2016
/* CSS placed here will affect the print output */ p, li, .printfooter, #footer { font-size: 10pt; } * { page-break-inside: avoid; page-break-after: avoid; page-break-before: avoid; } .toc, h1#firstHeading, h1, h2, h3, h4, h5, h6 { margin-bottom: 0; margin-top: 0; }