MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 965: | Line 965: | ||
#siteNotice > .mw-dismissable-notice .mw-dismissable-notice-body { | #siteNotice > .mw-dismissable-notice .mw-dismissable-notice-body { | ||
padding-right: 40px !important; | padding-right: 40px !important; | ||
} | |||
/* =============================== | |||
Printable version (screen) | |||
=============================== */ | |||
body.mw-printable-view #mw-content-text > * { | |||
display: none !important; | |||
} | |||
/* Re-show the agent infobox */ | |||
body.mw-printable-view #mw-content-text table.ic-infobox { | |||
display: table !important; | |||
float: right; | |||
width: 35% !important; | |||
} | |||
/* Ensure the title stays visible */ | |||
body.mw-printable-view #firstHeading { | |||
display: block !important; | |||
} | |||
/* Optional: remove leftover UI noise */ | |||
body.mw-printable-view .toc, | |||
body.mw-printable-view .mw-editsection, | |||
body.mw-printable-view #siteNotice { | |||
display: none !important; | |||
} | } | ||