CSS/Syntax

Introduction
The basic syntax of a CSS style is as follows:

selector{property:value;}

The  defines what HTML elements will be selected with the style. The  is the property being altered by the style. The  is how the elements are altered.

On the Mediawiki sites like this one, the Mediawiki:Common.css allows a CSS collective customization, and the monobook.css an individual one per profile. Consequently it's possible to experiment the following code inside.

To verify whether the intended elements are selected, consider temporarily hiding them using  or , the latter of which hides them without removing their surface space from the page.

Colors

 * 1) By name, there are 16 named colours: aqua, black, blue, fushia, gray, green, lime, maroon, navy, purple, red, silver, teal, white, yellow. Eg:
 * 2) By code RGB (red, green, blue). Eg:
 * 3) By hexadecimal value. Eg:

Text styles

 * 1) font-style proposes 3 text styles: normal, italic, and oblique.
 * 2) font-weight influences the font boldness: normal, bold, bolder, lighter. It also accepts the values between 100 and 900 by steps of 100.
 * 3) font-size : its units can be: cm, mm, in (inches), pt (1 point = 1/72 inches), pc (1 picas = 12 points), em (emphasize), ex (minuscule), px (pixels), %.

Lists

 * 1) Unordered (  ).
 * Its styles are: none, disc, circle, square, url([image]).
 * Example : ul {list-style-type:square;}.
 * 1) Ordered (  ).
 * list-style-type includes: none, decimal, lower-alpha, upper-alpha, lower-roman, upper-roman, url([image]).
 * Example : ol {list-style-type:upper-roman;}