Buffyverse Wiki
Advertisement
Buffyverse Wiki
Forums: Index > Watercooler > Table style



I've copied the List of Angel episodes from Wikipedia, which has a bunch of tables, which all kind of look crappish without styling. It would be great if someone who has permission (i.e., not me) could add some simple table CSS to MediaWiki:Common.css to make tables here look nicer, like, for instance, this, taken from Wikipedia:

/* wikitable/prettytable class for skinning normal tables */
 
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}
 
table.prettytable code,
table.wikitable code {
  background-color: transparent;
}

Obviously this isn't urgent. --Renophaston 21:40, 6 September 2007 (UTC)

Advertisement