MediaWiki:Print.css: Difference between revisions
Jump to navigation
Jump to search
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; | |||
} | |||
} | } | ||
Revision as of 01:16, 25 December 2025
@media print {
/* Hide all article content */
#mw-content-text > * {
display: none !important;
}
/* Keep the page title */
#firstHeading {
display: block !important;
}
/* Keep the agent 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;
}
}