Manual:Interface/Stylesheets

MediaWiki:Common.css is a Cascading Style Sheet loaded after the active 2>Special:MyLanguage/Manual:Skins|Skin's stylesheet.

This stylesheet is loaded with all and a similar stylesheet specific to the skin – named MediaWiki:skinname.css – is appended to it (see below).

Although only Monobook.css is listed on Special:AllMessages, the other skin-specific stylesheets will work nonetheless.

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

Global stylesheets won't load on special restricted pages like login or preferences, unless you enable .

List of stylesheets

 * Global stylesheets:
 * MediaWiki:Common.css (all skins and all the users, except for the MobileFrontend)
 * MediaWiki:skinname.css (per skin, skinname is the value of that variable in the PHP file of your skin, for example MediaWiki:Vector.css, MediaWiki:Monobook.css)
 * (per user group, for example MediaWiki:Group-sysop.css</>)
 * MediaWiki:Noscript.css (for users viewing without <tvar|js>JavaScript</>; may be replaced with a <tvar|sel> </> selector)
 * MediaWiki:Print.css (for "printable versions" of pages)
 * MediaWiki:Mobile.css (for Mobile themes, used with )
 * MediaWiki:Filepage.css specifically targeted to have Commons file pages (foreign repositories) work on 'local' file pages.


 * Personal stylesheets (only yourself and users with the page>Special:MyLanguage/Manual:User rights#editusercss</>|<tvar|edt>editusercss</> right, usually interface admins, can edit your personal stylesheets):
 * User:Example/common.css (all skins - introduced in MW v1.17)
 * User:Example/skinname.css (per skin, for example <tvar|vcss>User:Example/vector.css</> and <tvar|mbcss>User:Example/monobook.css</>)
 * User:Example/global.css (per page>Special:MyLanguage/Manual:Wiki family</>|wiki family, if <tvar|global></> is in use in for this family)