MediaWiki:Print.css: Difference between revisions
Appearance
Created page with "→CSS placed here will affect the print output: →Remove forced page break before special pages: .mw-specialpage { break-before: avoid !important; page-break-before: avoid !important; } →Ensure readable print colors: body, .mw-body, #content { color: black !important; background: white !important; } →Prevent headings from forcing page breaks: h1, h2, h3 { break-after: avoid !important; page-break-after: avoid !important; }" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will affect the print output */ | /* CSS placed here will affect the print output */ | ||
@media print { | |||
html.skin-theme-clientpref-night { | |||
color-scheme: light !important; | |||
} | |||
} | |||
} | } | ||
Latest revision as of 13:51, 11 May 2026
/* CSS placed here will affect the print output */
@media print {
html.skin-theme-clientpref-night {
color-scheme: light !important;
}
}