MediaWiki:Print.css
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Do not print:
1: Message boxes, project boxes, navigation boxes, categories, and disambig links.
2: Privacy, about, disclaimer, redirect and section edit links.
3: Show/hide toggles for collapsible elements.
4: metadata and noprint elements.
Note: People may want not to see these element for pages printed in any namespaces.
*/
.ambox, .tmbox, .dablink, .catlinks, .collapsible span.action,
.toc, .editlink, .editsection, .subpages,
#filetoc, #footer-places, #page-status,
.metadata, .noprint { display: none; }
/* Show elements meant to be displayed when printed, use fallbacks when needed. */
div.expand-print, div.printonly { display: block !important; }
span.expand-print, span.printonly { display: inline !important; }
table.collapsible tr, div.collapsible > div.body { display: block !important; }
table.collapsible tr { display: table-row !important; }
/* Don't expand external links (see http://en.wikibooks.org/w/skins/common/commonPrint.css) */
cite a.external.text:after,
.citation a.external.text:after,
.nourlexpansion a.external.text:after,
.nourlexpansion a.external.autonumber:after {
display: none !important;
#content a.external.text:after,
#content a.external.autonumber:after {
content: none;
}
}
/* Hiding some items when printing with Monobook skins */
.skin-monobook #column-one,
.skin-monobook #f-poweredbyico,
.skin-monobook #f-copyrightico
{
display: none;
}
/* wikitable class for skinning normal tables */
table.wikitable { margin: 1em 1em 1em 0em; border: 1px #aaaaaa solid; border-collapse: collapse; }
table.wikitable th, .wikitable td { border:1px #aaaaaa solid; padding: 0.2em; }
table.wikitable th { text-align: center; background: #F2F2F2; font-weight: bold; }
table.wikitable caption { font-weight: bold; }
.printfooter, #footer { clear:both; }