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)
mAucun résumé des modifications
 
(242 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;}


a {color:#099DFF; text-decoration: none;}
.selflink {color: #468847;}
a:hover {color:#2d2d2d;text-decoration: none;}
a:active  {color:#4E8DAF;}
a:visited {color:#099DFF;text-decoration: none;}


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


vectorTabs a {color:#099DFF; text-decoration: none;}
.coord {
div.vectorTabs li a:hover {color:#2d2d2d;text-decoration: none;}
    font-size: 12px;
div.vectorTabs li a:active  {color:#4E8DAF;}
    font-family: Consolas,"Liberation Mono",Courier,monospace;
div.vectorTabs li a:visited {color:#4E8DAF;text-decoration: none;}
    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;
}


div.vectorTabs li.new a {color:orange;}
.coord a {
div.vectorTabs li.selected a {color:#4E8DAF;}
    background-color:#D7EFEE!important;
div.vectorTabs li.selected a:visited {}
    color:#468781!important;
}


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


/**************** FROM FR.WIKIPEDIA.ORG********************/
#ouvrage {
/* INFOBOX */
    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;
}
   
   
/** Style commun aux infobox ; utiliser :
#ouvrage cite:before {
*  * class="infobox" dans l'en-tête.
    content: "\2014 \2009";
  *  * class="infoboximage" pour l'image et sa description
}
*  * class="infoboxsoustitre" pour le sous-titre.
 
  * Voir [[Aide:Infobox]] et [[Projet:InfoBox]].
#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 {
.infobox {
  background: #EEE; /* couleur correspondant aux titres / colonne de gauche, th */
    background: #EEE;
  color: #000;
    color: #000;
  float: right;
    float: right;
  clear: right;
    clear: right;
  font-size: 95%;
    font-size: 95%;
  border-collapse: collapse;
    border-collapse: collapse;
  margin: 0 0 .5em 1em;
    margin: 0 0 .5em 1em;
  width: 250px;
    width: 250px;
}
}
/* monobookocentré debut  */
   
   
.infobox caption {
.infobox caption {
  background: #C0C0C0;
    background: #C0C0C0;
  border-left: 1px solid #AAA;
    border-left: 1px solid #AAA;
  border-top: 1px solid #AAA;
    border-top: 1px solid #AAA;
  border-right: 1px solid #AAA;
    border-right: 1px solid #AAA;
  padding: .2em;
    padding: .2em;
  margin-left: .57em;
    margin-left: .57em;
  font-weight: bolder;
    font-weight: bolder;
  text-align: center;
    text-align: center;
  color: #FFF;
    color: #FFF;
  font-size: 160%;
    font-size: 160%;
}
}
   
   
.infobox th,
.infobox th,
.infobox td {
.infobox td {
  vertical-align: middle;
    vertical-align: middle;
  border: 1px solid #AAA;
    border: 1px solid #AAA;
  padding: .2em .2em .2em .5em;
    padding: .2em .2em .2em .5em;
}
}
   
   
.infobox td {
.infobox td {
  text-align: center;
    text-align: center;
  background: #F9F9F9;
    background: #F9F9F9;
}
}
   
   
.infobox th {
.infobox th {
  font-weight: normal;
    font-weight: normal;
  text-align: left;
    text-align: left;
}
}
   
   
.infobox .infoboximage {
.infobox .infoboximage {
  /* emplacement pour les photos et une description */
    background: #FFF;
  background: #FFF;
    padding: 0;
  padding: 0;
    margin-top: 0;
  margin-top: 0;
    color: #000;
  color: #000;
    text-align: center;
  text-align: center;
}
}
   
   
.infobox .infoboxsoustitre {
.infobox .infoboxsoustitre {
  /* sous-titre */
    color: #000;
  color: #000;
    font-weight: bold;
  font-weight: bold;
    font-size: 115%;
  font-size: 115%;
    line-height: 2;
  line-height: 2;
    text-align: center;
  text-align: center;
}
}
   
   
.infobox dl {
.infobox dl {
  clear: both
    clear: both
}
}
   
   
.infobox dt {
.infobox dt {
  float: left;
    float: left;
  clear: left;
    clear: left;
  width: 35%;
    width: 35%;
}
}
   
   
.infobox dd {
.infobox dd {
  margin-left: 40%
    margin-left: 40%
}
}
 
 
/* Infobox v2
/**
--------------------- */
* Infobox V2
* Voir : [[Utilisateur:Antaya/Infobox V2]]
*/
   
   
.infobox_v2 {
.infobox_v2 {
  /* monobookocentré debut */
    background: #f9f9f9;
  background: #f9f9f9;
    color: #000;
  color: #000;
    font-size: 90%;
  font-size: 90%;
    line-height: 1.1em;
  line-height: 1.1em;
    float: right!important;
  float: right;
    clear: right!important;
  clear: right;
    margin: 0 0 .5em 1em!important;
  /* haut droite bas gauche */
    width: 300px!important;
  margin: 0 0 .5em 1em;
    -webkit-border-radius: 0.3em;
  width: 300px;
    -moz-border-radius: 0.3em;
  -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
        -moz-border-radius: 0.3em;
    border: 1px solid #CCC;
        border-radius: 0.3em;
    box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
        border: 1px solid #CCC;
    padding: 0.1em!important;
        box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
  padding: 0.1em;
}
}
   
   
.infobox_v2 th {
.infobox_v2 th {
  vertical-align: super;
    vertical-align: super;
  text-align: left;
    text-align: left;
}
}
   
   
.infobox_v2 .entete {
.infobox_v2 .entete {
  height: 45px;
    height: 45px;
  vertical-align: middle;
    vertical-align: middle;
  text-align: center;
    text-align: center;
  font-size: 150%;
    font-size: 150%;
  font-weight: bolder;
    font-weight: bolder;
  line-height: 1.2em;
    line-height: 1.2em;
  color: #000;
    color: #000;
}
}
   
   
.infobox_v2 .media {
.infobox_v2 .media {
  /* css V2 pour [[Modèle: Son]], etc. */;
    height: 35px;
  height: 35px;
    vertical-align: middle;
  vertical-align: middle;
    text-align: center;
  text-align: center;
    font-weight: bolder;
  font-weight: bolder;
    color: #000;
  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;
}


/* SK89Q'S WIKI wki.sk89q.com - I LOVE IT! */
.entete.monde {
 
     background:#82C300 url('//nefald.fr/wiki/images/7/71/entete_monde.png') no-repeat top right;
input {
     width:100%;
     font: inherit;
     height:60px;
    font-size: 10pt;
     margin: 0;
     line-height: 1;
}
}
input[type='text'], input[type='password'], input:not([type]) {
    font: inherit;
.entete.logiciel {
    font-size: 10pt;
     background: #963DC7 url('//nefald.fr/wiki/images/e/e2/entete_logiciel.png') no-repeat top right;
     background: #fff;
     width:100%;
    padding: 4px;
     height:60px;
    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;
.entete.mod {
    background: #FFD644 url('//nefald.fr/wiki/images/0/0d/entete_mod.png') no-repeat top right;
    width:100%;
     height:60px;
}
}
input[type='text']:focus, input[type='password']:focus, input#searchInput:focus {
     outline: 0;
.entete.territoire {
     border-color: #a7d7f9;
     background: #578103 url('//nefald.fr/wiki/images/6/60/entete_territoire.png') no-repeat top right;
     box-shadow: 0 0 0.3em #999;
     width:100%;
     height:60px;
}
}
button, input[type='button'], input[type='submit'] {
    font: inherit;
.entete.application.mobile {
    display: inline-block;
     background: #A4C639 url('//nefald.fr/wiki/images/1/16/entete_application_mobile.png') no-repeat top right;
    -webkit-transition: border-color .2s;
     width:100%;
    -moz-transition: border .2s;
     height:60px;
    -o-transition: border-color .2s;
    transition: border-color .2s;
     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 {
     text-decoration: none;
.entete.schematic {
    border-color: #a7d7f9;
     background: #596DDB url('//nefald.fr/wiki/images/f/f5/entete_schematic.png') no-repeat top right;
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
     width:100%;
     -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
     height:60px;
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
}
pre {
     font-family: 'Consolas', 'DejaVu Sans', 'Lucida Console', monospace;
.entete.roleplay {
    border: 1px solid #a7d7f9;
     background: #1E5C97 url('//nefald.fr/wiki/images/f/fe/entete_roleplay.png') no-repeat top right;
    border-left: 0;
     width:100%;
    border-right: 0;
     height:60px;
     margin: 1em 2em;
     background: #efef;
}
}


 
.entete.tutoriel {
/* Button */
    background: #488BDD url('//nefald.fr/wiki/images/e/e5/entete_tutoriel.png') no-repeat top right;
    width:100%;
    height:60px;
}
   
   
.buttons a, .buttons a:link, .buttons a:visited {
.entete.metier {
    display: block;
     background: #7BAFFF url('//nefald.fr/wiki/images/e/e4/entete_metier.png') no-repeat top right;
    margin: 15px 0 15px 0;
     width:100%;
    text-decoration: none;
     height:60px;
    color: #fff;
    position: relative;
    padding: 10px 20px;
    padding-right: 45px;
     background: #a50000;
    border-radius: 5px;
    box-shadow: inset 0px 1px 0px #ff838e, 0px 5px 0px 0px #581a27, 0px 7px 5px #999;
    font-weight: bold;
    font-size: 120%;
    -moz-transition-property: background;   
    -moz-transition-duration: 0.5s;   
    -webkit-transition-property: background;   
    -webkit-transition-duration: 0.5s;   
    -o-transition-property: background;  
     -o-transition-duration: 0.5s;
     border: 0;
    max-width: 240px;
}
}
.buttons a:hover {
     background: #d70014;
.entete.divinite {
     box-shadow: inset 0px 1px 0px #ff838e, 0px 5px 0px 0px #96000e, 0px 7px 5px #999;
     background: #012946 url('//nefald.fr/wiki/images/4/45/entete_divinite.png') no-repeat top right;
    width:100%;
     height:60px;
}
}
.buttons a:active {
 
     top: 3px;
.entete.ordre {
     background-image: linear-gradient(bottom, rgb(62,51,46) 100%, rgb(101,86,78) 0%);
     background: #012946 url('//nefald.fr/wiki/images/f/f9/entete_ordre.png') no-repeat top right;
     box-shadow: inset 0px 1px 0px #ff838e, 0px 2px 0px 0px #612127, 0px 5px 3px #999;
     width:100%;
     height:60px;
}
}
.buttons a::before {
 
     background-color: #7e1b24;
.entete.script {
    background-image: url(/images/button_arrow.png);
     background: #FFAC1A url('//nefald.fr/wiki/images/f/f0/entete_script.png') no-repeat top right;
    background-repeat: no-repeat;
     width:100%;
    background-position: center center;
     height:60px;
    content: "";
     width: 20px;
     height: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -9px;
    border-radius: 50%;
    box-shadow: inset 0px 1px 0px #19120f, 0px 1px 0px #827066;
}
.buttons a:active::before {
    top: 50%;
    margin-top: -12px;
    box-shadow: inset 0px 1px 0px #ff838e, 0px 3px 0px #612127, 0px 6px 3px #34090d;
}
.buttons a img {
    vertical-align: middle;
}
}


h2 {
h2 {
     font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
     font-family: 'Helvetica', Arial, sans-serif;
     font-size: 1.5em;
     font-size: 1.8em;
     font-weight: bold;
     font-weight: bold;
     margin: 1.6em 0 1em 0;
     margin: 1.6em 0 1em 0;
Ligne 285 : Ligne 350 :
     color: #555;
     color: #555;
}
}
h3 {
h3 {
     font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
     font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1.4em;
     margin: 1.1em 0 0.4em 0;
     margin: 1.1em 0 0.4em 0;
}
}


/* SK89Q */
/* * 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;
    }
}
 
/* === CARTES DE NAVIGATION AMÉLIORÉES === */
.wiki-nav-card {
    background: #1f2937;
    border-radius: 12px;
    padding: 16px;
    margin: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    max-width: 400px;
    overflow: hidden;
}
 
.wiki-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}
 
.nav-card-image-container {
    margin-bottom: 12px;
}
 
.nav-card-content {
    padding-top: 12px;
}
 
.nav-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
}
 
.nav-card-title a {
    color: #60a5fa;
    text-decoration: none;
}
 
.nav-card-title a:hover {
    color: #93c5fd;
}
 
.nav-card-description {
    color: #9ca3af;
    font-size: 0.9rem;
}
 
/* 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;
}
 
.featured-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    color: #ffffff !important;
}
 
/* 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;
}
 
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color-base);
    padding-bottom: 8px;
}
 
[data-theme='dark'] .sidebar-title,
.skin-citizen-dark .sidebar-title {
    color: #ffffff !important;
}
 
[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;
}
 
[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;
}

Dernière version du 7 septembre 2025 à 22:24

/* 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;
    }
}

/* === CARTES DE NAVIGATION AMÉLIORÉES === */
.wiki-nav-card {
    background: #1f2937;
    border-radius: 12px;
    padding: 16px;
    margin: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    max-width: 400px;
    overflow: hidden;
}

.wiki-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}

.nav-card-image-container {
    margin-bottom: 12px;
}

.nav-card-content {
    padding-top: 12px;
}

.nav-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.nav-card-title a {
    color: #60a5fa;
    text-decoration: none;
}

.nav-card-title a:hover {
    color: #93c5fd;
}

.nav-card-description {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* 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;
}

.featured-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    color: #ffffff !important;
}

/* 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;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color-base);
    padding-bottom: 8px;
}

[data-theme='dark'] .sidebar-title,
.skin-citizen-dark .sidebar-title {
    color: #ffffff !important;
}

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

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