-
Book Overview & Buying
-
Table Of Contents
MediaWiki Skins Design
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 stylesheet
Creating 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.
Some browsers may add page numbers and the URL of the printed page along with the header and footer of the printed document.
The way in which URLs (the addresses of pages) in MediaWiki are displayed depends on the way...
Change the font size
Change margin width
Change background colour