Aller au contenu

MediaWiki:Common.css

De Wikiquestia

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
.infobox, .infobox_top_border, .infobox_bottom_border {
    padding: 5px;
    width: 25em;
    background: #f9f9f9;
    border: 1px solid #aaa;
    clear: right;
    float: right;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0 0 0.5em 1em;
    max-width: 325px;
    word-wrap: break-word;
}

.infobox-title, .infobox-subtitle, .infobox-subtitle-biography, .infobox_header_blank, .infobox_separator {
    font-weight: bold;
    text-align: center;
    background: #54994C;
    color: #000;
    padding: 1px;
    width: 100%;
    margin: 0.5em 0;
}

.infobox-subtitle, .infobox-subtitle-biography {
    background-color: #5c76be;
}

.infobox-LO, .infobox-caption {
    font-size: smaller;
    font-style: italic;
    margin: 0.5em 0;
    text-align: center;
}

.infobox-séparateur, .infobox_separator {
    padding: 0.5em;
    border-top: 1px solid;
    border-bottom: 1px solid;
    background: #EBEBEB;
    color: #333;
}

.infobox-image {
    text-align: center;
    border: 1px solid #333;
    padding: 0.5em;
}

.infobox-center, .infobox-left, .infobox-right {
    text-align: center;
}

.infobox-table th, .infobox-table td {
    text-align: left;
    vertical-align: top;
    width: 10em;
}

.infobox-list-left, .infobox-list-right {
    text-align: center;
    float: left;
    width: 45%;
}

.mw-image-border .mw-file-element {
    border: 1px solid #eaecf0;
}

figure {
    display: table;
    text-align: center;
    border-collapse: collapse;
    margin: 0.2em;
    clear: right;
    float: right;
}

.border-line {
    border-top: 1px solid;
    height: 2px;
    margin: 5px 0.5em;
}

.infobox-container {
    float: right;
    clear: right;
    width: 33%;
    margin-left: 10px;
}

audio {
    width: -webkit-fill-available;
    height: 20px;
}

.row {
    display: table;
    clear: both;
}

.column {
    float: left;
    width: 50%;
    padding: 10px;
}

.infobox_v3 {
    padding: 10px;
    width: 25em;
    background: #fff;
    clear: right;
    float: right;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 1em 1em 0.5em 1em;
    max-width: 325px;
    word-wrap: break-word;
    box-shadow: 0 0 0.2rem #999;
    border: 0;
}

.infobox_v3 table {
    margin: 0 0 15px;
}

.infobox_v3 .entete {
    padding: 10px;
    margin: -10px -10px 5px;
}

.infobox_v3 th[scope="row"], .infobox_v3 td {
    padding: 0 2px;
}

.infobox_v3 .images img {
    height: auto;
    max-width: 320px;
    width: 100%;
}

.infobox_v3 p.legend {
    background: #fff;
    color: #54525d;
    font-size: 0.9em;
    margin: 0;
    padding: 3px 6px 12px;
    text-align: left;
}

.header_country, .header_biography_hero_PJ, .header_biography_vardahil, 
.header_biography_bjorkan, .header_biography_adenaor, 
.header_biography_damian, .header_biography_valt, 
.header_biography_dekaron, .header_biography_kelendros, 
.header_biography_regnak, .header_biography_djillian, 
.header_biography_hero_PNJ, .header_biography_PNJ, 
.header_biography_evil, .header_city, .header_geography, 
.header_place, .header_race, .header_ethnicity, 
.header_organization, .header_item, .header_event {
    background-position-x: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.subheader_general, .subheader_country, 
.subheader_biography_hero_PJ, .subheader_biography_PNJ, 
.subheader_biography_evil, .subheader_city, 
.subheader_geography, .subheader_place, 
.subheader_race, .subheader_ethnicity, 
.subheader_organization, .subheader_item, 
.subheader_event {
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    margin: 0.5em;
    padding: 4px;
}

.subheader_biography_hero_PNJ .border-line {
    background: #c6c4ea;
    color: #c6c4ea;
}