Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

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

Page de l’interface de MediaWiki
Hiob (discussion | contributions)
Aucun résumé des modifications
Hiob (discussion | contributions)
m Et la sidebar aussi
 
(211 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* Le CSS placé ici sera appliqué à tous les habillages. */


/**************** BIBEHCK (ME!) ******************************/
.mw-widget-dateInputWidget-calendar {position: inherit!important;}


.selflink {color: #468847;}


/* Couleurs des liens */
.keyboard-key, .kbd {color:#0a7cc8; text-decoration: none;}
a {color:#099DFF; text-decoration: none;}
a:hover {color:#4D4D4D;text-decoration: none;}
a:active  {color:#4E8DAF;}
a:visited {color:#099DFF;text-decoration: none;}


/* Menu de gauche */
.coord {
#mw-panel li a {color: #CB4627!important;text-decoration:none!important;}
    font-size: 12px;
#mw-panel li a:hover {color:#2d2d2d!important;}
    font-family: Consolas,"Liberation Mono",Courier,monospace;
    margin: 0 2px;
    padding: 3px 5px;
    white-space: nowrap;
    border: 1px solid #EAEAEA;
    background-color:#D7EFEE!important;
    color:#468781!important;
}


/* Onglet du content */
code .red {
vectorTabs a {color:#099DFF; text-decoration: none;}
    color: #c7254e!important;
div.vectorTabs li a:hover {color:#4D4D4D;text-decoration: none;}
    background-color: #f9f2f4!important;
div.vectorTabs li a:active  {color:#4E8DAF;}
}
div.vectorTabs li a:visited {color:#4E8DAF;text-decoration: none;}


div.vectorTabs li.new a {color:#CB4627/*#FFCE7B*/; font-weight:italic;}
.coord a {
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {color:#4E8DAF;}
    background-color:#D7EFEE!important;
div.vectorMenu li a, div.vectorMenu li a  {color:#4E8DAF!important;}
    color:#468781!important;
}


/* Modèles
----------------------------------- */


/* Discussion */
#ouvrage {
/* Pseudo NS Special (light grey) */
    width:70%;
.ns--2 #content { background-color: #f4f4f4; }
    font-style: italic;
.ns--2 div.thumb { border-color: #f4f4f4; }
    margin: 0.25em 0;
    padding: 0.25em 40px;
/* NS Project + Project_talk (light sky blue) */
    line-height: 1.45;
.ns-4 #content,
    position: relative;
.ns-5 #content { background-color: #f8fcff; }
    color: #31708F;
.ns-4 div.thumb,
    text-align:justify;  
.ns-5 div.thumb { border-color: #f8fcff; }
    text-justify: auto;
/* NS MediaWiki + MediaWiki_talk (light grey) */
.ns-8 #content,
.ns-9 #content { background-color: #f4f4f4; }
.ns-8 div.thumb,
.ns-9 div.thumb { border-color: #f4f4f4; }
/* NS Manual + Manual_talk (light bluish violet) */
.ns-100 #content,
.ns-101 #content { background-color: #f3f3ff; }
.ns-100 div.thumb,
.ns-101 div.thumb { border-color: #f3f3ff; }
/* NS Help (but NOT Help_talk) (blue border and Public Domain icon) */
.ns-12 #content {
border: 2px solid #0000cc;
border-right: none;
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/b/b8/PD-banner.png);
background-repeat: no-repeat;
background-position: right top;
}
}
.ns-12 #bodyContent {
 
background-image: url(//upload.wikimedia.org/wikipedia/mediawiki/6/67/PD-icon-faded.png);
#ouvrage p {
background-repeat: no-repeat;
    font-size:1.1em;
/* @noflip */ background-position: right 5em;
}
}


/* Tableau */
#ouvrage h2 {
table.wikitable {
    border-bottom: none!important;
margin: 1em 1em 1em 0;
    color:#1B3E57;
background-color: #EFF6FA;
    margin-bottom:0.3em!important;
border: 1px #AAA solid;
border-collapse: collapse;
color: black;
-webkit-border-radius: 0.3em!important;
-moz-border-radius: 0.3em!important;
border-radius: 0.3em!important;
border: 1px solid #CCC;
box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
}
}


table.wikitable th, table.wikitable td,
#ouvrage cite {
table.wiki-table th, table.wiki-table td {
    color: #999999;
     border: 0;
    font-size: 14px;
     border-bottom: 1px solid #ccc;
     display: block;
     padding: 0.35em 0.5em;
     margin-top: 5px;
}
#ouvrage cite:before {
     content: "\2014 \2009";
}
}
table.wikitable th, table.wikitable td.hl1, table.wikitable th.hl1,
 
table.wiki-table th, table.wiki-table td.hl1, table.wikitable th.hl1 {
#citation {
     background: #F8F6EB;
     width:70%;
     padding: 0.35em 0.5em;
     font-style: italic;
    color: #000;
     margin: 0.25em 0;
    text-align: left;
     padding: 0.25em 40px;
     border-radius: 0.3em;
     line-height: 1.45;
    -moz-border-radius: 0.3em;
     -webkit-border-radius: 0.3em;
     text-shadow: none;
    border: 1px solid #ccc;
    box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, 0.1);
     position: relative;
     position: relative;
    color: #31708F;
    text-align:justify;
    text-justify: auto;
}
}
table.wikitable td.hl2, table.wikitable th.hl2,
 
table.wiki-table td.hl2, table.wiki-table th.hl2 {
#citation p {
     background: #fff;
     font-size:1.1em;
    color: #444;
}
     text-align: center;
 
     border: 1px solid #ccc;
#citation h2 {
     border-top: 0;
     border-bottom: none!important;
     color:#1B3E57;
     margin-bottom:0.3em!important;
}
}
table.wikitable td.hl3, table.wikitable th.hl3,
 
table.wiki-table td.hl3, table.wiki-table th.hl3 {
#citation cite {
    background: #ebf5f8;
     color: #999999;
     color: #444;
     font-size: 14px;
     text-align: center;
     display: block;
     border: 1px solid #ccc;
     margin-top: 5px;
     border-top: 0;
}
}
table.wikitable caption,
table.wiki-table caption {
#citation cite:before {
     margin-left: inherit;
     content: "\2014 \2009";
    margin-right: inherit;
    font-weight: bold;
}
}
table.wikitable td,
 
table.wiki-table td {
#purge {
     vertical-align: top;
     float:right;
}
}
table.wikitable td:nth-child(even), table.wiki-table td:nth-child(even) {
 
     background: #f7f7f7;
table.right {
    float: right !important;
    clear: right !important;
     width: 300px !important;
}
}
table.wikitable tr:hover td, table.wiki-table tr:hover td {
     background: #f5fafc;
/* Infobox
     -webkit-transition: all .1s;
--------------------- */
     -moz-transition: all .1s;
     -o-transition: all .1s;
.infobox {
     transition: all .1s;
     background: #EEE;
    color: #000;
    float: right;
    clear: right;
     font-size: 95%;
     border-collapse: collapse;
     margin: 0 0 .5em 1em;
     width: 250px;
}
}
table.wikitable tr:hover td:nth-child(even), table.wiki-table tr:hover td:nth-child(even) {
     background: #eaf3f7;
.infobox caption {
    background: #C0C0C0;
    border-left: 1px solid #AAA;
    border-top: 1px solid #AAA;
    border-right: 1px solid #AAA;
    padding: .2em;
    margin-left: .57em;
    font-weight: bolder;
    text-align: center;
     color: #FFF;
    font-size: 160%;
}
}
   
   
/* Table 2 From sk89q */
.infobox th,
 
.infobox td {
table.wikitable2,
     vertical-align: middle;
table.wiki-table2 {
     border: 1px solid #AAA;
     margin: 1em -2px 1em -2px;
     padding: .2em .2em .2em .5em;
    background: #fff;
    border: 0;
    border-collapse: separate;
    empty-cells: show;
     border-spacing: 1px;
     border: 0;
    border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
}
}
table.wikitable2 th, table.wikitable2 td,
table.wiki-table2 th, table.wiki-table2 td {
.infobox td {
     border: 0;
     text-align: center;
     border-bottom: 1px solid #ccc;
     background: #F9F9F9;
    padding: 0.35em 0.5em;
}
}
table.wikitable2 th, table.wikitable2 td.hl1, table.wikitable2 th.hl1,
table.wiki-table2 th, table.wiki-table2 td.hl1, table.wikitable2 th.hl1 {
.infobox th {
     background: #f8f6eb;
     font-weight: normal;
    padding: 0.35em 0.5em;
    color: #000;
     text-align: left;
     text-align: left;
    border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    position: relative;
}
}
table.wikitable2 td.hl2, table.wikitable2 th.hl2,
table.wiki-table2 td.hl2, table.wiki-table2 th.hl2 {
.infobox .infoboximage {
     background: #fff;
     background: #FFF;
     color: #444;
    padding: 0;
    margin-top: 0;
     color: #000;
     text-align: center;
     text-align: center;
    border: 1px solid #ccc;
    border-top: 0;
}
}
table.wikitable2 td.hl3, table.wikitable2 th.hl3,
table.wiki-table2 td.hl3, table.wiki-table2 th.hl3 {
.infobox .infoboxsoustitre {
     background: #ebf5f8;
     color: #000;
     color: #444;
    font-weight: bold;
     font-size: 115%;
    line-height: 2;
     text-align: center;
     text-align: center;
    border: 1px solid #ccc;
    border-top: 0;
}
}
table.wikitable2 caption,
table.wiki-table2 caption {
.infobox dl {
     margin-left: inherit;
    clear: both
     margin-right: inherit;
}
     font-weight: bold;
.infobox dt {
     float: left;
    clear: left;
     width: 35%;
}
.infobox dd {
     margin-left: 40%
}
}
table.wikitable2 td,
table.wiki-table2 td {
/* Infobox v2
     vertical-align: top;
--------------------- */
.infobox_v2 {
    background: #f9f9f9;
    color: #000;
    font-size: 90%;
    line-height: 1.1em;
    float: right!important;
    clear: right!important;
    margin: 0 0 .5em 1em!important;
    width: 300px!important;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    border: 1px solid #CCC;
     box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
    padding: 0.1em!important;
}
}
table.wikitable2 td:nth-child(even), table.wiki-table2 td:nth-child(even) {
     background: #f7f7f7;
.infobox_v2 th {
    vertical-align: super;
     text-align: left;
}
}
table.wikitable2 tr:hover td, table.wiki-table2 tr:hover td {
     background: #f5fafc;
.infobox_v2 .entete {
     -webkit-transition: all .1s;
     height: 45px;
     -moz-transition: all .1s;
     vertical-align: middle;
     -o-transition: all .1s;
    text-align: center;
     transition: all .1s;
     font-size: 150%;
    font-weight: bolder;
     line-height: 1.2em;
     color: #000;
}
}
table.wikitable2 tr:hover td:nth-child(even), table.wiki-table2 tr:hover td:nth-child(even) {
     background: #eaf3f7;
.infobox_v2 .media {
    height: 35px;
    vertical-align: middle;
    text-align: center;
    font-weight: bolder;
     color: #000;
}
}


/* Code PRE TT (pour les commandes) */
/* ENTETES INFOBOXES
--------------------------------------------*/


code {
.entete.construction {
margin: 0 2px;
    background: #03576C url('//nefald.fr/wiki/images/e/ea/entete_construction.png') no-repeat top right;
padding: 3px 5px;
    width:100%;
white-space: nowrap;
    height:60px;
border: 1px solid #EAEAEA;
background-color: #F8F6EB;
border-radius: 3px;
}
}


pre {
.entete.plugin {
     font-family: 'Consolas', 'DejaVu Sans', 'Lucida Console', monospace;
     background: #FDB600 url('//nefald.fr/wiki/images/6/67/entete_plugin.png') no-repeat top right;
    border: 1px solid #a7d7f9;
     width:100%;
    border-left: 0;
     height:60px;
    border-right: 0;
     margin: 1em 2em;
     background: #efef;
}
}
 
pre, code, tt {
.entete.joueur {
font-size: 12px;
    background: #0072B1 url('//nefald.fr/wiki/images/5/56/entete_joueur.png') no-repeat top right;
font-family: Consolas, "Liberation Mono", Courier, monospace;
    width:100%;
    height:60px;
}
}
/****** AUTRES*********/
li { margin: 5px; }
/**************** FROM FR.WIKIPEDIA.ORG********************/
/* INFOBOX */
   
   
/** Style commun aux infobox ; utiliser :
.entete.personnage {
*  * class="infobox" dans l'en-tête.
    background: #0072B1 url('//nefald.fr/wiki/images/f/f4/entete_personnage.png') no-repeat top right;
*  * class="infoboximage" pour l'image et sa description
    width:100%;
*  * class="infoboxsoustitre" pour le sous-titre.
    height:60px;
*  Voir [[Aide:Infobox]] et [[Projet:InfoBox]].
}
*/
   
   
.infobox {
.entete.grade {
  background: #EEE; /* couleur correspondant aux titres / colonne de gauche, th */
    background: #FF3400 url('//nefald.fr/wiki/images/2/2b/entete_grade.png') no-repeat top right;
  color: #000;
    width:100%;
  float: right;
    height:60px;
  clear: right;
  font-size: 95%;
  border-collapse: collapse;
  margin: 0 0 .5em 1em;
  width: 250px;
}
}
   
   
/* monobookocentré debut  */
.entete.guilde {
    background: #FF2D07 url('//nefald.fr/wiki/images/2/2f/entete_guilde.png') no-repeat top right;
    width:100%;
    height:60px;
}
   
   
.infobox caption {
.entete.ville {
  background: #C0C0C0;
    background: #026B84 url('//nefald.fr/wiki/images/3/3e/entete_ville.png') no-repeat top right;
  border-left: 1px solid #AAA;
    width:100%;
  border-top: 1px solid #AAA;
    height:60px;
  border-right: 1px solid #AAA;
}
  padding: .2em;
 
  margin-left: .57em;
.entete.monde {
  font-weight: bolder;
    background:#82C300 url('//nefald.fr/wiki/images/7/71/entete_monde.png') no-repeat top right;
  text-align: center;
    width:100%;
  color: #FFF;
    height:60px;
  font-size: 160%;
}
}
   
   
.infobox th,
.entete.logiciel {
.infobox td {
    background: #963DC7 url('//nefald.fr/wiki/images/e/e2/entete_logiciel.png') no-repeat top right;
  vertical-align: middle;
    width:100%;
  border: 1px solid #AAA;
    height:60px;
  padding: .2em .2em .2em .5em;
}
}
   
   
.infobox td {
.entete.mod {
  text-align: center;
    background: #FFD644 url('//nefald.fr/wiki/images/0/0d/entete_mod.png') no-repeat top right;
  background: #F9F9F9;
    width:100%;
    height:60px;
}
}
   
   
.infobox th {
.entete.territoire {
  font-weight: normal;
    background: #578103 url('//nefald.fr/wiki/images/6/60/entete_territoire.png') no-repeat top right;
  text-align: left;
    width:100%;
    height:60px;
}
}
   
   
.infobox .infoboximage {
.entete.application.mobile {
  /* emplacement pour les photos et une description */
    background: #A4C639 url('//nefald.fr/wiki/images/1/16/entete_application_mobile.png') no-repeat top right;
  background: #FFF;
    width:100%;
  padding: 0;
    height:60px;
  margin-top: 0;
  color: #000;
  text-align: center;
}
}
   
   
.infobox .infoboxsoustitre {
.entete.schematic {
  /* sous-titre */
    background: #596DDB url('//nefald.fr/wiki/images/f/f5/entete_schematic.png') no-repeat top right;
  color: #000;
    width:100%;
  font-weight: bold;
    height:60px;
  font-size: 115%;
  line-height: 2;
  text-align: center;
}
}
   
   
.infobox dl {
.entete.roleplay {
  clear: both
    background: #1E5C97 url('//nefald.fr/wiki/images/f/fe/entete_roleplay.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.tutoriel {
    background: #488BDD url('//nefald.fr/wiki/images/e/e5/entete_tutoriel.png') no-repeat top right;
    width:100%;
    height:60px;
}
}
   
   
.infobox dt {
.entete.metier {
  float: left;
    background: #7BAFFF url('//nefald.fr/wiki/images/e/e4/entete_metier.png') no-repeat top right;
  clear: left;
    width:100%;
  width: 35%;
    height:60px;
}
}
   
   
.infobox dd {
.entete.divinite {
  margin-left: 40%
    background: #012946 url('//nefald.fr/wiki/images/4/45/entete_divinite.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.ordre {
    background: #012946 url('//nefald.fr/wiki/images/f/f9/entete_ordre.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.script {
    background: #FFAC1A url('//nefald.fr/wiki/images/f/f0/entete_script.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
h2 {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    margin: 1.6em 0 1em 0;
    padding: 0 0 0.2em 0;
    border-bottom: 1px solid #ccc;
    color: #555;
}
 
h3 {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1.4em;
    margin: 1.1em 0 0.4em 0;
}
 
/* * BOÎTES ET MESSAGES * */
 
div.boite-a-droite {
    display: table;
    clear: right;
    float: right;
    margin: 1em 0 1em 1em;
    width: 20em;
    position: relative;
    border-style: solid;
    border-width: 1px;
    padding: 4px;
    text-align: left;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    border: 1px solid #CCC;
    box-shadow: 0 0.3em 0.3em rgba(0, 0, 0, 0.1);
    padding: 0.1em;
}
}


.boite-sans-fond {
    border-color: #aaa;
}


/**
.boite-grise {
* Infobox V2
    border-color: #aaa;
* Voir : [[Utilisateur:Antaya/Infobox V2]]
    background-color: #F9F9F9;
*/
}
   
   
.infobox_v2 {
.boite-jaune {  
  /* monobookocentré debut */
    border-color: #aaa;
  background: #f9f9f9;
    background-color: #FFE998;
  color: #000;
  font-size: 90%;
  line-height: 1.1em;
  float: right;
  clear: right;
  /* haut droite bas gauche */
  margin: 0 0 .5em 1em;
  width: 300px;
  -webkit-border-radius: 0.3em;
        -moz-border-radius: 0.3em;
        border-radius: 0.3em;
        border: 1px solid #CCC;
        box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
  padding: 0.1em;
}
}
   
   
.infobox_v2 th {
.boite-bleu {
  vertical-align: super;
    border-color: #aaa;
  text-align: left;
    background-color: #EFF6FA;
}
}
   
   
.infobox_v2 .entete {
span.annexe {font-weight:bold;color:#0a7cc8;}
  height: 45px;
.annexe a,
  vertical-align: middle;
.annexe a:active {color:#0a7cc8;}
  text-align: center;
.annexe a:hover { color:#CB4627!important;}
  font-size: 150%;
  font-weight: bolder;
li.annexe {list-style:none;}
  line-height: 1.2em;
  color: #000;
.titre-annexe {font-size:14px;font-weight:bold;font-style:italic;margin-left:10px;}
 
/* ===== STYLES ACCUEIL WIKI ADAPTATIFS ===== */
 
/* Bannière principale */
.wiki-banner {
    position: relative;
    height: 120px;
    background: var(--color-surface-1);
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color-base);
}
 
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #ffffff;
    padding: 16px 20px;
}
}
 
.infobox_v2 .media {
.banner-title {
  /* css V2 pour [[Modèle: Son]], etc. */;
    font-size: 1.5rem;
  height: 35px;
    font-weight: 700;
  vertical-align: middle;
    margin-bottom: 4px;
  text-align: center;
    color: #ffffff;
  font-weight: bolder;
  color: #000;
}
}


.banner-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #ffffff;
}


/* Navigation en grille */
.wiki-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}


@media (max-width: 768px) {
    .wiki-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* SK89Q'S WIKI wki.sk89q.com - I LOVE IT! */
@media (max-width: 480px) {
    .wiki-nav-grid {
        grid-template-columns: 1fr;
    }
}


input {
.wiki-nav-card {
     font: inherit;
     background: var(--color-surface-1);
     font-size: 10pt;
     border: 1px solid var(--border-color-base);
     margin: 0;
    border-radius: 8px;
     line-height: 1;
     overflow: hidden;
    transition: all 0.2s ease;
     height: 160px;
    cursor: pointer;
    position: relative;
}
}
input[type='text'], input[type='password'], input:not([type]) {
 
    font: inherit;
.wiki-nav-card:hover {
    font-size: 10pt;
     border-color: var(--color-primary);
     background: #fff;
     transform: translateY(-2px);
    padding: 4px;
     box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid #aaa;
    -webkit-transition: border-color .2s;
    -moz-transition: border .2s;
    -o-transition: border-color .2s;
     transition: border-color .2s;
     line-height: 1;
}
}
input[type='text']:hover, input[type='password']:hover, input#searchInput:hover {
 
     border-color: #999;
.nav-card-image {
    height: 80px;
    background-size: cover;
    background-position: center;
     background-color: var(--color-surface-2);
}
}
input[type='text']:focus, input[type='password']:focus, input#searchInput:focus {
 
     outline: 0;
.nav-card-content {
     border-color: #a7d7f9;
    padding: 16px;
     box-shadow: 0 0 0.3em #999;
    position: absolute;
    bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
}
}
button, input[type='button'], input[type='submit'] {
 
    font: inherit;
/* TEXTE ADAPTATIF selon le thème */
    display: inline-block;
.nav-card-title {
    -webkit-transition: border-color .2s;
     font-size: 1.1rem;
     -moz-transition: border .2s;
     font-weight: 600;
     -o-transition: border-color .2s;
     color: #ffffff !important; /* Toujours blanc sur overlay sombre */
     transition: border-color .2s;
     margin-bottom: 4px;
    background: #f3f3f3;
    background: -moz-linear-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
    background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
    border: solid 1px #ccc;
    border-radius: 2px;
     margin: 0.3em 0;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 10pt;
    line-height: 1;
}
}
button:hover, input[type='button']:hover, input[type='submit']:hover {
 
.nav-card-title a {
    color: #ffffff !important; /* Toujours blanc sur overlay sombre */
     text-decoration: none;
     text-decoration: none;
    border-color: #a7d7f9;
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
}


.nav-card-description {
    font-size: 0.9rem;
    color: #e2e8f0 !important; /* Toujours gris clair sur overlay sombre */
    line-height: 1.3;
}
/* Featured section */
.wiki-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}


@media (max-width: 768px) {
    .wiki-featured {
        grid-template-columns: 1fr;
    }
}


/* Button */
.featured-main {
.buttons a, .buttons a:link, .buttons a:visited {
    display: block;
    margin: 15px 0 15px 0;
    text-decoration: none;
    color: #fff;
     position: relative;
     position: relative;
     padding: 10px 20px;
     height: 200px;
     padding-right: 45px;
    background: var(--color-surface-1);
     background: #a50000;
     border-radius: 6px;
     border-radius: 5px;
     overflow: hidden;
     box-shadow: inset 0px 1px 0px #ff838e, 0px 5px 0px 0px #581a27, 0px 7px 5px #999;
     border: 1px solid var(--border-color-base);
     font-weight: bold;
    cursor: pointer;
     font-size: 120%;
}
     -moz-transition-property: background;  
 
     -moz-transition-duration: 0.5s;  
.featured-image {
     -webkit-transition-property: background;  
    position: absolute;
     -webkit-transition-duration: 0.5s;  
    top: 0;
     -o-transition-property: background;  
    left: 0;
     -o-transition-duration: 0.5s;
     right: 0;
     border: 0;
     bottom: 0;
     max-width: 240px;
     background-size: cover;
     background-position: center;
}
 
.featured-content {
    position: absolute;
    bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(transparent, rgba(0,0,0,0.85));
     color: #ffffff;
     padding: 20px;
}
 
.featured-title {
    font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 8px;
    color: #ffffff !important; /* Toujours blanc sur overlay sombre */
}
}
.buttons a:hover {
 
     background: #d70014;
.featured-description {
     box-shadow: inset 0px 1px 0px #ff838e, 0px 5px 0px 0px #96000e, 0px 7px 5px #999;
    font-size: 0.9rem;
     opacity: 0.9;
     line-height: 1.4;
    color: #ffffff !important; /* Toujours blanc sur overlay sombre */
}
}
.buttons a:active {
 
     top: 3px;
/* Sidebar adaptative aux thèmes */
     background-image: linear-gradient(bottom, rgb(62,51,46) 100%, rgb(101,86,78) 0%);
.wiki-sidebar {
     box-shadow: inset 0px 1px 0px #ff838e, 0px 2px 0px 0px #612127, 0px 5px 3px #999;
     display: flex;
     flex-direction: column;
     gap: 16px;
}
}
.buttons a::before {
 
     background-color: #7e1b24;
.sidebar-section {
     background-image: url(/images/button_arrow.png);
     background: var(--color-surface-1);
     background-repeat: no-repeat;
     border: 1px solid var(--border-color-base);
     background-position: center center;
     border-radius: 6px;
     content: "";
     padding: 16px;
     width: 20px;
}
     height: 20px;
 
     position: absolute;
/* Titre adaptatif : sombre en mode clair, clair en mode sombre */
     right: 15px;
.sidebar-title {
    top: 50%;
     font-size: 1.1rem;
    margin-top: -9px;
     font-weight: 600;
    border-radius: 50%;
     margin-bottom: 12px;
     box-shadow: inset 0px 1px 0px #19120f, 0px 1px 0px #827066;
     border-bottom: 1px solid var(--border-color-base);
     padding-bottom: 8px;
}
 
/* Mode sombre : texte clair */
[data-theme='dark'] .sidebar-title,
.skin-citizen-dark .sidebar-title {
     color: #ffffff !important;
}
}
.buttons a:active::before {
 
    top: 50%;
/* Mode clair : texte sombre */
    margin-top: -12px;
[data-theme='light'] .sidebar-title,
     box-shadow: inset 0px 1px 0px #ff838e, 0px 3px 0px #612127, 0px 6px 3px #34090d;
.skin-citizen-light .sidebar-title,
.sidebar-title {
     color: #1a1a1a !important;
}
}
.buttons a img {
 
     vertical-align: middle;
.sidebar-section a {
     display: block;
    color: var(--color-primary) !important;
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.875rem;
    line-height: 1.4;
}
}


h2 {
.sidebar-section a:hover {
     font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
     color: var(--color-primary--hover) !important;
    font-size: 1.5em;
     text-decoration: none;
    font-weight: bold;
    margin: 1.6em 0 1em 0;
    padding: 0 0 0.2em 0;
     border-bottom: 1px solid #ccc;
    color: #555;
}
}
h3 {
 
    font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
/* Texte normal de la sidebar */
     margin: 1.1em 0 0.4em 0;
[data-theme='dark'] .sidebar-section,
.skin-citizen-dark .sidebar-section {
     color: #e2e8f0;
}
}


/* SK89Q */
[data-theme='light'] .sidebar-section,
.skin-citizen-light .sidebar-section,
.sidebar-section {
    color: #374151;
}

Dernière version du 7 septembre 2025 à 16:36

/* Le CSS placé ici sera appliqué à tous les habillages. */

.mw-widget-dateInputWidget-calendar {position: inherit!important;}

.selflink {color: #468847;}

.keyboard-key, .kbd {color:#0a7cc8; text-decoration: none;}

.coord {
    font-size: 12px;
    font-family: Consolas,"Liberation Mono",Courier,monospace;
    margin: 0 2px;
    padding: 3px 5px;
    white-space: nowrap;
    border: 1px solid #EAEAEA;
    background-color:#D7EFEE!important;
    color:#468781!important;
}

code .red {
    color: #c7254e!important;
    background-color: #f9f2f4!important;
}

.coord a {
    background-color:#D7EFEE!important;
    color:#468781!important;
}

/* Modèles
----------------------------------- */

#ouvrage {
    width:70%;
    font-style: italic;
    margin: 0.25em 0;
    padding: 0.25em 40px;
    line-height: 1.45;
    position: relative;
    color: #31708F;
    text-align:justify; 
    text-justify: auto;
}

#ouvrage p {
    font-size:1.1em;
}

#ouvrage h2 {
    border-bottom: none!important;
    color:#1B3E57;
    margin-bottom:0.3em!important;
}

#ouvrage cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}
 
#ouvrage cite:before {
    content: "\2014 \2009";
}

#citation {
    width:70%;
    font-style: italic;
    margin: 0.25em 0;
    padding: 0.25em 40px;
    line-height: 1.45;
    position: relative;
    color: #31708F;
    text-align:justify; 
    text-justify: auto;
}

#citation p {
    font-size:1.1em;
}

#citation h2 {
    border-bottom: none!important;
    color:#1B3E57;
    margin-bottom:0.3em!important;
}

#citation cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}
 
#citation cite:before {
    content: "\2014 \2009";
}

#purge {
    float:right;
}

table.right {
    float: right !important;
    clear: right !important;
    width: 300px !important;
}
 
/* Infobox
--------------------- */
 
.infobox {
    background: #EEE;
    color: #000;
    float: right;
    clear: right;
    font-size: 95%;
    border-collapse: collapse;
    margin: 0 0 .5em 1em;
    width: 250px;
}
 
.infobox caption {
    background: #C0C0C0;
    border-left: 1px solid #AAA;
    border-top: 1px solid #AAA;
    border-right: 1px solid #AAA;
    padding: .2em;
    margin-left: .57em;
    font-weight: bolder;
    text-align: center;
    color: #FFF;
    font-size: 160%;
}
 
.infobox th,
.infobox td {
    vertical-align: middle;
    border: 1px solid #AAA;
    padding: .2em .2em .2em .5em;
}
 
.infobox td {
    text-align: center;
    background: #F9F9F9;
}
 
.infobox th {
    font-weight: normal;
    text-align: left;
}
 
.infobox .infoboximage {
    background: #FFF;
    padding: 0;
    margin-top: 0;
    color: #000;
    text-align: center;
}
 
.infobox .infoboxsoustitre {
    color: #000;
    font-weight: bold;
    font-size: 115%;
    line-height: 2;
    text-align: center;
}
 
.infobox dl {
    clear: both
}
 
.infobox dt {
    float: left;
    clear: left;
    width: 35%;
}
 
.infobox dd {
    margin-left: 40%
}
 
/* Infobox v2
--------------------- */
 
.infobox_v2 {
    background: #f9f9f9;
    color: #000;
    font-size: 90%;
    line-height: 1.1em;
    float: right!important;
    clear: right!important;
    margin: 0 0 .5em 1em!important;
    width: 300px!important;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    border: 1px solid #CCC;
    box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
    padding: 0.1em!important;
}
 
.infobox_v2 th {
    vertical-align: super;
    text-align: left;
}
 
.infobox_v2 .entete {
    height: 45px;
    vertical-align: middle;
    text-align: center;
    font-size: 150%;
    font-weight: bolder;
    line-height: 1.2em;
    color: #000;
}
 
.infobox_v2 .media {
    height: 35px;
    vertical-align: middle;
    text-align: center;
    font-weight: bolder;
    color: #000;
}

/* ENTETES INFOBOXES
--------------------------------------------*/

.entete.construction {
    background: #03576C url('//nefald.fr/wiki/images/e/ea/entete_construction.png') no-repeat top right;
    width:100%;
    height:60px;
}

.entete.plugin {
    background: #FDB600 url('//nefald.fr/wiki/images/6/67/entete_plugin.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.joueur {
    background: #0072B1 url('//nefald.fr/wiki/images/5/56/entete_joueur.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.personnage {
    background: #0072B1 url('//nefald.fr/wiki/images/f/f4/entete_personnage.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.grade {
    background: #FF3400 url('//nefald.fr/wiki/images/2/2b/entete_grade.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.guilde {
    background: #FF2D07 url('//nefald.fr/wiki/images/2/2f/entete_guilde.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.ville {
    background: #026B84 url('//nefald.fr/wiki/images/3/3e/entete_ville.png') no-repeat top right;
    width:100%;
    height:60px;
}

.entete.monde {
    background:#82C300 url('//nefald.fr/wiki/images/7/71/entete_monde.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.logiciel {
    background: #963DC7 url('//nefald.fr/wiki/images/e/e2/entete_logiciel.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.mod {
    background: #FFD644 url('//nefald.fr/wiki/images/0/0d/entete_mod.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.territoire {
    background: #578103 url('//nefald.fr/wiki/images/6/60/entete_territoire.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.application.mobile {
    background: #A4C639 url('//nefald.fr/wiki/images/1/16/entete_application_mobile.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.schematic {
    background: #596DDB url('//nefald.fr/wiki/images/f/f5/entete_schematic.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.roleplay {
    background: #1E5C97 url('//nefald.fr/wiki/images/f/fe/entete_roleplay.png') no-repeat top right;
    width:100%;
    height:60px;
}

.entete.tutoriel {
    background: #488BDD url('//nefald.fr/wiki/images/e/e5/entete_tutoriel.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.metier {
    background: #7BAFFF url('//nefald.fr/wiki/images/e/e4/entete_metier.png') no-repeat top right;
    width:100%;
    height:60px;
}
 
.entete.divinite {
    background: #012946 url('//nefald.fr/wiki/images/4/45/entete_divinite.png') no-repeat top right;
    width:100%;
    height:60px;
}

.entete.ordre {
    background: #012946 url('//nefald.fr/wiki/images/f/f9/entete_ordre.png') no-repeat top right;
    width:100%;
    height:60px;
}

.entete.script {
    background: #FFAC1A url('//nefald.fr/wiki/images/f/f0/entete_script.png') no-repeat top right;
    width:100%;
    height:60px;
}

h2 {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    margin: 1.6em 0 1em 0;
    padding: 0 0 0.2em 0;
    border-bottom: 1px solid #ccc;
    color: #555;
}

h3 {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1.4em;
    margin: 1.1em 0 0.4em 0;
}

/* * BOÎTES ET MESSAGES * */

div.boite-a-droite {
    display: table;
    clear: right;
    float: right;
    margin: 1em 0 1em 1em;
    width: 20em;
    position: relative;
    border-style: solid;
    border-width: 1px;
    padding: 4px;
    text-align: left;
    -webkit-border-radius: 0.3em;
    -moz-border-radius: 0.3em;
    border-radius: 0.3em;
    border: 1px solid #CCC;
    box-shadow: 0 0.3em 0.3em rgba(0, 0, 0, 0.1);
    padding: 0.1em;
}

.boite-sans-fond {
    border-color: #aaa;
}

.boite-grise {
    border-color: #aaa;
    background-color: #F9F9F9;
}
 
.boite-jaune { 
    border-color: #aaa;
    background-color: #FFE998;
}
 
.boite-bleu {
    border-color: #aaa;
    background-color: #EFF6FA;
}
 
span.annexe {font-weight:bold;color:#0a7cc8;}
.annexe a,
.annexe a:active {color:#0a7cc8;}
.annexe a:hover { color:#CB4627!important;}
 
li.annexe {list-style:none;}
 
.titre-annexe {font-size:14px;font-weight:bold;font-style:italic;margin-left:10px;}

/* ===== STYLES ACCUEIL WIKI ADAPTATIFS ===== */

/* Bannière principale */
.wiki-banner {
    position: relative;
    height: 120px;
    background: var(--color-surface-1);
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color-base);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #ffffff;
    padding: 16px 20px;
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.banner-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #ffffff;
}

/* Navigation en grille */
.wiki-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .wiki-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wiki-nav-grid {
        grid-template-columns: 1fr;
    }
}

.wiki-nav-card {
    background: var(--color-surface-1);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 160px;
    cursor: pointer;
    position: relative;
}

.wiki-nav-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-card-image {
    height: 80px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-surface-2);
}

.nav-card-content {
    padding: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
}

/* TEXTE ADAPTATIF selon le thème */
.nav-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff !important; /* Toujours blanc sur overlay sombre */
    margin-bottom: 4px;
}

.nav-card-title a {
    color: #ffffff !important; /* Toujours blanc sur overlay sombre */
    text-decoration: none;
}

.nav-card-description {
    font-size: 0.9rem;
    color: #e2e8f0 !important; /* Toujours gris clair sur overlay sombre */
    line-height: 1.3;
}

/* Featured section */
.wiki-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .wiki-featured {
        grid-template-columns: 1fr;
    }
}

.featured-main {
    position: relative;
    height: 200px;
    background: var(--color-surface-1);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color-base);
    cursor: pointer;
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #ffffff;
    padding: 20px;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff !important; /* Toujours blanc sur overlay sombre */
}

.featured-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    color: #ffffff !important; /* Toujours blanc sur overlay sombre */
}

/* Sidebar adaptative aux thèmes */
.wiki-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-section {
    background: var(--color-surface-1);
    border: 1px solid var(--border-color-base);
    border-radius: 6px;
    padding: 16px;
}

/* Titre adaptatif : sombre en mode clair, clair en mode sombre */
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color-base);
    padding-bottom: 8px;
}

/* Mode sombre : texte clair */
[data-theme='dark'] .sidebar-title,
.skin-citizen-dark .sidebar-title {
    color: #ffffff !important;
}

/* Mode clair : texte sombre */
[data-theme='light'] .sidebar-title,
.skin-citizen-light .sidebar-title,
.sidebar-title {
    color: #1a1a1a !important;
}

.sidebar-section a {
    display: block;
    color: var(--color-primary) !important;
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.sidebar-section a:hover {
    color: var(--color-primary--hover) !important;
    text-decoration: none;
}

/* Texte normal de la sidebar */
[data-theme='dark'] .sidebar-section,
.skin-citizen-dark .sidebar-section {
    color: #e2e8f0;
}

[data-theme='light'] .sidebar-section,
.skin-citizen-light .sidebar-section,
.sidebar-section {
    color: #374151;
}