Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
test
 
Tag: Replaced
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.infobox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    color: black;
    margin: 0.5em 0 0.5em 1em; /* Pushes the box away from text on the left */
    padding: 0.2em;
    float: right;
    clear: right;
    font-size: 90%;
    line-height: 1.4em;
    width: 24em; /* A flexible width that scales with font size */
    text-align: left;
}
/* Infobox titles */
.infobox .infobox-title {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
    padding: 0.2em 0.4em;
}
/* Infobox header cells (the '!' in wikitext) */
.infobox th {
    text-align: left;
    vertical-align: top;
    padding: 0.2em 0.4em;
    white-space: nowrap; /* Prevents long headers from wrapping */
}
/* Infobox data cells (the '|' in wikitext) */
.infobox td {
    vertical-align: top;
    padding: 0.2em 0.4em;
}
/* Styling for images inside an infobox */
.infobox .infobox-image {
    text-align: center;
}
/* Styling for captions */
.infobox .infobox-caption {
    text-align: center;
    padding: 0.3em;
    font-size: 95%;
    line-height: 1.3em;
}

Revision as of 10:16, 14 August 2025

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