MediaWiki:Print.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will affect the print output: body { font-size: 8pt !important; }" |
No edit summary |
||
(16 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 */ | ||
body { font-size: | body { margin-top:2cm;margin-bottom:2cm; font-family:Helvetica; font-size: 12pt !important; } | ||
/* <div class="page-break"></div> */ | |||
@media all { .page-break { display: none; }} | |||
/* Remove non-essential elements */ | |||
@media print { | |||
.firstHeading { margin-top: 0; padding-top: 0; } | |||
#siteSub { display: none; } | |||
.printfooter { display: none; } | |||
#catlinks, .catlinks { display: none; } | |||
#footer { display: none; } | |||
.page-break { display: block; page-break-after: always; margin:1cm; content:"Page break";} | |||
} |
Latest revision as of 23:38, 9 December 2013
/* CSS placed here will affect the print output */
body { margin-top:2cm;margin-bottom:2cm; font-family:Helvetica; font-size: 12pt !important; }
/* <div class="page-break"></div> */
@media all { .page-break { display: none; }}
/* Remove non-essential elements */
@media print {
.firstHeading { margin-top: 0; padding-top: 0; }
#siteSub { display: none; }
.printfooter { display: none; }
#catlinks, .catlinks { display: none; }
#footer { display: none; }
.page-break { display: block; page-break-after: always; margin:1cm; content:"Page break";}
}