Tables

Defaults

Tables have a light border, with ample padding for text to be easily readable and a bold-but-understated table header. To apply the aegis style to any table add a .table class to it.

Team Played Points
Man Utd 33 81
Man City 33 68
Chelsea 32 61
Arsenal 33 60
Tottenham 32 58
<table class='table'>
  <thead>...</thead>
  <tbody>...</tbody>
</table>

Classes

Along with the default styling, there are also several classes which can be used to give the tables more styles. Some of them change the complete style (style classes) and some adjust the spacing of the cells (spatial classes)

Spatial

.condensed

Condensed tables have half the top/bottom and left/right padding than the normal tables.

Team Played Points
Man Utd 33 81
Man City 33 68
Chelsea 32 61
Arsenal 33 60
Tottenham 32 58
<table class="condensed table">
  ...
</table>

.expanded

Expanded tables give a very ample padding of base-line-height on left/right and half of that on top/bottom.

Team Played Points
Man Utd 33 81
Man City 33 68
Chelsea 32 61
Arsenal 33 60
Tottenham 32 58
<table class="expanded table">
  ...
</table>

Style

.highlight

Whenever a row is hovered over, the text is highlighted.

Team Played Points
Man Utd 33 81
Man City 33 68
Chelsea 32 61
Arsenal 33 60
Tottenham 32 58
<table class="table highlight">
  ...
</table>

.listing

Ideally suited for big wide lists with no vertical borders to distract attention. Best used along the the .highlight class.

Teams Championships About
Man Utd 19 Manchester United has won many trophies in English football, including a record 19 league titles, a record 11 FA Cups, four League Cups and a record 19 FA Community Shields. The club has also won three European Cups, one UEFA Cup Winners' Cup, one UEFA Super Cup, one Intercontinental Cup and one FIFA Club World Cup. In 1998–99, the club won a Treble of the Premier League, the FA Cup and the UEFA Champions League, an unprecedented feat for an English club.
Man City 3 Manchester City Football Club is an English Premier League football club based in Manchester. Founded in 1880 as St. Mark's (West Gorton), they became Ardwick Association Football Club in 1887 and Manchester City in 1894. The club has played at the City of Manchester Stadium since 2003, having played at Maine Road from 1923. The club's most successful period was in the late 1960s and early 1970s when they won the League Championship, FA Cup, League Cup and European Cup Winners' Cup under the management team of Joe Mercer and Malcolm Allison.
Chelsea 4 Chelsea had their first major success in 1955, when they won the league championship, and won various cup competitions during the 1960s, 1970s, 1990s and 2000s. Overall, Chelsea have won four league titles, seven FA Cups, four League Cups and four FA Community Shields. The club have also been successful in continental competitions, winning two UEFA Cup Winners' Cups, one UEFA Super Cup and one UEFA Champions League title. In 2009–10, the club won their first "Double"[3] and in May 2012 became the first London club to win the UEFA Champions League.
Arsenal 13 Arsenal was founded in 1886 in Woolwich and in 1893 became the first club from the south of England to join the Football League. In 1913, it moved north across the city to Arsenal Stadium in Highbury. In the 1930s the club won five League Championship titles and two FA Cups. After a lean period in the post-war years it won the League and FA Cup Double, in the 1970–71 season, and in the 1990s and first decade of the 21st century won two more Doubles and reached the 2006 UEFA Champions League Final. Arsenal has a long-standing rivalry with North London neighbours Tottenham Hotspur, with whom it contests the North London derby. Arsenal is the fourth most valuable association football club in the world as of 2012, valued at $1.3 billion.
Tottenham Hotspur 2 Founded in 1882, Tottenham won the FA Cup for the first time in 1901, making it the only non-League club to do so since the formation of the Football League. Tottenham was the first club in the 20th century to achieve the League and FA Cup Double, winning both competitions in the 1960–61 season. After successfully defending the FA Cup in 1962, in 1963 it became the first British club to win a UEFA club competition – the European Cup Winners' Cup. In 1967 it won the FA Cup for a third time in the 1960s. In the 1970s Tottenham won the League Cup on two occasions and was the inaugural winner of the UEFA Cup in 1972, becoming the first British club to win two different major European trophies. In the 1980s Spurs won several trophies: the FA Cup twice, FA Community Shield and the UEFA Cup in 1984. In the 1990s the club won the FA Cup and the League Cup. When it won the League Cup once more in 2008, it meant that it had won a major trophy in each of the last six decades – an achievement only matched by Manchester United.
<table class="table listing highlight">
  ...
</table>

.striped

Striped tables have alternating rows of darker shade.

Team Played Points
Man Utd 33 81
Man City 33 68
Chelsea 32 61
Arsenal 33 60
Tottenham 32 58
<table class="table striped">
  ...
</table>

Cells

Along with the specific widths for tables, you also get power to control the widths of individual columns, so that you can fine-tune the table look. Apply the classes on the cells of the first row of the table, and the corresponding column will resized. The classes are of the form .cells-X, where X ranges from 1 (10% width) to 9 (90% width).

Testing Cells
5 Cells are meant to be adjustable
2 And it will be better if they be resizable according to you
10 rather than depending on your browser
<table class="table">
  <thead>
    <tr>
      <th class="cell-8">Testing</th>
      <th class="cell-2">Cells</th>
    </tr>
  </thead>
  <tbody>
    ...
  </tbody>
</table>