Lostpedia
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 102 : Ligne 102 :
 
}
 
}
   
.pi-theme-infoboite .pi-data + .pi-data-value {
+
.pi-theme-infoboite .pi-data > .pi-data-value {
 
text-align: center;
 
text-align: center;
 
}
 
}

Version du 10 septembre 2015 à 17:49

/**
  * Divers
 **/

/* style MediaWiki qui a « sauté » */
#WikiaArticle .plainlinks a {
  background: none !important;
  padding: 0 !important;
}

/* masque le "Image ajouté par" */
.WikiaArticle .picture-attribution { display:none !important; }

/**
 * Éléments repris de Mediawiki:Common.css
 **/

/* Mise en italique des textes des légendes de photos */
.thumbcaption { font-style: italic; }
.gallerytext { font-style: italic; }

/* Ajout bords arrondis pour tableau « sommaire » */
.toc {
  -moz-border-radius-topright: 8px;
  -moz-border-radius-topleft:8px;
}

/* Styles pour galerie d'images (Modèle:Galerie) */
.galerie { clear:both; }
.galerie dl {
  border: 1px solid #aaaaaa;
  background-color: #f9f9f9;
  width: 150px;
  text-align: center;
  padding: 5px;
  float: left;
  margin-right: 0.2em;
}
.galerie div.image {
  border: 1px solid #aaaaaa;
  height: 200px;
  background-color: white;
}
.galerie dt img {
  border: 1px solid #aaaaaa;
}
.galerie dd {
  margin: 0;
  padding: 0;
  height: 90px;
  overflow: hidden;
}

/* Pour l'article de la semaine */
div.topicon {
  display:block;
  position: absolute;
  top: -20px;
  z-index: 100;
}

/* Pour le modèle d'infoboîte */
.pi-theme-infoboite {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin: 1em 0 1em 1em;
  padding: 5px;
}

.pi-theme-infoboite .pi-item-spacing {
    padding: 0;
}

.pi-theme-infoboite a, .pi-theme-infoboite a:visited {
  text-decoration: underline;
  color: inherit;
}

.pi-theme-infoboite .pi-title {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  text-align: center;
  line-height: 23px;
  height: 23px;
  font-size: 93%;  
  background-color: #6ED06E;
  font-weight: bold;
}

.pi-theme-infoboite .pi-data-label {
  background-color: #6ED06E;
  font-weight: bold;
}

.pi-theme-infoboite .pi-header {
  background-color: #6ED06E;
  text-align: center;
}

.pi-theme-infoboite .pi-data-value {
    width: 100%;
}

.pi-theme-infoboite .pi-data > .pi-data-value {
    text-align: center;
}

/* Pour le modèle citation */
.quote {
  border:1px solid #CCCCFF;
  background: #F8F8FF url('http://images.wikia.com/lostpedia/fr/images/d/d4/Quote-gauche.gif') no-repeat left top;
  padding-top: 10px;
  padding-left: 40px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  font-size: 80%;
  overflow: hidden; /* pour ne pas chevaucher les infoboites */
}
.quote .poem {
  background: transparent url('http://images.wikia.com/lostpedia/fr/images/5/5b/Quote-droite.gif') right bottom no-repeat;
  padding-right: 40px;
  padding-bottom: 10px;
  line-height: 15px;
}

/* Styles de [[Modèle:Méta palette de navigation]] */
table.navbox, table.navbox-sub  { 
  background: #F9F9F9;
  font-size: 90%;
  text-align: center;
}
table.navbox {
  border: 1px solid #D9D9D9;
  padding: 2px;
  clear: both;
  margin: 1em 0 0;
  width: 100%;
}
table.navbox th {
  background: #CCCCFF none repeat scroll 0 0;
  padding-left: 1em;
  padding-right: 1em;
}
table.navbox th a, table.navbox th span, table.navbox th div {
  color: inherit;
  color: expression(this.parentNode.currentStyle.color); //IE
}
.navbox-list { text-align: left; }
.navbox-even { background: #EEF; }
.navbox-dessus, .navbox-dessous, .navbox-group { 
  background: #DDF;
  vertical-align: middle;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox-group {
  text-align: right;
  width: 150px;
  font-weight: bold;
  white-space: nowrap;
}

/* Boîtes déroulantes (wikipédia FR) */
div.BoxenVerschmelzen,
div.NavFrame {
  margin: 0px;
  padding: 2px;
  border: 1px solid #aaaaaa;
  border-collapse: collapse;
  font-size: 95%;
}
div.BoxenVerschmelzen div.NavFrame {
  border-style: none;
  border-style: hidden;
}
div.NavPic {
  background-color: #ffffff;
  margin: 0px;
  padding: 2px;
  float: left;
}
div.NavFrame div.NavHead {
  height: 1.6em;
  font-weight: bold;
  font-size: 100%;
  background-color: #efefef;
}
div.NavFrame p { font-size: 100%; }
div.NavFrame div.NavContent { display: none; font-size: 100%; }
div.NavFrame div.NavContent p { font-size: 100%; }
div.NavEnd {
  margin: 0px;
  padding: 0px;
  line-height: 1px;
  clear: both;
}
.NavToggle {
  font-size: x-small;
  float:right;
}

/* Coloration notes de références sélectionnées */
/* (wikipédia fr) */

/* Highlight clicked reference in blue to help navigation */
ol.references > li:target,
sup.reference:target,
span.citation:target {
  background-color: #DEF;
}

/* ****************************************************************************************** */
/*                                   Tableau gris = Wikitable.                                */
/*  1/ Tableau entier  ** 2/ Bg Lignes de titre : <th> ou !  **3/ Border des lignes th et td  */
/* ****************************************************************************************** */

table.wikitable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
table.wikitable th {
  background: #f2f2f2;
  text-align: center;
}
table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
}

/*-----------------------------------------*/
/*            COULEUR DE FOND              */
/*-----------------------------------------*/

/* par défaut : la couleur des pages de discussion 
   (ce qui évite donc d'avoir à redéfinir la couleur de la moitié des namespaces)  */
#content, 
#p-cactions li, 
#p-cactions li a { background: #eeeeff; }

/* (main) */
.ns-0 * #content, 
.ns-0 * #p-cactions li, 
.ns-0 * #p-cactions li a { background : white; }

/* Suppression du titre h1 de la page d'accueil */
body.page-Accueil h1.firstHeading {display: none;}

/* Special: (bleu ciel) */
.ns--1 #content, 
.ns--1 #p-cactions li, 
.ns--1 #p-cactions li a { background: #F8FCFF; }

/* Utilisateur: */
.ns-2 * #content, 
.ns-2 * #p-cactions li, 
.ns-2 * #p-cactions li a { background : white; }

/* Lostpédia:  */
.ns-4 * #content, 
.ns-4 * #p-cactions li, 
.ns-4 * #p-cactions li a { background: #F4F4F4; }

/* Image: */
.ns-6 * #content, 
.ns-6 * #p-cactions li, 
.ns-6 * #p-cactions li a { background: white; }

/* MediaWiki: */
.ns-8 * #content, 
.ns-8 * #p-cactions li, 
.ns-8 * #p-cactions li a { background: #EEEEFF; }

/* Modèle: */
.ns-10 * #content, 
.ns-10 * #p-cactions li, 
.ns-10 * #p-cactions li a { background: white; }

/* Aide: */
.ns-12 * #content, 
.ns-12 * #p-cactions li, 
.ns-12 * #p-cactions li a { background: #FFEEEE; }

/* Catégorie: */
.ns-14 * #content, 
.ns-14 * #p-cactions li, 
.ns-14 * #p-cactions li a { background: white; }

/* Portail: */
.ns-100 * #content, 
.ns-100 * #p-cactions li, 
.ns-100 * #p-cactions li a { background: white; }

/* Projet: */
.ns-102 * #content, 
.ns-102 * #p-cactions li, 
.ns-102 * #p-cactions li a { background: #F6F6F6; }
}

/* Référence: */
.ns-104 * #content, 
.ns-104 * #p-cactions li, 
.ns-104 * #p-cactions li a { background: #EEFFEE; }

/* Soulignement léger pour les sous-parties */
h3 { border-bottom: dotted 1px #ddd; }

/* Fenêtres arrondies (pour les navigateurs moz/firefox/gecko) */
.pBody {
  padding: 0.3em 0.1em;
  -moz-border-radius-topright: 0.5em;
}

#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-topleft: 0.5em;
}


/* dans special:allpages et special:watchlist, rendre plus visible les pages étant des redirects (allpagesredirect est déjà en italique par défaut) */
.allpagesredirect a,
.watchlistredir a  { color: green; }

/*
Pour limiter les niveaux affichés dans le TOC, par exemple <div class="toclimit-3">__TOC__</div> limitera l'affichage à ==en-tête== et ===en-tête=== mais pas plus
Source : http://en.wikipedia.org/wiki/MediaWiki:Common.css
*/
.toclimit-2 .toclevel-2 { display: none; }
.toclimit-3 .toclevel-3 { display: none; }
.toclimit-4 .toclevel-4 { display: none; }
.toclimit-5 .toclevel-5 { display: none; }
.toclimit-6 .toclevel-6 { display: none; }
.toclimit-7 .toclevel-7 { display: none; }

/* Rend le fond des images "thumb" blanc au lieu de gris */
/* Visible uniquement chez les images à fond transparent */
div.thumb div a img { background-color: #ffffff; }

.apparition_figurant td {
  width: 150px;
  height: 100px;
  vertical-align: top;
}

/* Modifications récentes */
.mw-plusminus-pos { color: #006500; }
.mw-plusminus-neg { color: #8B0000; }

#bodyContent a.external[href$=".mov"], #bodyContent a.external[href$=".MOV"] {
  background: transparent url(http://images.wikia.com/common/skins/monobook/video.png) no-repeat scroll right center;
  padding-right: 12px;
}

.bandeau {
  border: 1px solid #AAA;
  margin: 4px 10%;
  width: 80%;
  padding: 4px;
  background-color: #F9F9F9;
  text-align: center;
  font-size: 95%;
  overflow: auto;
}

.bandeau .floatleft {
  margin-bottom: 0;
}

.homonymie {
  border-bottom: 1px solid #AAAAAA;
  font-style: italic;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 2em;
}

.editsimilar {
  background-color: #5B5F5E;
}

/* -- Pour la mise en couleur de certains utilisateurs -- */

/* admins */

ul a[title="Utilisateur:Fan de Lost"].mw-userlink,
ul a[title="Utilisateur:Wyz"].mw-userlink,
ul a[title="Utilisateur:Nico"].mw-userlink,
ul a[title="Utilisateur:Vivere.memento"].mw-userlink,
ul a[title="Utilisateur:Desperate july"].mw-userlink { font-weight: bold; color: #009900; }

/* bureaucrates */

ul a[title="Utilisateur:LostpediaAdmin"].mw-userlink,
ul a[title="Utilisateur:SGC.Alex"].mw-userlink  { font-weight: bold; color: #00BDD8; }

/* robots */

ul a[title="Utilisateur:Wikia"].mw-userlink,
ul a[title="Utilisateur:LOSTFR-R2D2"].mw-userlink,
ul a[title="Utilisateur:LOSTFR-Wall-e"].mw-userlink { font-weight: bold; color: #990000; }


/* Wikia */
ul a[title="Utilisateur:Uberfuzzy"].mw-userlink,
ul a[title="Utilisateur:Angela"].mw-userlink,
ul a[title="Utilisateur:TOR"].mw-userlink { font-weight: bold; color: #DAA520; }

/* ---- */

/**
 * Éléments repris de Mediawiki:Monaco.css
 **/

/*########## TabView extension ##########*/
.yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav {
  border: solid #B2EAB2;
  border-width: 0 0 5px;
}

.yui-nav, .yui-nav li {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}

.yui-navset .yui-nav li {
  margin: 0 0.16em 0 0;
  padding: 1px 0 0;
}

.yui-nav a {
  background-color: #6ED06E;
  border-width: 1px 1px 0;
  border-style: solid;
  border-color: #A3A3A3;
  text-decoration: none;
  padding: 0.15em 0.5em;
}

.yui-nav .tabPinned a {
  background-color: #B2EAB2;
}