MediaWiki:Print.css

From NSB App Studio
Revision as of 16:57, 6 December 2013 by Admin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will affect the print output */
body { margin:2cm; font-family:Helvetica; font-size: 12pt !important; }

/* <div class="page-break"></div> */
@media all { .page-break	{ display: none; }}

/* Remove non-essential elements */
@media print {
    .firstHeading { margin-top: 0; padding-top: 0; }
    #siteSub { display: none; }
    .printfooter { display: none; }
    #catlinks, .catlinks { display: none; }
    #footer { display: none; }
    .page-break { display: block; page-break-before: always;}
    }