Manual:Interface/Stylesheets

MediaWiki:Common.css is a Cascading Style Sheet appended to the hardcoded stylesheet. This stylesheet is appended in all skins, but there are similar stylesheets which only affect specific skins (see below); although only Monobook.css is listed on Special:Allmessages, the other skin-specific stylesheets will work nonetheless.

If $wgAllowUserCss is set to true, users can customize the interface for themselves only by creating user subpages with lowercase titles (see below).

List of stylesheets

 * Global stylesheets
 * MediaWiki:Gadget-site.css (all skins)
 * MediaWiki:skinname.css (per skin, skinname is the value of that variable in the PHP file of your skin, for example MediaWiki:Vector.css)
 * User group CSS (per user group, for example MediaWiki:Group-sysop.css)
 * MediaWiki:Noscript.css (for users viewing without JavaScript)
 * MediaWiki:Print.css (for printing pages)
 * MediaWiki:Mobile.css (for Mobile themes, used with Extension:MobileFrontend)


 * Personal stylesheets
 * User:Example/common.css (all skins - introduced in MW v1.17)
 * User:Example/skinname.css (per skin, for example User:Example/vector.css)