MediaWiki:Common.css: Difference between revisions
From FirespeakerWiki
Jump to navigationJump to search
Firespeaker (talk | contribs) No edit summary |
Firespeaker (talk | contribs) centretable |
||
| Line 38: | Line 38: | ||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable, | ||
table.centretable { | |||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
background: #f9f9f9; | background: #f9f9f9; | ||
| Line 46: | Line 47: | ||
table.wikitable th, table.wikitable td, | table.wikitable th, table.wikitable td, | ||
table.prettytable th, table.prettytable td { | table.prettytable th, table.prettytable td, | ||
table.centretable th, table.centretable td { | |||
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | |||
table.centretable td { | |||
text-align: center; | |||
} | } | ||
table.wikitable th, | table.wikitable th, | ||
table.prettytable th { | table.prettytable th, | ||
table.centretable th { | |||
background: #f2f2f2; | background: #f2f2f2; | ||
text-align: center; | text-align: center; | ||
| Line 58: | Line 65: | ||
table.wikitable caption, | table.wikitable caption, | ||
table.prettytable caption { | table.prettytable caption, | ||
table.centretable caption { | |||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
| Line 65: | Line 73: | ||
table.prettytable code, | table.prettytable code, | ||
table.wikitable code { | table.wikitable code, | ||
table.centretable code { | |||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
Revision as of 13:27, 8 May 2008
/** CSS placed here will be applied to all skins */
.masc {
background-color: #77aaff;
}
.fem {
background-color: pink;
}
.neut {
background-color: yellow;
}
.fempl {
background-color: #FF00F1;
}
.nogender {
background-color: white;
}
blockquote {
padding: 1em;
border: 1px dashed #2f6fab;
color: black;
background-color: #f9f9f9;
/* line-height: 1.1em; */
}
.tbl {
border: 1px solid black;
border-collapse: collapse;
}
.tbl td,th {
border: 1px solid black;
padding: 0.1em;
}
.tbl td {
text-align: center;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable,
table.centretable {
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,
table.centretable th, table.centretable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.centretable td {
text-align: center;
}
table.wikitable th,
table.prettytable th,
table.centretable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption,
table.centretable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
table.prettytable code,
table.wikitable code,
table.centretable code {
background-color: transparent;
}