The techniques we have encountered so far for skinning MediaWiki have only applied to the "screen" version of your wiki. In this chapter, we will go through the following:
The current
commonPrint.css
print stylesheetCreating a print stylesheet for your MediaWiki
Introducing useful CSS elements for the print stylesheet
The printable version of each page (minus "special" pages such as Special:Login)
is linked to from each page using links within the "Tools" menu by default, which is identifiable in CSS with #t-print
. In most modern browsers (such as Internet Explorer 7, Firefox, and Opera 9), if a visitor selects the "print preview" option, the print stylesheet will be used by default.