MediaWiki:Print.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
@media print { | @media print { | ||
/* hide common content blocks */ | |||
.mw-parser-output > p, | |||
.mw-parser-output > ul, | |||
.mw- | .mw-parser-output > ol, | ||
. | .mw-parser-output > dl, | ||
. | .mw-parser-output > div, | ||
.mw-parser-output > h2, | |||
.mw-parser-output > h3, | |||
.mw-parser-output > h4, | |||
.mw-parser-output > h5, | |||
.mw-parser-output > h6, | |||
.mw-parser-output > table:not(.ic-infobox):not(.infobox), | |||
.mw-parser-output > figure { | |||
display: none !important; | display: none !important; | ||
} | |||
/* show title */ | |||
#firstHeading { | |||
display: block !important; | |||
} | |||
/* show infobox */ | |||
table.ic-infobox, | |||
table.infobox { | |||
display: table !important; | |||
float: right; | |||
width: 35%; | |||
} | } | ||
} | } | ||