Benutzer:Blanche/common.css

Aus Vikidia
Zur Navigation springen Zur Suche springen

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* 

== Feuille de style globale ==

Cette page contrôle l'apparence, pour toutes les skins.

Les modifications devant s'appliquer à l'apparence Monobook seulement doivent aller dans  [[MediaWiki:Monobook.css|Monobook.css]]

Ce code a été dérivé en partie de https://fr.wikipedia.org/w/index.php?title=MediaWiki:Common.css&diff=prev&oldid=13289774,
Wikipédia, CC-BY-SA-3.0 (lien vers le texte en pied de page)
Liste des auteurs : https://fr.wikipedia.org/w/index.php?title=MediaWiki:Common.css&offset=20070524060910|35606632&action=history
<pre> */

/* Logo de Vikidia pour Noël */
.mw-wiki-logo {
    background-image: url("//download.vikidia.org/vikidia/fr/images/archive/3/33/20211203172632%21Logo_vikidia_Noel.png");
    background-size: contain;
}
/* autres logos :
download.vikidia.org/vikidia/fr/images/e/e2/Logo_vikidia_Halloween.png (Halloween),
download.vikidia.org/vikidia/fr/images/3/33/Logo_vikidia_Noel.png (Noël).
*/

/**********************************************
 * Colorier le nombre de caractères modifiés dans la liste des RC
 **********************************************/

 .mw-plusminus-pos {
     color: #00aa00; /* vert */
 }
 .mw-plusminus-neg {
     color: #aa0000; /* rouge */
 }
 .mw-plusminus-null {
     color: #888888; /* gris */
 }

/**********************************************
 * Faire apparaître les redirections en italique sur [[Special:Allpages]]
 **********************************************/

 .allpagesredirect {
     font-style: italic;
 }

/**********************************************
 * Harmonisation des Infoboxes
 **********************************************/

.infobox {
   background-color: #eeeeee; /* couleur correspondant aux titres / colonne de gauche, th */
   color: black;
   float: right;
   clear: right;
   font-size: 95%;
   border-collapse: collapse;
   margin: 0 0 0.5em 1em;
}

.infobox caption {
   background-color: #c0c0c0;
   border-left: 1px solid #aaaaaa;
   border-top: 1px solid #aaaaaa;
   border-right: 1px solid #aaaaaa;
   padding: 0.2em;
   margin-left: 0.57em;
   font-weight: bolder;
   text-align: center;
   color: white;
   font-size: 160%;
}

.infobox th,
.infobox td {
   vertical-align: middle;
   border: 1px solid #aaaaaa;
   padding: 0.2em 0.2em 0.2em 0.5em;
}

.infobox td {
   text-align: center;
   background: #f9f9f9;
}

.infobox th {
   font-weight: normal;
   text-align: left;
}

.infobox .infoboximage { /* emplacement pour les photos et une description */
   background: #ffffff;
   padding:0;
   margin-top:0;
   color: black;
   text-align: center;
}

.infobox .infoboxsoustitre { /* soustitre */
   padding:0;
   color: black;
   font-weight: bold;
   font-size: 115%;
   line-height: 2;
   text-align: center;
}

/**********************************************
 * reference : éviter d'obtenir un interlignage de taille variable
 **********************************************/

.reference, .exposant { 
   vertical-align: text-top;
   position: relative;
   top: -0.3em;
   padding-left:1px;
}

/**********************************************
 * Style des chiffres romains
 **********************************************/

.romain
{
  text-transform:lowercase;
  font-variant:small-caps;
}

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


/* ****************************************************************************************** */
/*                                   Tableau pour modèle.                                     */
/*               (en test : voir [[Discussion Modèle:Histoire des pays des Amériques]]).      */
/*                          1/ Table entier  ** 2/  Bg Lignes de titre : <th> ou !            */
/* ****************************************************************************************** */

table.wikitemplate {
  margin: 1em 1em 1em 0;
  width: 80%;
  background: #f7f8ff;
  padding: 3px;
  border: 1px #aaaaaa solid;
}
table.wikitablue th {
  background: #c8d8ff;
  text-align: center;
}

/**********************************************
 * retirer les liens modifer
 * (encadrer la zone de <div class=noeditsection></div>).
 * Voir notamment [[Portail:Biologie/Les articles]]
 * A remplacer par __NOEDITSECTION__
 **********************************************/

.noeditsection .mw-editsection{
  display: none;
}

/**********************************************
 * styles pour changer la couleur de liens
 * (encadrer les liens de <div class=lienNoir></div>).
 * Voir notamment [[Portail:Biologie/Les articles]]
 **********************************************/

.lienNoir a {
  color: black;
}

.lienNoir a:visited {
  color: #707070;
}

.lienBlanc a {
  color: white;
}

.lienBlanc a:hover {
  color: white;
  text-decoration: underline;
}

.lienBlanc a:visited {
  color: #B9B9B9;
}

.lienRefMath {
  color: black;
  text-decoration: none;
}

.lienRefMath:hover {
  background-color: white;
  border-bottom:0;
}

/* Classe pour les listes horizontales séparées par des puces.
   Adaptation de la classe 'hlist' de wp:en:User:Edokter.
   (cf. [[mw:Snippets/Horizontal lists]]). */
.liste-horizontale ul,
.liste-horizontale ol,
.liste-horizontale li {
	margin-left: 0;
	display: inline;
	white-space: nowrap;
	*white-space: normal; /* be kind ie7 */
}
.liste-horizontale li:after {
	content: " "; /* au cas ou Mediawiki supprime les retours ligne */
}
.liste-horizontale li + li:before {
	white-space: normal;
	content: "· ";
	font-weight: bold;
}
.liste-horizontale li li:first-child:before {
	white-space: normal;
	content: " (";
}
.liste-horizontale li ul:after,
.liste-horizontale li ol:after{
	content: ")";
	margin-left: -0.28em;
}
.liste-horizontale ol {
	counter-reset: listitem;
}
.liste-horizontale ol > li {
    counter-increment: listitem;
}
.liste-horizontale ol > li:first-child:before {
    content: "1.\202F";
}
.liste-horizontale li ol > li:first-child:before {
    content: " (1.\202F";
}
.liste-horizontale ol > li + li:before {
	content: "· " counter(listitem) ".\202F";
	font-weight: normal;
}

/**********************************************
 * Divers (à commenter!)
 **********************************************/

 /* Metadata */
 table.metadata {
     border: 1px solid #aaaaaa;
     display: none;
     speak: none;
 }
 .metadata-label {
     color: #aaaaaa;
 }

/**********************************************
 * Affichage du sitenotice pour le référencement
 **********************************************/
/* retrait, il est trop fatiguant car il fait sauter la ligne là-haut,
et pas sûr que ça marche encore sur Google aujourd'hui */
/* #siteSub {
display:inline;
font-size:92%;
font-weight:normal;
}
#bodyContent #siteSub a {
background-color:transparent;
background-image:none;
color:#000000;
padding-right:0pt;
text-decoration:none;
} */
.siteSub {
	display: none;
}
/**********************************************
 * Suppression de l'encadrement autour des images
 **********************************************/
div.thumb {
        border: none;
 }
 div.tright {
        border: none;
        margin: 0.5em 0 0.8em 1.4em;
 }
 div.tleft {
        border: none;
        margin: 0.5em 1.4em 0.8em 0;
 }

/**********************************************
 * Correction de la largeur des bandeaux dans les multi bandeaux et informations d’images
 **********************************************/
.multi-bandeau .bandeau {
    width: 100% !important;
}
.info-image .bandeau {
    width: 80% !important;
}

/* Hauteur du champ description dans Special:Téléchargement */
#wpUploadDescription {
    height: 150px;
}

/* Icone pour afficher la carte */
#divou {
 display: inline;
 padding-left: 20px;
}

#coordinates-title {
 display: none;
}
#coordinates {
 display: none;
}

/***********************
 * Sous-titre ([[Modèle:Sous-titre]])
 **********************/
 
#sous_titre {
  margin-top: 1em;
  padding: 0.5em;
  padding-bottom: 0.5em;
  border-style: solid;
  font-weight: bold;
  border-color: #AAAAAA;
  border-width: 1px 2px 2px 1px;
  border-radius: 0.5em;
  display: block;
  font-size: 1.7em;
  color: #555555;
  line-height: 1.3em;
  margin: 0.2em 0 0 0.5em;
}

/***********************
 * Classes pour modèles de sommaires allégés avec {{Sommaire}}
 **********************/ 
.toc_niveau_1 ul ul,
.toc_niveau_2 ul ul ul,
.toc_niveau_3 ul ul ul ul,
.toc_niveau_4 ul ul ul ul ul,
.toc_niveau_5 ul ul ul ul ul ul {
  display: none;
}

/* Boîtes à outils */
.mw-toolbox {
  /* monobookocentré */
  font-size: 90%;
  background: #F8F8F8;
  border: 1px solid #B8B8B8;
  padding: .25em 1em .25em 1em;
  clear: both;
}

/* Cacher la boîte de dons à l'impression (par Plyd sur conseil de Klipe, 05FEB2017) */
@media print {
  #donation-box {
    display: none;
  }
}

/* Cacher le titre de la page d'accueil */
.page-Vikidia_Accueil .firstHeading {
	display: none;
}

/***********************************************
 * Mise en évidence des résultats de recherche *
 * demande de Klipe et CRH - Linedwell 20MAY17 *
 **********************************************/
div.searchresults > p.mw-search-exists {
 border:1px green solid;
 background:#EEFFEE;
 padding:1em;
 text-align:center;
 font-size:120%;
}

/* hides Visual Editor welcome - Plyd 13FEB2017 */
/* .ve-ui-overlay {
    display: none;
} */

/* Disabled blinking
#donation-box {
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  49.9% {
    background: #EEEEFF;
  }
}
*/


/* for pagebanner extension - Plyd 2018-05-22*/
.wpb-banner-image img {
    visibility: initial ! important;
}
/* </pre> */