Difference between revisions of "MediaWiki:Common.css"
From YTMND
(doesn't work) |
(More fun styles taken from Wikipedia) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
/* | /* | ||
− | <pre> | + | <pre><nowiki> |
*/ | */ | ||
Line 8: | Line 8: | ||
− | /* | + | /* Messagebox templates */ |
− | + | .messagebox { | |
− | + | border: 1px solid #aaaaaa; | |
− | + | background-color: #f9f9f9; | |
− | + | width: 80%; | |
− | + | margin: 0 auto 1em auto; | |
− | + | padding: .2em; | |
+ | text-align: justify; | ||
} | } | ||
− | + | .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; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 75: | Line 68: | ||
width: 20em; | width: 20em; | ||
font-size: 90%; | font-size: 90%; | ||
+ | } | ||
+ | |||
+ | /* styles for bordered infobox with merged rows */ | ||
+ | .infobox.bordered .mergedtoprow td, | ||
+ | .infobox.bordered .mergedtoprow th { | ||
+ | border: 0; | ||
+ | border-top: 1px solid #aaaaaa; | ||
+ | border-right: 1px solid #aaaaaa; | ||
+ | } | ||
+ | |||
+ | .infobox.bordered .mergedrow td, | ||
+ | .infobox.bordered .mergedrow th { | ||
+ | border: 0; | ||
+ | border-right: 1px solid #aaaaaa; | ||
} | } | ||
/* | /* | ||
− | </pre> | + | </nowiki></pre> |
*/ | */ |
Latest revision as of 12:59, July 13, 2006
/* <pre><nowiki> */ .hiddenStructure {display: none} .if {display: none} /* Messagebox templates */ .messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; text-align: justify; } .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; } /* Infobox template style */ .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; } .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 #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaaaaa; border-right: 1px solid #aaaaaa; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaaaaa; } /* </nowiki></pre> */