Manual:CSS

From MediaWiki.org

Jump to: navigation, search

Cascading style sheet (CSS) markup sets much of the look and feel of MediaWiki -- font size, colors, spacing, the logo and background image, even whether stuff is displayed or is hidden.

To change the look and feel of MediaWiki's monitor and projector display (how it looks in a browser window) you can put CSS into MediaWiki:Common.css.

To change the way MediaWiki pages print, you can customize the CSS in the MediaWiki server file wiki/skins/common/commonPrint.css that for one thing by default hides the left column navigational stuff.

You can also create custom skins for MediaWiki.

[edit] Help

CSS syntax, attributes and values, must be correct or stuff won't work right. W3.org is an excellent reference for checking how to write CSS correctly:

Personal tools