MediaWiki:Print.css
Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will affect the print output */
* {
border-style: none !important;
}
.tabs-content {
display: block !important;
}
.tabs-container {
border-style: none !important;
}
img {
display: block !important;
page-break-inside: avoid !important;
max-width: 100% !important;
height: auto !important;
}
.tabs-container img {
margin-left: auto;
margin-right: auto;
display: block
}
.tabs-container td {
display: block !important;
padding: 5px !important;
page-break-inside: avoid !important;
}
.tabs-container tr {
border-style: none !important;
}
h1 {
border-style: solid !important;
text-align: center !important;
}
h2 {
page-break-before: always !important;
border-bottom-style: solid !important;
}
h3, h4 {
border-style: solid !important;
}
.tabs-label,
.radio {
display: none !important;
visibility: hidden !important;
}
.toc {
display: none !important;
}
input[type=radio] {
display: none !important;
}
.mw-empty-elt {
display: none !important;
}