MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Minimal-working code for Infobox (hopefully))
 
m (Hopefully fix dark theme)
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;
    border: 1px solid #aaa;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     padding: 1em;
     padding: 1em;
     width: 400px;
     width: 300px;
}
}
.infobox-title {
.infobox-title {

Revision as of 04:15, 17 January 2024

/* CSS placed here will be applied to all skins */
.infobox {
    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-table th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}