MediaWiki:Print.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
@media print { | @media print { | ||
/* Hide | /* Hide all article content */ | ||
#mw-content-text > * { | #mw-content-text > * { | ||
display: none !important; | |||
} | } | ||
/* Keep the title */ | /* Keep the page title */ | ||
#firstHeading { | #firstHeading { | ||
display: block !important; | |||
} | } | ||
/* Keep the infobox */ | /* Keep the agent infobox */ | ||
#mw-content-text table.ic-infobox { | #mw-content-text table.ic-infobox { | ||
display: table !important; | |||
float: right; | |||
width: 35% !important; | |||
} | } | ||
/* Remove footer / chrome */ | |||
.mw-footer, | |||
#mw-navigation, | |||
.mw-editsection, | |||
.toc { | |||
display: none !important; | |||
} | |||
} | } | ||