Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
m (Change hidden visibility to none display) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
− | background: # | + | background: #fafafa; |
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-radius: 2px; | border-radius: 2px; | ||
Line 12: | Line 12: | ||
font-size: 1.5em; | font-size: 1.5em; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | .infobox-title > p { | ||
+ | margin: 0; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
Line 19: | Line 22: | ||
text-align: center; | text-align: center; | ||
font-style: italic; | font-style: italic; | ||
− | |||
− | |||
− | |||
} | } | ||
.infobox th { | .infobox th { | ||
Line 27: | Line 27: | ||
vertical-align: top; | vertical-align: top; | ||
width: 100px; | width: 100px; | ||
+ | font-weight: 700; | ||
+ | padding-right: 10px; | ||
} | } | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | #mw-pages > h2 { | ||
+ | display: none | ||
} | } |
Latest revision as of 19:49, 3 June 2020
/* CSS placed here will be applied to all skins */ .infobox { background: #fafafa; border: 1px solid #aaa; border-radius: 2px; float: right; margin: 0 0 1em 1em; padding: 1em; width: 300px; } .infobox-title { font-size: 1.5em; text-align: center; } .infobox-title > p { margin: 0; } .infobox-image { text-align: center; } .infobox-nickname { text-align: center; font-style: italic; } .infobox th { text-align: right; vertical-align: top; width: 100px; font-weight: 700; padding-right: 10px; } .infobox td { vertical-align: top; } #mw-pages > h2 { display: none }