Difference between revisions of "MediaWiki:Print.css"
m |
m |
||
| (4 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 */ | ||
| − | #siteSub { display: none; } | + | @media print { |
| − | #firstHeading { diplay:none;} | + | #footer, |
| − | . | + | #content, |
| + | body { font-size: 8pt !important; } | ||
| + | h1 { font-size: 14pt } | ||
| + | h2 { font-size: 12pt } | ||
| + | h3 { font-size: 11pt } | ||
| + | h4 { font-size: 9pt } | ||
| + | h5 { font-size: 8pt } | ||
| + | h6 { | ||
| + | font-size: 8pt; | ||
| + | font-weight: normal; | ||
| + | } | ||
| + | #catlinks, .catlinks { display: none; } | ||
| + | #footer { display: none; } | ||
| + | .printfooter { display: none; } | ||
| + | #siteSub { display: none; } | ||
| + | #firstHeading { diplay:none;} | ||
| + | ol.references {display: none;} | ||
| + | } | ||
| − | |||
| − | + | /* disable external links from showing in the printable version of a page */ | |
| − | + | ||
| − | + | #content a.external.text:after, | |
| + | #content a.external.autonumber:after { | ||
| + | content: none; | ||
| + | } | ||
Latest revision as of 16:20, 20 November 2019
/* CSS placed here will affect the print output */
@media print {
#footer,
#content,
body { font-size: 8pt !important; }
h1 { font-size: 14pt }
h2 { font-size: 12pt }
h3 { font-size: 11pt }
h4 { font-size: 9pt }
h5 { font-size: 8pt }
h6 {
font-size: 8pt;
font-weight: normal;
}
#catlinks, .catlinks { display: none; }
#footer { display: none; }
.printfooter { display: none; }
#siteSub { display: none; }
#firstHeading { diplay:none;}
ol.references {display: none;}
}
/* disable external links from showing in the printable version of a page */
#content a.external.text:after,
#content a.external.autonumber:after {
content: none;
}