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
More languages
More actions
No edit summary
No edit summary
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;
     background: black;
     border: 1px solid #aaa;
     border: 1px solid red;
    color: white;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     padding: 1em;
     padding: 1em;
     width: 400px;
     width: 250px;
}
}
.infobox-title {
.infobox-title {

Revision as of 07:38, 6 June 2024

/* CSS placed here will be applied to all skins */
.infobox {
    background: black;
    border: 1px solid red;
    color: white;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 250px;
}
.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;
}
/* Infobox Custom*/
.infobox-custom {
    background-color: black;
    border: 2px solid red;
    color: white;
    padding: 10px;
    width: 250px;
}

.infobox-custom th,
.infobox-custom td {
    border: none;
    padding: 5px;
}

.infobox-custom th {
    text-align: left;
    font-weight: bold;
}

.infobox-custom caption {
    text-align: left;
    font-weight: bold;
    padding-bottom: 10px;
}