MediaWiki:Print.css

From partnersenproppersolutions
Revision as of 16:27, 25 January 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect the print output */
/* Don't print pagetitle */
.firstHeading { display: none; }
#contentSub { display: none; }

#bodyContent {
    font-family: arial, sans-serif;
    font-size: 80%;
    padding: 2cm 2cm 0cm 2cm;
    background-image:url('/images/WS-letter.pdf');
    background-size:55em;
    background-repeat:no-repeat;
}

/* Don't print reference to site above article */
#siteSub { display: none; }
/* Don't print URL to article */
.printfooter { display: none; }
#catlinks, .catlinks { display: none; }
/* Don't print footer with number of views etc */
#footer { display: none; }

/* Prevent expand URLs for printing */
#content a.external.text:after,
#content a.external.autonumber:after {
	content: none;
}