MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (trying different background colour test) |
m (try another idea) |
||
Line 6: | Line 6: | ||
table.wikitable, |
table.wikitable, |
||
table.prettytable { |
table.prettytable { |
||
cellspacing:0; |
cellspacing:0 !important; |
||
margin:1em 1em 1em 0; |
margin:1em 1em 1em 0; |
||
background:#00FF00; |
background:#00FF00; |
Revision as of 19:37, 2 July 2007
/** CSS placed here will be applied to all skins */
<pre><nowiki>
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
cellspacing:0 !important;
margin:1em 1em 1em 0;
background:#00FF00;
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;
}
</nowiki></pre>