Difference between revisions of "MediaWiki:Print.css"
From DFM Wiki
EricThrift (talk | contribs) (Set the logo as a background image for better placement and sizing options.) |
EricThrift (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
} | } | ||
} | } | ||
− | #siteSub | + | #siteSub {display:None} |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
h1#firstHeading { | h1#firstHeading { | ||
border-bottom: solid; | border-bottom: solid; | ||
− | margin-top: 2em; | + | margin-top: 1em; |
+ | } | ||
+ | |||
+ | .printfooter{ | ||
+ | font-size:x-small; | ||
+ | margin-top:2em; | ||
+ | } | ||
+ | |||
+ | /* Show only when printing */ | ||
+ | @media screen, projection, handheld { | ||
+ | .printonly { display: initial !important; } | ||
} | } |
Latest revision as of 08:37, 3 June 2021
/* CSS placed here will affect the print output */ body{ font-family: "Open Sans",arial; } .toc{border:none;} .toc li{list-style-type:none} @page { size: 8.5in 11in; margin: 1in; @bottom-right { content: counter(page); } } #siteSub {display:None} h1#firstHeading { border-bottom: solid; margin-top: 1em; } .printfooter{ font-size:x-small; margin-top:2em; } /* Show only when printing */ @media screen, projection, handheld { .printonly { display: initial !important; } }