Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: .infobox-video { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1...") |
|||
| 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: #eee; | background: #eee; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
| Line 6: | Line 6: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
padding: 1em; | padding: 1em; | ||
| − | width: | + | width: 300px; |
} | } | ||
| − | .infobox | + | .infobox-title { |
font-size: 2em; | font-size: 2em; | ||
text-align: center; | text-align: center; | ||
} | } | ||
| − | .infobox | + | .infobox-image { |
text-align: center; | text-align: center; | ||
} | } | ||
| − | .infobox | + | .infobox th { |
| − | text-align: | + | text-align: left; |
vertical-align: top; | vertical-align: top; | ||
width: 120px; | width: 120px; | ||
} | } | ||
| − | .infobox | + | .infobox td { |
| + | text-align: right; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
Revision as of 08:00, 8 October 2020
/* CSS placed here will be applied to all skins */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 300px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: left;
vertical-align: top;
width: 120px;
}
.infobox td {
text-align: right;
vertical-align: top;
}