MediaWiki:Print.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "@media print { #mw-content-text > * { display: none !important; } #firstHeading { display: block !important; } #mw-content-text table.ic-infobox { display: table !important; float: right; width: 35%; } }" |
No edit summary |
||
| Line 1: | Line 1: | ||
@media print { | @media print { | ||
/* Hide everything inside article content */ | |||
#mw-content-text > * { | |||
display: none !important; | |||
} | |||
/* Keep the title */ | |||
#firstHeading { | |||
display: block !important; | |||
} | |||
/* Keep the infobox */ | |||
#mw-content-text table.ic-infobox { | |||
display: table !important; | |||
float: right !important; | |||
width: 35% !important; | |||
} | |||
} | } | ||
Revision as of 01:15, 25 December 2025
@media print {
/* Hide everything inside article content */
#mw-content-text > * {
display: none !important;
}
/* Keep the title */
#firstHeading {
display: block !important;
}
/* Keep the infobox */
#mw-content-text table.ic-infobox {
display: table !important;
float: right !important;
width: 35% !important;
}
}