MediaWiki:Common.css: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (oops ... fixed the code)
mNo edit summary
Line 9: Line 9:
background: #f9f9f9;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border: 1px #aaaaaa solid;
cellspacing="0"
border-collapse: collapse;
border-collapse: collapse;
}
}

Revision as of 20:26, 30 June 2007

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

<pre><nowiki>
/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  cellspacing="0"
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa 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;
}
</nowiki></pre>