Help:Sitewide css wiki page

From MozillaWiki
(Redirected from Help:Mediawiki CSS)
Jump to: navigation, search

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

/*
<pre>
*/
code {
   font-weight: bold;
}
/*
</pre>
*/

results in:

/*

*/
code {
   font-weight: bold;
}
/*
  • /

Note that <pre> and </pre> are used to avoid interpreting what is in between as wikitext, and that in turn these codes are put within css comment delimiters /* and */. This causes an odd rendering, with e.g. the last * rendered as a bullet. However, this does not affect the correct working.