MediaWiki:Common.css: Difference between revisions

From FC1
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:


.infobox {
.infobox {
    background: #f8f9fa;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     float: right;
     float: right;

Latest revision as of 23:25, 16 August 2025

/* CSS placed here will be applied to all skins */

.infobox {
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    width: 300px;
}
.infobox table {
    width: 100%;
}
.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;
    padding-top: 1em;
}
.infobox td {
    text-align: center;
    vertical-align: top;
    padding: 0 0.5em;
}