Difference between revisions of "MediaWiki:Common.css"
From Rackspace Email & Apps API
(New page: →CSS placed here will be applied to all skins: →wikitable/prettytable class for skinning normal tables: /* This is copied from Mediawiki table.wikitable, table.prettytable { ...) |
|||
| Line 1: | Line 1: | ||
| + | /* <source lang="css"> */ | ||
| + | |||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| + | |||
| + | |||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
| − | |||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable { | ||
| Line 25: | Line 28: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
| + | |||
| + | |||
| + | |||
| + | /* </source> */ | ||
Latest revision as of 12:39, 26 August 2009
/* <source lang="css"> */
/* CSS placed here will be applied to all skins */
/* 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;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.wikitable th,
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.wikitable caption,
.prettytable caption {
font-weight: bold;
}
/* </source> */