Jump to content

MediaWiki:Common.css: Difference between revisions

From Horse Bar Lobster
No edit summary
No edit summary
Line 15: Line 15:
     text-align: center;
     text-align: center;
     display: flex;
     display: flex;
}
.infobox-title .infobox-flag {
    margin-right: 7px;
}
}
.infobox-image {
.infobox-image {

Revision as of 08:52, 27 March 2025

/* 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;
}
.skin-theme-clientpref-night .infobox {
    background: rgb(32, 33, 34);
}
.infobox-title {
    font-size: 2em;
    text-align: center;
    display: flex;
}
.infobox-title .infobox-flag {
    margin-right: 7px;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    // width: 120px;
    padding-right: 5px;
}
.infobox-table td {
    vertical-align: top;
}