MediaWiki:Print.css: Difference between revisions
Appearance
m / |
mNo edit summary |
||
Line 12: | Line 12: | ||
} | } | ||
/* Set default font for the whole site, individual elements can override this */ | |||
body { | |||
/* Override any editor added inline styles that play with font-size */ | |||
font-size: inherit !important; | |||
font-family: "Century Schoolbook"; | |||
font-size: 1.5 em; | |||
font-weight: normal; | |||
} | |||
/* h1 sets the title category... */ | /* h1 sets the title category... */ | ||
Line 27: | Line 35: | ||
font-family: "CasablancaAntique", "Century Schoolbook"; | font-family: "CasablancaAntique", "Century Schoolbook"; | ||
font-size: 2.5em; | font-size: 2.5em; | ||
font-variant: small-caps; | |||
text-decoration: underline; | |||
} | } | ||
Line 35: | Line 45: | ||
font-family: "Century Schoolbook"; | font-family: "Century Schoolbook"; | ||
font-size: 2em; | font-size: 2em; | ||
font-variant: small-caps; | |||
} | } | ||
Line 43: | Line 54: | ||
font-family: "Century Schoolbook"; | font-family: "Century Schoolbook"; | ||
font-size: 2em; | font-size: 2em; | ||
font-variant: small-caps; | |||
} | } | ||
Revision as of 21:42, 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;} } /* Set default font for the whole site, individual elements can override this */ body { /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-family: "Century Schoolbook"; font-size: 1.5 em; font-weight: normal; } /* h1 sets the title category... */ h1 { /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-family: "CasablancaAntique", "Century Schoolbook"; font-size: 3em; } /* h2 sets the heading category... */ h2 { /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-family: "CasablancaAntique", "Century Schoolbook"; font-size: 2.5em; font-variant: small-caps; text-decoration: underline; } /* h3 sets the subheading 1 category... */ h3 { /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-family: "Century Schoolbook"; font-size: 2em; font-variant: small-caps; } /* h4 sets the subheading 2 category... */ h4 { /* Override any editor added inline styles that play with font-size */ font-size: inherit !important; font-family: "Century Schoolbook"; font-size: 2em; font-variant: small-caps; } .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; }