2b2t Wiki:CSS Classes

makes use of CSS (Cascading Style Sheets) and, more specifically, CSS classes to help keep with a persistent style across articles. These can be used for things such as tables and text formatting amongst other things.

CSS classes can be defined globally for use on the wiki by editing Mediawiki:Common.css (For both Monobook and Oasis skins) or locally for personal use in Username/Common.css.

There are a few things to keep in mind when using CSS classes
 * In order to use CSS classes, you must be editing in source mode.
 * In tables, CSS can be applied to the whole table or per element (header cell, row, cell).
 * In tables, header cells do not respect any CSS style or class if it's been already set by CSS class for the whole table.

Pre-defined Wikia CSS classes
The following classes change based on the wiki theme and color scheme.

color1 link color2 link neutral link accent link dark_text_1 link dark_text_2 link

WikiaArticleCategories link

button link secondary button link

Wiki-Global CSS Classes
The following classes are specific to this wiki. More CSS classes may be added as they are added to the global CSS.

General
tourny-color-win tourny-color-lose tourny-color-tie tourny-color-draw tourny-color-predicted-winner tourny-color-predicted-runnerup tourny-color-gold tourny-color-silver tourny-color-bronze

Table Specific
Typing "tourny-competitor-table" gives:

What it does – Sets width of table to width of entire article space and aligns text to center in all cells.

Typing "tourny-matchvs-table" gives:

What it does – Sets width of table to width of entire article space and aligns text per column in the following order from the left: Right, Center, Left. CSS class is meant specifically for three column tables.