Help:Sitewide css wiki page: Difference between revisions

(rm dup / not just monobook / not always protected)
 
mNo edit summary
 
(16 intermediate revisions by 11 users not shown)
(No difference)

Latest revision as of 01:01, 22 September 2010

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.