MediaWiki:Common.css: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Remove experimental css)
(Introduced prefix "tcw-")
Line 2: Line 2:


/**
/**
  * Class "noautonum" to suppress automatic section numbering in table of contents.
  * Use prefix "tcw-" for all newly introduced classes and ids.
  * Use template {{TOC noautonum}} to insert a table of contents without numbering.
*
* Preferably use templates instead of using styles directly. This way it's
  * easy to track down where a style is used.
  */
  */
.noautonum .tocnumber { display: none; }
 
/**
* Class "tcw-noautonum" - Suppress automatic section numbering in a contained
* table of contents.
*
* Templates:
*  {{TOC noautonum}} - Insert a table of contents without numbering.
*/
.tcw-noautonum .tocnumber { display: none; }

Revision as of 10:45, 18 March 2014

/* CSS placed here will be applied to all skins */

/**
 * Use prefix "tcw-" for all newly introduced classes and ids.
 *
 * Preferably use templates instead of using styles directly. This way it's
 * easy to track down where a style is used.
 */

/**
 * Class "tcw-noautonum" - Suppress automatic section numbering in a contained
 * table of contents.
 *
 * Templates:
 *   {{TOC noautonum}} - Insert a table of contents without numbering.
 */
.tcw-noautonum .tocnumber { display: none; }