Aller au contenu

« MediaWiki:Common.css » : différence entre les versions

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
 
(366 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
.infobox {
/* =========================================================
    padding: 5px;
  GLOBAL CLEAN BASE
    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 {
    display: table;
    padding: 1px;
    height: 45px;
    width: 100%;
    font-weight: bold;
    text-align: center;
    color: #000000;
    background: #54994C;
}
 
.infobox-subtitle {
    font-weight: bold;
    text-align: center;
    margin: 0.5em 0.5em 0.5em 0.5em;
    padding: 0.2em;
    background-color: #5c76be;
}
 
 
.infobox-LO {
    font-size: smaller;
    font-style: italic;
    margin: 0.5em 0;
}
 
.infobox-subtitle-biography {
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    margin: 0 0 5px 0;
    padding: 4px;
    background-color: #5c76be;
}
 
.infobox-caption {
    text-align: center;
    font-size: smaller;
    margin-top: 1em;
    margin-bottom: 1em;
}
 
.infobox-séparateur {
    padding: 0.5em;
    border-top: 1px solid;
    border-bottom: 1px solid;
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    margin: 0.5em 0 0.5em 0;
    background: #EBEBEB;
    color: #333;
}
 
.infobox-image {
    text-align: center;
    border: #333;
    border-style: solid;
    border-width: 1px;
    padding: 0, 5em;
}


.infobox-center {
hr {
    text-align: center;
  margin: 0.3em 0.5em;
}
}


.infobox-left {
/* =========================================================
    text-align: left;
  INFOBOX V4 (CORE)
}
========================================================= */


.infobox-right {
.infobox,
    text-align: right;
.infoboxv4 {
}
     width: 320px;
 
.infobox-table {}
 
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 10em;
}
 
.infobox-table td {
    vertical-align: top;
    text-align: left;
}
 
.infobox-lined {}
 
.infobox-2-boxes {}
 
.infobox-list {
    align: center;
}
 
.infobox-list-left {
 
    align: center;
    text-align: center;
    float: left;
     width: 45%;
}
 
.infobox-list-right {
 
    align: center;
    text-align: center;
     float: right;
     float: right;
    width: 45%;
}
.mw-image-border .mw-file-element {
    border: 1px solid #eaecf0
}
figure {
    display: table;
    text-align: center;
    border-collapse: collapse;
    line-height: 0;
    margin: 0.2em;
     clear: right;
     clear: right;
    float: right
     margin: 0 0 0.5em 1em;
}
     padding: 0;
 
     background: #f9f9f9;
.border-line {
     border: 1px solid #a2a9b1;
    border-top-style: solid;
     border-radius: 8px;
    border-width: 2px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    height: 1px;
     margin: 5px 0.5em;
}
 
.border-line-thin {
     border-top-style: solid;
     border-width: 1px;
     height: 1px;
     margin: 5px 0.5em;
}
 
.infobox-container {
    float: right;
    clear: right;
    width: 33%;
     margin-left: 10px;
}
 
audio {
    width: -webkit-fill-available;
    height: 20px;
 
}
 
.row {
    content: "";
    display: table;
    clear: both;
}
 
.column {
    float: left;
    width: 50%;
    padding: 10px;
}
 
.infobox_v3 .navbar {
    display: none;
}
 
.infobox_v3 p.bloc,
.infobox_v3 table caption {
    background-color: #eaecf0 !important;
    color: #222 !important;
}
 
div.infobox_v3 {
    padding: 10px;
    width: 25em;
    background: #ffffff;
    clear: right;
    float: right;
     font-size: 0.9em;
     font-size: 0.9em;
     line-height: 1.4;
     line-height: 1.4;
     margin: 1em 1em 0.5em 1em;
     overflow: hidden;
    max-width: 325px;
    word-wrap: break-word;
    box-shadow: 0 0 .2rem #999;
    border: 0px;
}
}


.infobox_v3 table {
/* =========================================================
    padding: 0;
  ENTÊTE
    margin: 0 0 15px;
========================================================= */
}


.infobox_v3 .entete {
.infoboxv4-entete {
     padding: 10px;
     position: relative;
     margin-top: -10px;
     font-weight: bold;
     margin-bottom: 5px;
    text-align: center;
     margin-right: -10px;
     font-size: 1.3em;
     margin-left: -10px;
     padding: 0.5em 2.2em 0.5em 0.6em;
     margin: 0;
}
}


.infobox_v3 th[scope="row"],
/* Icône entête */
.infobox_v3 td {
.infoboxv4-entete::after {
     padding-left: 2px;
    content: "";
     padding-right: 2px;
    position: absolute;
    top: 50%;
    right: 8px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
     background-size: contain;
     background-repeat: no-repeat;
    opacity: 0.85;
}
}


.infobox_v3 .images {
/* sous-texte */
     padding: 0 !important;
.infoboxv4-lo {
     border-top-left-radius: 0px;
     font-size: 0.7em;
     border-top-right-radius: 0px;
     font-weight: normal;
     margin-top: 0.2em;
}
}


.infobox_v3 .images img {
/* =========================================================
    border-top-left-radius: 0px;
  BLOCS (SECTIONS)
    border-top-right-radius: 0px;
========================================================= */
    height: auto;
    max-width: 320px;
    width: 100%;
}


.infobox_v3 p.legend {
.infoboxv4-titre-bloc {
     background: #FFF;
     position: relative;
     color: #54525d;
     text-align: center;
     font-size: 0.9em;
     font-weight: bold;
    padding: 0.45em 2em 0.45em 0.6em;
     margin: 0;
     margin: 0;
     padding: 3px 6px 12px;
     font-size: 0.95em;
    text-align: left;
}
}


.infobox_v3 p.legend {
/* Icône bloc */
     background: #FFF;
.infoboxv4-titre-bloc::after {
     color: #54525d;
     content: "";
}
    position: absolute;
 
     right: 8px;
.infobox_v3 p.legend a {
    top: 50%;
     color: #54525d;
    width: 14px;
     text-align: center;
    height: 14px;
    transform: translateY(-50%);
     background-size: contain;
     background-repeat: no-repeat;
    opacity: 0.7;
}
}


.infobox_v3 .navbar {
/* =========================================================
    display: none;
  IMAGES
}
========================================================= */


.infobox_v3 p.bloc,
.infoboxv4-portrait,
.infobox_v3 table caption {
.infoboxv4-carte,
    background-color: #eaecf0 !important;
.infoboxv4-image {
    color: #222 !important;
}
 
/* Crédits d'auteurs: [[Projet:Charte graphique/Articles/Infoboxes]] */
 
.infobox_top_border {
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    width: 25em;
    background: #f9f9f9;
    line-height: 1.4;
    margin: 0 0 0.5em 1em;
    max-width: 327px;
    word-wrap: break-word;
    clear: right;
    float: right;
}
 
.infobox_bottom_border {
    background: #f9f9f9;
    border-bottom: 1px solid #aaa;
    width: 100%;
    max-width: 100%;
    float: right;
}
 
.infobox_header_blank {
    padding: 0.5em;
    clear: right;
    font-size: 1.2em;
    margin: 0.5em 0.5em 0.5em 0.5em;
    font-weight: bold;
     text-align: center;
     text-align: center;
    background: #dfedff;
}
.Infobox_country_heraldry {
     padding: 0.5em;
     padding: 0.5em;
    clear: right;
    font-size: 1.2em;
    margin: 0.5em 0.5em 0.5em 0.5em;
    font-weight: bold;
    text-align: center;
    color: #000000;
    background: #54994c99;
}
}


 
.infoboxv4-portrait img,
.infobox_separator {
.infoboxv4-carte img,
    padding: 0.5em;
.infoboxv4-image img {
    border-top: 1px solid;
     max-width: 100%;
    border-bottom: 1px solid;
     height: auto;
     font-weight: bold;
     border-radius: 4px;
     text-align: center;
     line-height: 1.1;
    margin: 0.5em 0 0.5em 0;
    background: #EBEBEB;
    color: #333;
}
}


/*=====HEADERS LIST=====
.infoboxv4-portrait div,
 
.infoboxv4-carte div,
.HEADER
.infoboxv4-image div {
 
     font-size: 0.8em;
.BORDER-LINE-EVIL
     color: #54595d;
.BORDER-LINE-HEROPNJ
     margin-top: 0.3em;
.HEADER_BIOGRAPHY_ADENAOR
.HEADER_BIOGRAPHY_BJORKAN
.HEADER_BIOGRAPHY_DAMIAN
.HEADER_BIOGRAPHY_DEKARON
.HEADER_BIOGRAPHY_DJILLIAN
.HEADER_BIOGRAPHY_EVIL
.HEADER_BIOGRAPHY_HERO_PJ
.HEADER_BIOGRAPHY_KELENDROS
.HEADER_BIOGRAPHY_PNJ
.HEADER_BIOGRAPHY_REGNAK
.HEADER_BIOGRAPHY_VARDAHIL
.HEADER_BIOGRAPHY_VALT
.HEADER_CITY
.HEADER_COUNTRY
.HEADER_ETHNICITY
.HEADER_EVENT
.HEADER_GEOGRAPHY
.HEADER_HERO_PNJ
.HEADER_ITEM
.HEADER_ORGANIZATION
.HEADER_PLACE
.HEADER_RACE
 
*/
 
.header {
    background-position-x: right;
    background-repeat: no-repeat;
    background-size: contain;
    clear: right;
     font-size: 1.2em;
     padding: 0.5em;
     margin: 0.5em 0.5em 0.5em 0.5em;
    font-weight: bold;
    text-align: center;
    color: #000000;
}
}


.header_country {
/* =========================================================
    background-color: #54994c99;
  TABLEAUX
    background-image: url(https://wiki.alakihel.ovh/images/c/c0/Pictogram_compas_102x45.png);
========================================================= */
}
.border-line-country {
    color: #54994c99;
}


.header_hero_PJ {
.infoboxv4-tableau {
     background-color: #DDD5C9;
     width: 100%;
     background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
     border-collapse: collapse;
}
}


.header_vardahil {
.infoboxv4-tableau th,
     background-color: #DDD5C9;
.infoboxv4-tableau td {
     background-image: url(https://wiki.alakihel.ovh/images/3/36/Pictogram_vardahil.png);
     padding: 0.35em 0.5em;
     vertical-align: top;
}
}


.header_bjorkan {
.infoboxv4-tableau th {
     background-color: #DDD5C9;
     width: 40%;
     background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
     font-weight: normal;
    color: #202122;
}
}


.header_adenaor {
.infoboxv4-tableau td {
     background-color: #DDD5C9;
     width: 60%;
    background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
}


.header_damian {
.infoboxv4-tableau tr + tr td,
     background-color: #DDD5C9;
.infoboxv4-tableau tr + tr th {
    background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
     border-top: 1px solid #eaecf0;
}
}


.header_valt {
/* =========================================================
    background-color: #DDD5C9;
  SÉPARATEURS
    background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
========================================================= */
}


.header_dekaron {
.infoboxv4-separateur {
     background-color: #DDD5C9;
     border-top: 1px solid #a2a9b1;
     background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
     margin: 0.3em 0;
}
}


.header_kelendros {
/* =========================================================
    background-color: #DDD5C9;
  ICÔNES PAR CHARTE
    background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
========================================================= */
}


.header_regnak {
.infoboxv4-entete.empire::after,
    background-color: #DDD5C9;
.infoboxv4-titre-bloc.empire::after {
     background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
     background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}
}


.header_djillian {
.infoboxv4-entete.biographie::after,
    background-color: #DDD5C9;
.infoboxv4-titre-bloc.biographie::after {
     background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
     background-image: url(https://wiki.alakihel.ovh/images/1/19/Pictogram_flower.png);
}
}


.header_hero_PNJ {
.infoboxv4-entete.geographie::after,
    background-color: #ADA9E0;
.infoboxv4-titre-bloc.geographie::after {
     background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png);
     background-image: url(https://wiki.alakihel.ovh/images/c/c8/Pictogram_sonlight.png);
}
.border-line-heropnj {
    color: #ADA9E0;
}
}


.header_PNJ {
.infoboxv4-entete.darkgods::after,
    background-color: #dac5a3;
.infoboxv4-titre-bloc.darkgods::after {
     background-image: url(http://localhost:8888/FQw/images/0/0c/Picto_infobox_biography.png);
     background-image: url(https://wiki.alakihel.ovh/images/e/ea/Pictogram_darkgods.png);
}
}


.header_biography_evil {
.infoboxv4-entete.cite_independante::after,
    background-color: #39414d;
.infoboxv4-titre-bloc.cite_independante::after {
     background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png);
     background-image: url(https://wiki.alakihel.ovh/images/2/28/Pictogram_freecity.png);
    color: #FFFFFF;
    border-color: inherit;
}
.border-line-evil {
    color: #39414d;
}
}


.header_city {
.infoboxv4-entete.björkan::after,
    background-color: #9d943099;
.infoboxv4-titre-bloc.björkan::after {
     background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
     background-image: url(https://wiki.alakihel.ovh/images/9/9b/Pictogram_Björkan_Närävar.png);
}
}


.header_geography {
/* =========================================================
    background-color: #915B5B;
  CORRECTIONS MEDIAWIKI
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
========================================================= */
}


.header_place {
.infobox > p:only-child {
     background-color: #a7b0a799;
     display: none;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
}
}


.header_race {
.infobox table {
     background-color: #9f571899;
     border-collapse: collapse;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
     width: 100%;
}
 
.header_ethnicity {
    background-color: #a1730099;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
 
}
 
.header_organization {
    background-color: #9d943ccc;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
 
}
 
.border-line-organization {
    color: #9d943ccc;
}
 
 
.header_item {
    background-color: #9f262699;
     background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
 
}
 
.header_event {
    background-color: #10c4b899;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
 
}
 
/*=====Liste des Subheaders=====
 
GENERAL
 
 
 
 
 
 
 
*/
 
 
.subheader {
    font-weight: bold;
    text-align: center;
    line-height: 1.1;
    margin: 0.5em 0.5em 0.5em 0.5em;
    padding: 4px;
}
 
.subheader_general {
    background: #4652adcc;
}
 
.subheader_country {
    background: #54994ccc;
}
 
.subheader_biography_hero_PJ {
    background: #DBDDC9;
    ;
}
 
.subheader_hero_PNJ {
    background-color: #c6c4ea;
 
}
 
.subheader_biography_PNJ {
    background: #D3DAA3;
    ;
}
 
.subheader_biography_evil {
    background: #3B394D;
    color: #FFFFFF;
}
 
.subheader_city {
    background: #9d2ebc88;
}
 
.subheader_geography {
    background: #DB8877;
}
 
.subheader_place {
    background: #a7b0accc;
}
 
.subheader_race {
    background: #9f571ccc;
}
 
.subheader_ethnicity {
    background: #a1730ccc;
}
 
.subheader_organization {
    background-color: #9d933c82;
}
 
.subheader_item {
    background: #9f262ccc;
}
}


.subheader_event {
.infobox th,
     background: #10c4bccc;
.infobox td {
     border: none;
}
}

Dernière version du 9 avril 2026 à 16:42

/* =========================================================
   GLOBAL CLEAN BASE
========================================================= */

hr {
  margin: 0.3em 0.5em;
}

/* =========================================================
   INFOBOX V4 (CORE)
========================================================= */

.infobox,
.infoboxv4 {
    width: 320px;
    float: right;
    clear: right;
    margin: 0 0 0.5em 1em;
    padding: 0;
    background: #f9f9f9;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    font-size: 0.9em;
    line-height: 1.4;
    overflow: hidden;
}

/* =========================================================
   ENTÊTE
========================================================= */

.infoboxv4-entete {
    position: relative;
    font-weight: bold;
    text-align: center;
    font-size: 1.3em;
    padding: 0.5em 2.2em 0.5em 0.6em;
    margin: 0;
}

/* Icône entête */
.infoboxv4-entete::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.85;
}

/* sous-texte */
.infoboxv4-lo {
    font-size: 0.7em;
    font-weight: normal;
    margin-top: 0.2em;
}

/* =========================================================
   BLOCS (SECTIONS)
========================================================= */

.infoboxv4-titre-bloc {
    position: relative;
    text-align: center;
    font-weight: bold;
    padding: 0.45em 2em 0.45em 0.6em;
    margin: 0;
    font-size: 0.95em;
}

/* Icône bloc */
.infoboxv4-titre-bloc::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

/* =========================================================
   IMAGES
========================================================= */

.infoboxv4-portrait,
.infoboxv4-carte,
.infoboxv4-image {
    text-align: center;
    padding: 0.5em;
}

.infoboxv4-portrait img,
.infoboxv4-carte img,
.infoboxv4-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.infoboxv4-portrait div,
.infoboxv4-carte div,
.infoboxv4-image div {
    font-size: 0.8em;
    color: #54595d;
    margin-top: 0.3em;
}

/* =========================================================
   TABLEAUX
========================================================= */

.infoboxv4-tableau {
    width: 100%;
    border-collapse: collapse;
}

.infoboxv4-tableau th,
.infoboxv4-tableau td {
    padding: 0.35em 0.5em;
    vertical-align: top;
}

.infoboxv4-tableau th {
    width: 40%;
    font-weight: normal;
    color: #202122;
}

.infoboxv4-tableau td {
    width: 60%;
}

.infoboxv4-tableau tr + tr td,
.infoboxv4-tableau tr + tr th {
    border-top: 1px solid #eaecf0;
}

/* =========================================================
   SÉPARATEURS
========================================================= */

.infoboxv4-separateur {
    border-top: 1px solid #a2a9b1;
    margin: 0.3em 0;
}

/* =========================================================
   ICÔNES PAR CHARTE
========================================================= */

.infoboxv4-entete.empire::after,
.infoboxv4-titre-bloc.empire::after {
    background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
}

.infoboxv4-entete.biographie::after,
.infoboxv4-titre-bloc.biographie::after {
    background-image: url(https://wiki.alakihel.ovh/images/1/19/Pictogram_flower.png);
}

.infoboxv4-entete.geographie::after,
.infoboxv4-titre-bloc.geographie::after {
    background-image: url(https://wiki.alakihel.ovh/images/c/c8/Pictogram_sonlight.png);
}

.infoboxv4-entete.darkgods::after,
.infoboxv4-titre-bloc.darkgods::after {
    background-image: url(https://wiki.alakihel.ovh/images/e/ea/Pictogram_darkgods.png);
}

.infoboxv4-entete.cite_independante::after,
.infoboxv4-titre-bloc.cite_independante::after {
    background-image: url(https://wiki.alakihel.ovh/images/2/28/Pictogram_freecity.png);
}

.infoboxv4-entete.björkan::after,
.infoboxv4-titre-bloc.björkan::after {
    background-image: url(https://wiki.alakihel.ovh/images/9/9b/Pictogram_Björkan_Närävar.png);
}

/* =========================================================
   CORRECTIONS MEDIAWIKI
========================================================= */

.infobox > p:only-child {
    display: none;
}

.infobox table {
    border-collapse: collapse;
    width: 100%;
}

.infobox th,
.infobox td {
    border: none;
}