MediaWiki:Common.css: Difference between revisions
(vertical-align:top;) |
No edit summary |
||
Line 9: | Line 9: | ||
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
vertical-align:top; | vertical-align:top; | ||
} | } | ||
Line 16: | Line 16: | ||
border: 1px #aaa solid; | border: 1px #aaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
vertical-align:top; | vertical-align:top; | ||
} | } | ||
Line 23: | Line 23: | ||
background: #f2f2f2; | background: #f2f2f2; | ||
text-align: center; | text-align: center; | ||
vertical-align:top; | vertical-align:top; | ||
} | } | ||
Line 63: | Line 63: | ||
} | } | ||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
color: black; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
font-size: 11px; | font-size: 11px; | ||
} | } | ||
.infobox td, | |||
border: 1px solid # | .infobox th { | ||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
font-size: larger; | |||
margin-left: inherit; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #aaa; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | } |
Revision as of 21:54, 7 May 2007
/** CSS placed here will be applied to all skins */ /* wikitable/prettytable class for skinning normal tables <pre>*/ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; vertical-align:top; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; vertical-align:top; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; vertical-align:top; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } /* Messagebox templates */ .messagebox { border: 1px solid #aaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 4px 2px 4px; } /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; font-size: 11px; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }