MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
Line 11: Line 11:
     font-weight: var( --font-weight-semibold );
     font-weight: var( --font-weight-semibold );
     font-size: var( --font-size-h3 );
     font-size: var( --font-size-h3 );
    text-align: center;
}
}
.infobox-image {
.infobox-image {

Revision as of 01:56, 20 January 2024

/* CSS placed here will be applied to all skins */
.infobox {
    border-radius: var( --border-radius--medium );
    background-color: var( --color-surface-2 );
    float: right;
    width: 100%;
    max-width: 400px;
}
.infobox-title {
    color: var( --color-base--emphasized );
    font-weight: var( --font-weight-semibold );
    font-size: var( --font-size-h3 );
    text-align: center;
}
.infobox-image {
    max-width: 100%;
    height: auto;
}
.infobox-table th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}