MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
width: 300px; | width: 300px; | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
| Line 34: | Line 31: | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
padding: 0 0.5em; | |||
} | } | ||
Revision as of 16:30, 27 January 2020
/* CSS placed here will be applied to all skins */
.infobox {
background: #f8f9fa;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
width: 300px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.ib-city {
background: #DDAA22;
}
.ib-country {
background: #DD7722;
}
.ib-deity {
background: #DDDD11;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: center;
vertical-align: top;
margin-top: 0.5em;
}
.infobox td {
vertical-align: top;
padding: 0 0.5em;
}