MediaWiki:Print.css: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
h1 { | h1 { | ||
font-family: "Century Schoolbook"; | font-family: "Century Schoolbook"; | ||
/* Override any editor added inline styles that play with font-size */ | |||
font-size: inherit !important; | |||
font-size: | font-size: 1em; | ||
} | } | ||
h2 { | h2 { | ||
font-family: "Century Schoolbook"; | font-family: "Century Schoolbook"; | ||
/* Override any editor added inline styles that play with font-size */ | |||
font-size: inherit !important; | |||
font-size: | font-size: 1em; | ||
} | } | ||
h3 { | h3 { | ||
/* Override any editor added inline styles that play with font-size */ | |||
font-size: inherit !important; | |||
font-size: 1em; | |||
font-size: | |||
} | } | ||
h4 { | h4 { | ||
/* Override any editor added inline styles that play with font-size */ | |||
font-size: inherit !important; | |||
font-size: 1em; | |||
font-size: | |||
} | } | ||
Revision as of 21:14, 24 October 2023
/* CSS placed here will affect the print output */ /* Remove non-essential elements */ @media print { .firstHeading { margin-top: 0; padding-top: 0; } #toc { display: none; } #siteSub { display: none; } .printfooter { display: none; } #catlinks, .catlinks { display: none; } #footer { display: none; } #privacy, #about, #disclaimer {display:none;} } h1 { font-family: "Century Schoolbook"; /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-size: 1em; } h2 { font-family: "Century Schoolbook"; /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-size: 1em; } h3 { /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-size: 1em; } h4 { /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-size: 1em; } .module { column-count: 2; } .div-col { margin-top: 0.3em; column-width: 40em; } .div-col-rules { column-rule: 1px solid #aaa; } /* Reset top margin for lists in div col */ .div-col dl, .div-col ol, .div-col ul { margin-top: 0; } /* Avoid elements breaking between columns See also Template:No col break */ .div-col li, .div-col dd { break-inside: avoid-column; }