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 everything | /* Hide everything */ | ||
body * { | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Show title */ | ||
#firstHeading { | #firstHeading { | ||
display: block !important; | display: block !important; | ||
| Line 12: | Line 12: | ||
} | } | ||
/* | /* Show infobox wherever MW places it */ | ||
table.ic-infobox, | |||
table.infobox { | |||
display: table !important; | display: table !important; | ||
float: right !important; | float: right !important; | ||
width: 35% !important; | width: 35% !important; | ||
} | } | ||
} | } | ||
Revision as of 01:33, 25 December 2025
@media print {
/* Hide everything */
body * {
display: none !important;
}
/* Show title */
#firstHeading {
display: block !important;
margin-bottom: 0.5em;
}
/* Show infobox wherever MW places it */
table.ic-infobox,
table.infobox {
display: table !important;
float: right !important;
width: 35% !important;
}
}