Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Infobox css) |
m |
||
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: #fdfdfd; |
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
+ | border-radius: 2px; | ||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
− | width: | + | width: 300px; |
} | } | ||
.infobox-title { | .infobox-title { | ||
− | font-size: | + | font-size: 1.5em; |
text-align: center; | text-align: center; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
+ | border: 1px solid #aaa; | ||
+ | border-radius: 2px; | ||
} | } | ||
.infobox th { | .infobox th { |
Revision as of 20:47, 2 April 2020
/* CSS placed here will be applied to all skins */ .infobox { background: #fdfdfd; 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-image { text-align: center; border: 1px solid #aaa; border-radius: 2px; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }