Difference between revisions of "MediaWiki:Common.css"
From SimsWiki
| Line 35: | Line 35: | ||
font-size: larger; | font-size: larger; | ||
margin-left: inherit; | margin-left: inherit; | ||
| + | } | ||
| + | |||
| + | /* wikitable/prettytable class for skinning normal tables */ | ||
| + | |||
| + | table.wikitable, | ||
| + | table.prettytable { | ||
| + | margin: 1em 1em 1em 0; | ||
| + | background: #f9f9f9; | ||
| + | border: 1px #aaaaaa solid; | ||
| + | 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; | ||
} | } | ||
Revision as of 11:06, 25 July 2006
/*
<pre>
*/
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
margin-top: 1em;
}
.messagebox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
text-align: justify;
}
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin: 0 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
text-align: left;
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
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;
}
/*
</pre>
*/