MediaWiki:Common.css : Différence entre versions

De Wikipasdecalais
Aller à : navigation, rechercher
Ligne 3 : Ligne 3 :
 
/** NOTES, RÉFÉRENCES, BIBLIOGRAPHIE **/
 
/** NOTES, RÉFÉRENCES, BIBLIOGRAPHIE **/
  
/* make the list of references look smaller and highlight clicked reference in blue */
+
/* CROCHETS */
ol.references { font-size: 85%; }
+
 
.references-small { font-size: 85%;}
+
/* Par défaut, cacher les crochets autour des notes. */
ol.references > li:target { background-color: #ddeeff; }
+
.cite_crochet { display:none }
sup.reference:target { background-color: #ddeeff; }
+
 
 +
/* Interligne */
 +
 
 +
/* Éviter d'obtenir un interlignage de taille variable. */
 +
.reference, .exposant {
 +
vertical-align:text-top;
 +
position:relative;
 +
font-size:.8em;
 +
top:-5px;
 +
}
 +
.reference {
 +
padding-left:1px;
 +
}
 +
 
 +
ol.references > li{
 +
text-align:left;
 +
}
 +
 
 +
/* https://bugs.webkit.org/show_bug.cgi?id=14691 */
 +
@media screen and (-webkit-min-device-pixel-ratio:0) {
 +
  ol.references sup.exposant { position: static; vertical-align: super; }
 +
}
  
 
/* MISE EN ÉVIDENCE */
 
/* MISE EN ÉVIDENCE */

Version du 24 octobre 2011 à 16:57

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

/** NOTES, RÉFÉRENCES, BIBLIOGRAPHIE **/

/* CROCHETS */

/* Par défaut, cacher les crochets autour des notes. */
.cite_crochet { display:none }

/* Interligne */

/* Éviter d'obtenir un interlignage de taille variable. */
.reference, .exposant { 
 vertical-align:text-top;
 position:relative;
 font-size:.8em;
 top:-5px;
}
.reference {
 padding-left:1px;
}

ol.references > li{
text-align:left;
}

/* https://bugs.webkit.org/show_bug.cgi?id=14691 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  ol.references sup.exposant { position: static; vertical-align: super; }
}

/* MISE EN ÉVIDENCE */

/* Mise en surbrillance de la note ou de l'ouvrage de référence cliqué
   pour faciliter la navigation (de en.wikipedia). */

/* Contenu de la note */
ol.references > li:target, .ouvrage:target { background:#DEF }

/* Renvoi */
sup.reference:target { background:#DEF }
/*

/* Référence présente */
span.ref:hover { border-bottom:1px solid #AAA }

/* NORMES BIBLIOGRAPHIQUES */

/* Mode d'affichage par défaut des données dans l'espace référence. */
.BibList { display:block }
.WikiNorme, .BibTeX, .ISBD, .ISO690, .specialBib { display:none }

/* CATEGORIES CACHEES */
 
 #mw-hidden-catlinks {
 font-size: 10px;
 }

/* PAGES DE DISCUSSION : COLORATION INDENTÉE */
 .ns-talk dd {
  margin:0;
  padding:0;
 }

 .ns-talk dl {
  border-top:solid 1px #F0F080;
  border-left:solid 1px #F0F080;
  padding-top:.5em;
  padding-left:.5em;
  margin-left:1em;
 }

 .ns-talk dl,
 .ns-talk dl dl dl,
 .ns-talk dl dl dl dl dl,
 .ns-talk dl dl dl dl dl dl dl,
 .ns-talk dl dl dl dl dl dl dl dl dl
 { background:#FFFFE0 }

 .ns-talk dl dl,
 .ns-talk dl dl dl dl,
 .ns-talk dl dl dl dl dl dl,
 .ns-talk dl dl dl dl dl dl dl dl,
 .ns-talk dl dl dl dl dl dl dl dl dl dl
 { background:#FFE }

/* ARTICLE DÉTAILLÉ */
 
/* Classes pour les modèles basés sur [[modèle:Article détaillé]] ainsi que [[Modèle:Article principal]] */
.detail, .details {
margin:0 0 .7em 2em;
border:solid #E7E7E7;
border-width:1px 0;
text-align:left;
font-size:95%;
background:#FDFDFD url("//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png") no-repeat left center;
padding:1px 4px 1px 24px;
overflow:hidden;
}
.detail.commons {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/15px-Commons-logo.svg.png");
background-repeat:no-repeat;
}
.detail.principal {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Nuvola_apps_download_manager2-70%25.svg/15px-Nuvola_apps_download_manager2-70%25.svg.png");
background-repeat:no-repeat;
}
.detail.section {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Fairytale_waring.png/15px-Fairytale_waring.png");
background-repeat:no-repeat;
}