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;
    background: #f9f9f9;
    border: 1px solid #aaa;
    max-width: 325px;
    word-wrap: break-word;
    float: right;
    clear: right;
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0 0 0.5em 1em;
}

.infobox_bottom_border {
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid #aaa;
}

.infobox-title {
    font-weight: bold;
    text-align: center;
    color: #000;
    background: #54994C;
    padding: 1px;
    width: 100%;
    height: 45px;
}

.infobox-subtitle, .infobox-subtitle-biography {
    font-weight: bold;
    text-align: center;
    background-color: #5c76be;
    margin: 0.5em;
    padding: 0.2em;
}

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

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

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

.infobox-center, .infobox-left, .infobox-right {
    text-align: center;
    margin: 5px 0.5em;
}

.infobox-left {
    text-align: left;
}

.infobox-right {
    text-align: right;
}

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

.infobox-table th {
    width: 10em;
}

.infobox-table td {
    width: 15em;
}

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

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


.infobox-modifier {
    display: inline-block;
    width: -webkit-fill-available;
}

.plainlinks {
    margin: 5px 0.5em;
}

.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-style: solid;
    border-width: 1px;
    height: 2px;
    margin: 5px 0.5em;
}

hr.nation {
    background-color: #65cec9cc;
    margin: 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;
}

/* HEADER */
.header, .subheader {
    font-weight: bold;
    text-align: center;
    padding: 0.5em;
    margin: 0.5em;
}

.header {
    font-size: 1.2em;
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}

.subheader {
    line-height: 1.1;
    padding: 4px;
}

/* TEMPLATE HEROES PNJ */
.header_hero_PNJ, .header_enemy, .header_PNJ, .header_PJ, .header_organization, .header_nation, 
.header_dwarf_nation, .header_wood_nation, .header_geography, .header_city, .header_place, 
.header_race, .header_monsters, .header_items, .header_events {

    background-size: cover;
}


.hero_PNJ_border, .enemy_border, .PNJ_border, .PJ_border, .organization_border, .nation_border,
.dwarf_nation_border, .wood_nation_border, .geography_border, .city_border, .place_border,
.race_border, .monsters_border, .items_border, .events_border {

    border-color: currentColor;
}

/* SPECIFIC TEMPLATES */
.header_hero_PNJ {
    background-color: #a9c8e0;
    background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
.subheader_hero_PNJ {
    background: #a9c8e09c;
}
.hero_PNJ_border {
    border-color: #a9c8e0;
}

.header_enemy {
    background-color: #39414d;
    background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png);
    color: #e4e4e4;
}
.subheader_enemy {
    background: #3B394D;
    color: #e4e4e4;
}
.enemy_border {
    border-color: #39414d;
}

.header_PNJ {
    background-color: #dac5a3ca;
    background-image: url(https://wiki.alakihel.ovh/images/1/19/Pictogram_flower.png);
}
.subheader_PNJ {
    background: #dac5a367;
}
.PNJ_border {
    border-color: #dac5a3;
}

.header_PJ {
    background-color: #ADA9E0;
    background-image: url(https://wiki.alakihel.ovh/images/c/c8/Pictogram_sonlight.png);
}
.subheader_PJ {
    background: #aca9e099;
}
.PJ_border {
    border-color: #ADA9E0;
}

.header_organization {
    background-color: #9d943ccc;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
.subheader_organization {
    background: #9d933c7b;
}
.organization_border {
    border-color: #9d943ccc;
}

.header_nation {
    background-color: #65cec9;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_nation {
    background: #65cec9cc;
}

/* ACTORIA (GOUVERNORATE) TEMPLATES */

.header_actoria_governorate {
    background-color: #0b57dbb5;
    background-image: url(https://wiki.alakihel.ovh/images/4/41/Pictogram_actoria_%28gouvernorate%29.png);
}
.subheader_actoria_governorate {
    background: #0b57db76;
}
hr.actoria_governorate {
    background-color: #0b57dbb5;
    margin: 0.5em;
}

/* TAL EI' DJAAR TEMPLATES */

.header_taleidjaar {
    background-color: #dbbc0bdb;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_Tal_Ei%27_Djaar.png);
}
.subheader_taleidjaar {
    background: #dbbc0b9e;
}
hr.taleidjaar {
    background-color: #dbbc0bdb;
    margin: 0.5em;
}


/* CÉDOYIN TEMPLATES */

.header_cédoyin {
    background-color: #0b69dbc1;
    background-image: url(https://wiki.alakihel.ovh/images/6/6f/Pictogram_cédoyin.png);
}
.subheader_cédoyin {
    background: #0b69db90;
}
hr.cédoyin {
    background-color: #0b69dbc1;
    margin: 0.5em;
}


/* ELNASTOR TEMPLATES */

.header_elnastor {
    background-color: #db0b1db5;
    background-image: url(https://wiki.alakihel.ovh/images/6/67/Pictogram_elnastor.png);
}
.subheader_elnastor {
    background: #db0b1ca8;
}
hr.elnastor {
    background-color: #db0b1db5;
    margin: 0.5em;
}

/* RINATROV TEMPLATES */

.header_rinatrov {
    background-color: #0208bab5;
    background-image: url(https://wiki.alakihel.ovh/images/6/67/Pictogram_elnastor.png);
}
.subheader_rinatrov {
    background: #0208ba73;
}
hr.rinatrov {
    background-color: #0208bab5;
    margin: 0.5em;
}

/* ELPONIE TEMPLATES */

.header_elponie {
    background-color: #c8212fd9;
    background-image: url(https://wiki.alakihel.ovh/images/6/6d/Pictogram_elponie.png);
}
.subheader_elponie {
    background: #c8212f79;
}
hr.elponie {
    background-color: #c8212fd9;
    margin: 0.5em;
}


/* ITIRITH TEMPLATES */

.header_itirith {
    background-color: #35bd65d8;
    background-image: url(https://wiki.alakihel.ovh/images/0/00/Pictogram_itirith.png);
}
.subheader_itirith {
    background: #35bd65a8;
}
hr.itirith {
    background-color: #35bd65d8;
    margin: 0.5em;
}


.header_dwarf_nation {
    background-color: #5e5e5e;
    background-image: url(https://wiki.alakihel.ovh/images/8/8a/Pictogram_dwarf_city.png);
    color: #e1e1e1;
}
.subheader_dwarf_nation {
    background: #8e8e8e9d;
}
.dwarf_nation_border {
    border-color: #5e5e5e;
}

.header_wood_nation {
    background-color: #48ba78;
    background-image: url(https://wiki.alakihel.ovh/images/6/67/Pictogram_wood_nation.png);
}
.subheader_wood_nation {
    background: #48ba779e;
}
.wood_nation_border {
    border-color: #48ba78;
}

.header_geography {
    background-color: #CEF2D4;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_geography {
    background: #cef2d4a6;
}
.geography_border {
    border-color: #CEF2D4;
}

.header_city {
    background-color: #F5F5DC;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_city {
    background: #f5f5dc91;
}
.city_border {
    border-color: #F5F5DC;
}

.header_place {
    background-color: #54994c99;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_place {
    background: #54994ccc;
}
.place_border {
    border-color: #c6c4ea;
}

.header_race {
    background-color: #a1730ccc;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_race {
    background: #a1720c95;
}
.race_border {
    border-color: #a1730ccc;
}

.header_monsters {
    background-color: #54994c99;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_monsters {
    background: #54994ccc;
}
.monsters_border {
    border-color: #c6c4ea;
}

.header_items {
    background-color: #9f262699;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_items {
    background: #9f26265d;
}
.items_border {
    border-color: #9f262699;
}

.header_events {
    background-color: #54994c99;
    background-image: url(https://wiki.alakihel.ovh/images/4/40/Pictogram_nation_102x45.png);
}
.subheader_events {
    background: #54994ccc;
}
.events_border {
    border-color: #c6c4ea;
}

/* END OF TEMPLATES */