Différences entre les versions de « MediaWiki:Monobook.css »

16 107 octets supprimés ,  17 mai 2007 à 19:01
 
(18 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* Modifiez ce fichier pour personnaliser l'apparence Monobook pour le site entier */
/* Modifiez ce fichier pour personnaliser l'apparence Monobook pour le site entier */
/* Modifications pour Internet explorer version <= 6 */
#p-cactions {
padding-top: 100px !important;
padding-top: 104px;
}
#p-cactions li a {
margin: 0 !important;
margin: 0 -4px 0 0;
}
/* les nombre impairs représentent les espaces de discussion */
/* '0': 'Article', '1' : 'Discuter' */
/* '2': 'Utilisateur', '3' : 'Discussion utilisateur' */
/* '4': 'Wikipédia', '4' : 'Discussion Wikipédia' */
/* '6': 'Image', '5' : 'Discuter Image' */
/* '8': 'MediaWiki', '9' : 'Discussion MediaWiki' */
/* '10': 'Modèle', '10' : 'Discuter Modèle' */
/* '12': 'Aide', '13' : 'Discuter Aide' */
/* '14': 'Categorie', '15' : 'Discuter Catégorie' */
/* '100': 'Build', '101': 'Discussion Build' */
/* '102': 'Projet', '103' : 'Discussion Projet' */
/* '104': 'Référence', '105': 'Discussion Référence' */
/* SOMMAIRE */
/* I aspect général (les choses concernant l'affichage de toute l'encyclopédie) */
/* I.1 Couleur de fond des différents namespace */
/* I.2 gestion de la coloration indentatique */
/* I.3 autre
/* II Divers (ce qui concerne un projet, un portail ou un bandeau particulier) */
/************************************************************/
/*                  ASPECT GENERAL                          */
/************************************************************/
/*-----------------------------------------*/
/*            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 namespace)  */
#content,
#p-cactions li,
#p-cactions li a {
  background: #FFFFEE;
}
/* Special: (bleu ciel) */
.ns--1 #content,
.ns--1 #p-cactions li,
.ns--1 #p-cactions li a {
  background: #F8FCFF;
}
/* (main) */
.ns-0 * #content,
.ns-0 * #p-cactions li,
.ns-0 * #p-cactions li a {
  background : white;
}
/* Utilisateur: */
.ns-2 * #content,
.ns-2 * #p-cactions li,
.ns-2 * #p-cactions li a {
  background : white;
}
/* Wikipé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;
}
/* Build: */
.ns-100 #content {
border-top-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #FBC10F;
border-bottom-color: #FBC10F;
border-left-color: #FBC10F;
border-right-width: medium;
border-right-style: none;
border-right-color: -moz-use-text-color;
background-image: url(http://www.gwiki.fr/w/images/e/e0/Fond_section_build.jpg);
background-repeat:no-repeat;
background-position: right top;
background-color: #FFFBCC;
}
.ns-100 * #p-cactions li,
.ns-100 * #p-cactions li a {
  background: white;
}
/* Guilde: */
.ns-102 #content {
border-top-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #B0A6A2;
border-bottom-color: #B0A6A2;
border-left-color: #B0A6A2;
border-right-width: medium;
border-right-style: none;
border-right-color: -moz-use-text-color;
background-image: url(http://www.gwiki.fr/w/images/2/2b/Fond_section_guilde.jpg);
background-repeat:no-repeat;
background-position: right top;
background-color: #D3CFCD;
}
.ns-102 * #p-cactions li,
.ns-102 * #p-cactions li a {
  background: white;
}
/* Référence: */
.ns-104 * #content,
.ns-104 * #p-cactions li,
.ns-104 * #p-cactions li a {
  background: #EEFFEE;
}
/* Style pour les pages de discussion ; gestion de la coloration indentative */
.ns-1 dd, .ns-3 dd, .ns-5 dd, .ns-7 dd, .ns-9 dd,
.ns-11 dd, .ns-13 dd,.ns-15 dd, .ns-101 dd, .ns-103 dd, .ns-105 dd {
  margin: 0;
  padding: 0;
}
.ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl,
.ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-101 dl, .ns-103 dl, .ns-105 dl {
  border-top: solid 1px #F0F080;
  border-left: solid 1px #F0F080;
  padding-left: 0.5em;
  margin-left: 1em;
  padding-top: 0.5em;
}
.ns-1 dl, .ns-3 dl, .ns-5 dl, .ns-7 dl, .ns-9 dl,
.ns-11 dl, .ns-13 dl, .ns-15 dl, .ns-101 dl, .ns-103 dl, .ns-105 dl
{ background-color: #FFFFE0; }
.ns-1 dl dl, .ns-3 dl dl, .ns-5 dl dl, .ns-7 dl dl, .ns-9 dl dl,
.ns-11 dl dl, .ns-13 dl dl, .ns-15 dl dl, .ns-101 dl dl, .ns-103 dl dl, .ns-105 dl dl
{ background-color: #FFFFEE; }
.ns-1 dl dl dl, .ns-3 dl dl dl, .ns-5 dl dl dl, .ns-7 dl dl dl, .ns-9 dl dl dl,
.ns-11 dl dl dl, .ns-13 dl dl dl, .ns-15 dl dl dl, .ns-101 dl dl dl, .ns-103 dl dl dl, .ns-105 dl dl dl
{ background-color: #FFFFE0; }
.ns-1 dl dl dl dl, .ns-3 dl dl dl dl, .ns-5 dl dl dl dl, .ns-7 dl dl dl dl,
.ns-9 dl dl dl dl, .ns-11 dl dl dl dl, .ns-13 dl dl dl dl, .ns-15 dl dl dl dl,
.ns-101 dl dl dl dl, .ns-103 dl dl dl dl, .ns-105 dl dl dl dl
{ background-color: #FFFFEE; }
.ns-1 dl dl dl dl dl, .ns-3 dl dl dl dl dl, .ns-5 dl dl dl dl dl,
.ns-7 dl dl dl dl dl, .ns-9 dl dl dl dl dl, .ns-11 dl dl dl dl dl,
.ns-13 dl dl dl dl dl, .ns-15 dl dl dl dl dl, .ns-101 dl dl dl dl dl,
.ns-103 dl dl dl dl dl, .ns-105 dl dl dl dl dl
{ background-color: #FFFFE0; }
.ns-1 dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl,
.ns-5 dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl,
.ns-9 dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl,
.ns-13 dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl,
.ns-101 dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl,
.ns-105 dl dl dl dl dl dl
{ background-color: #FFFFEE; }
.ns-1 dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl,
.ns-5 dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl,
.ns-9 dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl,
.ns-13 dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl,
.ns-101 dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl,
.ns-105 dl dl dl dl dl dl dl
{ background-color: #FFFFE0; }
.ns-1 dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl,
.ns-5 dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl,
.ns-9 dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl,
.ns-13 dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl,
.ns-101 dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl,
.ns-105 dl dl dl dl dl dl dl dl
{ background-color: #FFFFEE; }
.ns-1 dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl,
.ns-5 dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl,
.ns-9 dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl,
.ns-13 dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl,
.ns-101 dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl,
.ns-105 dl dl dl dl dl dl dl dl dl
{ background-color: #FFFFE0; }
.ns-1 dl dl dl dl dl dl dl dl dl dl, .ns-3 dl dl dl dl dl dl dl dl dl dl,
.ns-5 dl dl dl dl dl dl dl dl dl dl, .ns-7 dl dl dl dl dl dl dl dl dl dl,
.ns-9 dl dl dl dl dl dl dl dl dl dl, .ns-11 dl dl dl dl dl dl dl dl dl dl,
.ns-13 dl dl dl dl dl dl dl dl dl dl, .ns-15 dl dl dl dl dl dl dl dl dl dl,
.ns-101 dl dl dl dl dl dl dl dl dl dl, .ns-103 dl dl dl dl dl dl dl dl dl dl,
.ns-105 dl dl dl dl dl dl dl dl dl dl
{ background-color: #FFFFEE; }
/* Fenêtres arrondies (pour les navigateurs moz/firefox/gecko) */
.pBody {
  padding: 0.3em 0.1em;
  -moz-border-radius-topright: 0.5em;
}
.portlet h5 {
  background-color: #e0e3e6;
  border: thin solid silver;
  -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;
}
/* interlignage des titres de pages : utile pour les titres « à rallonge » */
.firstHeading {line-height: 1.2em}
/* correction du bug de bordure blanche en attendant une mise a jour du site */
div.floatleft, table.floatleft {
    float: left;
    position: relative;
    margin: 0em 0.5em 0.5em 0em;
    border: 0;
}
div.floatright, table.floatright {
    clear: right;
    float: right;
    position: relative;
    margin: 0em 0em 0.5em 0.5em;
    border: 0;
}
/* Style boîte login */
form#userlogin {
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}
form#userlogin table {
  background-color: #ffffe6;
  color: #000;
}
/* pour harmoniser les exposants */
.exposant { vertical-align: text-top; }
/* 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;
}
/* Mise en gras de "modifier cette page" (copié de en:) */
#ca-edit a { font-weight: bold !important; }
/* BEGIN Diff rendering */
table.diff {
  padding: 0.5em;
}
table.diff td {
  vertical-align: top;
}
td.diff-addedline {
  background:#D8E4F6;
}
td.diff-addedline span.diffchange {
  background: #B0C0F0;
  color: #001040;
  font-weight: bold;
}
td.diff-deletedline {
  background:#E4F6D8;
}
td.diff-deletedline span.diffchange {
  background: #B0E897;
  color: #104000;
  font-weight: bold;
}
td.diff-context {
  background:#FEFEFE;
}
/* END Diff rendering */
/* Ne pas afficher le lien complet des url externes sur la version imprimable (tag manuel) */
.plainlinksneverexpand a.external.text:after {
  display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
  display: none !important;
}
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow...*/
.plainlinksneverexpand a {
  background: none !important;
  padding: 0 !important;
}
/* CSS pour les modèles de coordonnées  */
#coordinates { 
  border:none; background:none; top:0.3em; margin:0.0em;
  padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:nowrap;
}
/* Divers */
/* APPARENCE DES MESSAGES D'ALERTE */
.alerte {
  padding:0.2em;
  background:#FFFFDD;
  margin-bottom:0.4em;
  font-style: italic;
}
.alerte2 {
  padding:0.2em;
  background:#FFB6C1;
  margin-bottom:0.4em;
  font-style: italic;
}
/* Style des boites de l'accueil */
.boite-accueil-haut
{
  background-color: #C8D8FF;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: small;
  font-weight: bold;
  border: 1px solid #AAAAAA;
  padding-bottom: 2px;
  padding-left: 2px;
  padding-top: 2px;
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-topleft: 0.5em;
}
/* Classes pour portails modulaires */
/* une case typique pour portail modulaire */
.portailCase {
  border: 1px solid #aaaaaa;
  display: block;
  margin: 5px 0;
  padding:0px;
  padding-bottom:1px;
  vertical-align: top;
  width: 100%;
}
/* le titre de cette case, apparaissant sur un fond différent */
.portailCase h2 {
  font-weight:bold;
  font-size:100%;
  margin:0 0;
  margin-bottom:5px;
  padding:4px;
  text-align:center;
}
/*le lien editer (en bas) tout à droite */
.portailLienEdition {
  display:block;
  font-size:x-small;
  text-align:right;
  clear:both;
}
/*la classe suivantes est destinee a remplacer la classe portailCase */
.portailCase_v2 {
  border:1px solid #AAAAAA;
  color:#000000;
  font-size:100%;
}
h2.portailCase_v2 {
  font-weight:bold;
  margin:0px;
  padding:3px;
  text-align:center;
}
div.portailCase_v2 {
  border-top:0px solid white;
  margin-bottom:1ex;
  padding:5px 5px 0 5px;
}
/* enlever les liens modifer (encadrez la zone de <div class=noeditsection></div>). Voir notamment [[Portail:Biologie/Les articles]] */
div.noeditsection div.editsection {
  display: none;
}
/************************************************************/
/* styles pour changer la couleur de liens (encadrez les liens de <div class=lienNoir></div>). Voir notamment [[Portail:Biologie/Les articles]] */
.lienNoir a {
  color: black;
}
.lienNoir a:visited {
  color: #707070;
}
/************************************************************/
/*div.thumb div { background:none; }
div.thumb div div { background:rgb(249, 249, 249); }*/
/************************/
/* styles CommonsTicker */
/************************/
/* liens */
.tickerDiffLink { } /* diff links in ticker */
.tickerMiscLink { } /* misc links in ticker */
/* suppression des puces des listes */
.tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;  text-align:left; }
.tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }
/* styles par types */
.tickerEntry_deleted    { }  /* entry for image deletion */
.tickerEntry_restored    { }  /* entry for restored image */
.tickerEntry_replaced    { }  /* entry for image replacement */
.tickerEntry_tagged      { }  /* entry for adding/removing problem tags */
.tickerEntry_redir      { }  /* entry for critical redirection (fot tag redirects) */
.tickerEntry_recat      { }  /* entry for critical re-categorization (for tag categories) */
.tickerEntry_notify      { }  /* entry for global notifications */
.tickerEntry_changed    { }  /* entry for generic change */
/* styles par statut */
.tickerStatus_done, .tickerStatus_fait, .tickerStatus_traite { text-decoration:line-through; } /* barre une entrée traitée */
/* styles par actions */
.tickerAction_deleted:before    { content:" SUPPRIMÉ "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_restored:before    { content:" RESTAURÉ "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } 
.tickerAction_deletedRev:before  { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; } 
.tickerAction_replaced:before    { content:" REMPLACÉ "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; } 
.tickerAction_replacedOwn:before { content:" MÀJ "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; } 
.tickerAction_addedBad:before    { content:" +PàS "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; } 
.tickerAction_removedBad:before  { content:" -PàS "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } 
.tickerAction_addedGood:before  { content:" +OK  "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; } 
.tickerAction_removedGood:before { content:" -OK  "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
/* liste d'utilisation */
.tickerUsage  { font-size:80%; } 
/* entry applies to a template used by multiple images */
.tickerTemplateEntry    { font-weight: bold; }
/* entry applies to sub-entries, i.e. images that use a specific template */
.tickerSubEntry        { }                     
/* divers styles */
.tickerMinorEntry  { color:#666; }    /* minor entry */
.tickerMinorEntry a,
.tickerMinorEntry a:link,
.tickerMinorEntry a:visited { color:#669; }
#bodyContent .tickerMinorEntry a.extiw,
#bodyContent .tickerMinorEntry a.extiw:link,
#bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }
/********* Style Boite flottante (Objet) ***********/
.boite {
  border: 2px solid #aaa;
  width: 350px;
  float: right;
  margin: 0 0 0.5em 0.5em;
  border-collapse: collapse;
  background-color: white;
}
.boite td {
  border: 2px none #aaa;
  padding: 0.2em 0.5em;
  border-bottom: 1px solid #f0f0f0 !important;
}
.boite-header {
  background-color: #fff;
  color: black;
  text-align: left;
}
.boite-header td {
  padding-top: 0.5em;
}
.boite-header img {
  padding: 0 0.2em 0.5em 0.5em;
}
.boite-Objet_de_collection, .boite-Objet_de_collection td {
  border-color: #990000;
}
.boite-Objet_de_collection .boite-header {
  background-color: #990000;
  color: #ffff00;
}