MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (oops ... fixed the code) |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/** CSS placed here will be applied to all skins */ |
/** CSS placed here will be applied to all skins */ |
||
<pre><nowiki> |
/*<pre><nowiki>*/ |
||
/* wikitable/prettytable class for skinning normal tables */ |
/* wikitable/prettytable class for skinning normal tables */ |
||
table.wikitable, |
table.wikitable, |
||
table.prettytable { |
table.prettytable { |
||
margin: |
margin:1em 1em 1em 0; |
||
background: |
background:#F9F9F9; |
||
border: |
border:1px #AAA solid; |
||
border-collapse: |
border-collapse:collapse; |
||
} |
|||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
table.wikitable caption, |
|||
table.prettytable caption { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
⚫ |
Latest revision as of 13:51, 3 October 2009
/** 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;
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>*/