Difference between revisions of "MediaWiki:Print.css"
From DFM Wiki
EricThrift (talk | contribs) |
EricThrift (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
size: 8.5in 11in; | size: 8.5in 11in; | ||
margin: 1in; | margin: 1in; | ||
− | @bottom-right | + | @bottom-right { |
content: counter(page); | content: counter(page); | ||
} | } | ||
Line 22: | Line 22: | ||
font-size:x-small; | font-size:x-small; | ||
margin-top:2em; | 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; } }