Help:Mediawiki CSS
Appearance
MediaWiki:Common.css is the css page for all skins.
See Help:User style for the css file and the css wiki page for each skin of a project, as well as the user css pages.
Example of sitewide css wiki page
code {
font-weight: bold;
}
/*<nowiki><pre><nowiki>*/ code { font-weight: bold; } /*
</nowiki></nowiki>*/
results in:
/*
*/ code { font-weight: bold; } /*
*/
Note that <nowiki> and </nowiki> are used to avoid interpreting what is in between as wikitext. In particular this preserves lay-out, and gives a uniform font regardless of lines having leading spaces. In turn these codes are put within css comment delimiters /* and */. This causes a rendering with empty css comments at the top and bottom.