Jump to content

MediaWiki:Common.css: Difference between revisions

From Horse Bar Lobster
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
.skin-theme-clientpref-night .infobox {
.skin-theme-clientpref-night .infobox {
     background: rgb(32, 33, 34);
     background: rgb(32, 33, 34);
}
.infobox-marker {
    font-weight: bold;
    text-align: center;
    background: gray;
}
}
.infobox-title {
.infobox-title {
Line 32: Line 37:
     vertical-align: top;
     vertical-align: top;


}
.infobox-subtitle {
    text-align: center;
    padding: 5px;
    font-weight: bold;
}
}

Latest revision as of 12:10, 20 June 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-marker {
    font-weight: bold;
    text-align: center;
    background: gray;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
    /* display: flex; */
}
/* .infobox-title .infobox-flag {
    margin-right: 7px;
    align-items: center;
} */
.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;

}
.infobox-subtitle {
    text-align: center;
    padding: 5px;
    font-weight: bold;
}