Difference between revisions of "MediaWiki:Print.css"

From WikiPETia.info

(Lower bottom margin)
(Fix table font size)
 
(2 intermediate revisions by the same user not shown)
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, td, .printfooter, #footer { font-size: 10pt; }
  
.wikitable, .thumb, img { page-break-inside: auto; }
+
* { page-break-inside: avoid; page-break-after: avoid; page-break-before: avoid; }
  
h1, h2, h3, h4, h5, h6 { page-break-after: auto; margin-bottom: 0em; }
+
.toc, h1#firstHeading, h1, h2, h3, h4, h5, h6 { margin-bottom: 0; margin-top: 0; }

Latest revision as of 14:09, 11 April 2016

/* CSS placed here will affect the print output */

p, li, td, .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; }