The default print stylesheet for MediaWiki is linked to within the <head>
element of your wiki's template file. It is called commonPrint.css
, and is stored in the skins/common/
directory of your MediaWiki installation.
You can add additional styling to this file to accommodate your new skin, although changing the CSS in this file will cause the print styling for other MediaWiki skins to change too.
Note
Backup
commonPrint.css
before you alter it.
Creating a backup copy of the commonPrint.css
file is a good idea as it could be useful for future reference. If you decide to remove your skin, you can simply replace the previous version of the file to keep the CSS file's size small.
The body of the document is styled to have a white background and black text to make printed copies of the content easier to read: