Difference between revisions of "MediaWiki:Print.css"
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
#content, | #content, | ||
body { font-size: 8pt !important; } | body { font-size: 8pt !important; } | ||
− | h1 { font-size: | + | h1 { font-size: 14pt } |
− | h2 { font-size: | + | h2 { font-size: 12pt } |
h3 { font-size: 11pt } | h3 { font-size: 11pt } | ||
h4 { font-size: 9pt } | h4 { font-size: 9pt } | ||
Line 20: | Line 20: | ||
#firstHeading { diplay:none;} | #firstHeading { diplay:none;} | ||
ol.references {display: 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; }