MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (trying to get the cellspacing set right) |
m (still trying) |
||
Line 8: | Line 8: | ||
margin:1em 1em 1em 0; |
margin:1em 1em 1em 0; |
||
background:#F9F9F9; |
background:#F9F9F9; |
||
cellspacing="0" |
border:1px #AAA solid cellspacing="0"; |
||
border:1px #AAA solid; |
|||
border-collapse:collapse; |
border-collapse:collapse; |
||
} |
} |
Revision as of 20:52, 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 #AAA solid cellspacing="0";
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>