Aller au contenu

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

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
 
(424 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
.infobox, .infobox_top_border {
/* =========================================================
    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_bottom_border {
hr {
    background: #f9f9f9;
  margin: 0.3em 0.5em;
    border-bottom: 1px solid #aaa;
    width: 100%;
    max-width: 100%;
    float: right;
}
}


.infobox-title {
/* =========================================================
    font-weight: bold;
  INFOBOX V4 (CORE)
    text-align: center;
========================================================= */
    color: #000;
    background: #54994C;
    padding: 1px;
    width: 100%;
    height: 45px;
}


.infobox-subtitle, .infobox-subtitle-biography {
.infobox,
    font-weight: bold;
.infoboxv4 {
    text-align: center;
     width: 320px;
    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;
}
 
.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 {
    text-align: center;
    border: 1px solid #333;
    padding: 0.5em;
}
 
.infobox-center, .infobox-left, .infobox-right {
    text-align: center;
}
 
.infobox-left {
    text-align: left;
}
 
.infobox-right {
    text-align: right;
}
 
.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-style: solid;
    border-width: 1px;
    height: 2px;
    margin: 5px 0.5em;
    border-color: inherit;
}
 
.infobox-container {
     float: right;
     float: right;
     clear: right;
     clear: right;
    width: 33%;
     margin: 0 0 0.5em 1em;
     margin-left: 10px;
     padding: 0;
}
     background: #f9f9f9;
 
     border: 1px solid #a2a9b1;
audio {
     border-radius: 8px;
    width: -webkit-fill-available;
     box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    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;
     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 0.2rem #999;
    border: 0;
}
}


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


.infobox_v3 .entete {
.infoboxv4-entete {
     padding: 10px;
     position: relative;
     margin: -10px -10px 5px;
     font-weight: bold;
}
     text-align: center;
 
     font-size: 1.3em;
.infobox_v3 th[scope="row"], .infobox_v3 td {
     padding: 0.5em 2.2em 0.5em 0.6em;
    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;
     margin: 0;
    padding: 3px 6px 12px;
    text-align: left;
}
}


.infobox_v3 p.legend a {
/* Icône entête */
     color: #54525d;
.infoboxv4-entete::after {
}
     content: "";
 
    position: absolute;
.header_country {
    top: 50%;
     background: #54994c99;
    right: 8px;
     background-image: url(https://wiki.alakihel.ovh/images/c/c0/Pictogram_compas_102x45.png);
    width: 18px;
     background-position-x: right;
     height: 18px;
     transform: translateY(-50%);
     background-size: contain;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: contain;
     opacity: 0.85;
}
}


.header_biography_hero_PJ, .header_biography_vardahil, .header_biography_bjorkan,
/* sous-texte */
.header_biography_adenaor, .header_biography_damian, .header_biography_valt,
.infoboxv4-lo {
.header_biography_dekaron, .header_biography_kelendros, .header_biography_regnak,
     font-size: 0.7em;
.header_biography_djillian {
     font-weight: normal;
     background: #DDD5C9;
     margin-top: 0.2em;
    background-image: url(https://wiki.alakihel.ovh/images/d/df/Pictogram_feather.png);
     background-position-x: right;
     background-repeat: no-repeat;
    background-size: contain;
}
}


.header_biography_hero_PNJ {
/* =========================================================
    background: #ADA9E0;
  BLOCS (SECTIONS)
    background-image: url(http://localhost:8888/FQw/images/0/0c/Picto_infobox_biography.png);
========================================================= */
    background-position-x: right;
    background-repeat: no-repeat;
    background-size: contain;
}


.header_biography_PNJ {
.infoboxv4-titre-bloc {
     background: #dac5a3;
     position: relative;
     background-image: url(http://localhost:8888/FQw/images/0/0c/Picto_infobox_biography.png);
     text-align: center;
     background-position-x: right;
    font-weight: bold;
     background-repeat: no-repeat;
     padding: 0.45em 2em 0.45em 0.6em;
     background-size: contain;
     margin: 0;
     font-size: 0.95em;
}
}


.header_biography_evil {
/* Icône bloc */
     background: #39414d;
.infoboxv4-titre-bloc::after {
     background-image: url(https://wiki.alakihel.ovh/images/d/d3/Pictogram_oeil_102x45.png);
     content: "";
     background-position-x: right;
    position: absolute;
     background-repeat: no-repeat;
    right: 8px;
     top: 50%;
    width: 14px;
     height: 14px;
     transform: translateY(-50%);
     background-size: contain;
     background-size: contain;
    color: #fff;
}
.header_city, .header_geography, .header_place, .header_race,
.header_ethnicity, .header_organization, .header_item, .header_event {
    background-image: url(//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png);
    background-position-x: right;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-size: contain;
     opacity: 0.7;
}
}


.header_city {
/* =========================================================
    background: #9d943099;
  IMAGES
}
========================================================= */


.header_geography {
.infoboxv4-portrait,
     background: #915B5B;
.infoboxv4-carte,
.infoboxv4-image {
     text-align: center;
    padding: 0.5em;
}
}


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


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


.header_ethnicity {
/* =========================================================
    background: #a1730099;
  TABLEAUX
}
========================================================= */


.header_organization {
.infoboxv4-tableau {
     background-color: #9d943ccc;
     width: 100%;
    border-collapse: collapse;
}
}


.header_item {
.infoboxv4-tableau th,
     background: #9f262699;
.infoboxv4-tableau td {
     padding: 0.35em 0.5em;
    vertical-align: top;
}
}


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


.infobox_subheader {
.infoboxv4-tableau td {
     font-weight: bold;
     width: 60%;
    text-align: center;
    line-height: 1.1;
    margin: 0.5em;
    padding: 4px;
}
}


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


.subheader_country {
/* =========================================================
    background: #54994ccc;
  SÉPARATEURS
}
========================================================= */


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


.subheader_biography_hero_PNJ .border-line {
/* =========================================================
    background: #c6c4ea;
  ICÔNES PAR CHARTE
    color: #c6c4ea;
========================================================= */
}


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


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


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


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


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


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


.subheader_ethnicity {
/* =========================================================
    background: #a1730ccc;
  CORRECTIONS MEDIAWIKI
}
========================================================= */


.subheader_organization {
.infobox > p:only-child {
     background-color: #9d933c82;
     display: none;
}
}


.subheader_item {
.infobox table {
     background: #9f262ccc;
     border-collapse: collapse;
    width: 100%;
}
}


.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;
}