Utilisateur:Nemoi/common.css
Note : après avoir enregistré la page, vous devrez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
Mozilla / Firefox / Konqueror / Safari : maintenez la touche Majuscule (Shift) en cliquant sur le bouton Actualiser (Reload) ou pressez Maj-Ctrl-R (Cmd-R sur Apple Mac) ;
Firefox (sur GNU/Linux) / Chrome / Internet Explorer / Opera : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5./* Unification des bandeaux */
@import "//fr.wikipedia.org/w/index.php?title=Utilisateur:Nemoi/classes-fonctionnelles.css&action=raw&ctype=text/css";
/* Suivi du délirium palettatoïde */
@import "//fr.wikipedia.org/w/index.php?title=Utilisateur:Lgd/Palettes/palettes_V2.css&action=raw&ctype=text/css";
.mw-lag-warn-normal {
display: block; /* ???????? */
}
.mw-content-ltr ul + ul { color:lightblue; }
ul.permissions-errors {
margin-left: 0;
list-style: none;
text-align: center;
}
ul.permissions-errors .bandeau-systeme {
text-align: left;
}
.references-small blockquote { margin: -0.2em 0 -0.2em 2em; }
/* -----------------------------------------------------*/
/* ----------------- isbn -----------------*/
/* -----------------------------------------------------*/
/*
.references .mw-magiclink-isbn,
.references small {
font-size: 1em !important;
}
.mw-magiclink-isbn {
font-size:90%;
} */
.mw-magiclink-isbn:before { content: " ("; color:orange; }
.mw-magiclink-isbn:after { content: ") "; color:orange; }
/* -----------------------------------------------------*/
/* ------------- catégories cachées -------------*/
/* -----------------------------------------------------*/
.cat-imitation {
display:inline-block;
line-height:1.35em;
padding:0 0.7em;
border-left:1px solid #AAA;
display:inline !ie;
}
.catlinks-allhidden #mw-hidden-cats-link { /* comme #catlinks li:first-child */
padding-left: .4em;
border-left: none;
}
/* [[MediaWiki:Gadget-HotCatsMulti.css]] */
#hotcat_DefaultSort_span + #hotcat_add { /* comme #catlinks li:first-child */
padding-left: .4em;
border-left: none;
}
/* .RemovedCategory {
text-decoration:line-through;
background-color:#FF9999;
}
.ModifiedCategory,
.ModifiedDefaultSort {
background-color:#CCCC77;
}
.AddedCategory {
background-color:#99FF99;
}*/
/* Bug avec Safari et option "justifier les paragraphes" */
/* #catlinks {
text-align:left !important;
}
#catlinks div {
text-align:left !important;
}*/
/* changement CSS avec MW v18 */
/* #catlinks option {
display:block !important;
}*/
/* -----------------------------------------------------*/
/* ------------- accueil (test21) -------------*/
/* -----------------------------------------------------*/
.page-Utilisateur_Nemoi_test21 #mw-content-ltr { position:relative; min-height:100%; }
.page-Utilisateur_Nemoi_test21 #toc { display:none; }
.page-Utilisateur_Nemoi_test21 div.cadre {
margin:0;
padding:8px;
border:1px solid #A7D7F9;
-moz-border-radius:10px; -webkit-border-radius:10px; -o-border-radius:10px; border-radius:10px;
}
.page-Utilisateur_Nemoi_test21 div#intro { position:relative; height:15em; }
.page-Utilisateur_Nemoi_test21 #main {
padding-bottom:10em; /* footer */
overflow:auto;
margin:12px 0;
}
.page-Utilisateur_Nemoi_test21 div#gauche,
.page-Utilisateur_Nemoi_test21 div#gauche2 {
float:left;
width:65%;
padding:1em 0 0 0;
}
.page-Utilisateur_Nemoi_test21 div#droite,
.page-Utilisateur_Nemoi_test21 div#droite2 {
float:right;
width:35%;
padding:1em 0 0 0;
}
.page-Utilisateur_Nemoi_test21 div#colonnegauche {
border-bottom-width:0;
-moz-border-radius:10px 10px 0 0; -webkit-border-radius:10px 10px 0 0; -o-border-radius:10px 10px 0 0; border-radius:10px 10px 0 0;
}
.page-Utilisateur_Nemoi_test21 div#colonnedroite {
margin-left:1em;
border:1px solid #A7D7F9;
border-bottom-width:0;
-moz-border-radius:10px 10px 0 0; -webkit-border-radius:10px 10px 0 0; -o-border-radius:10px 10px 0 0; border-radius:10px 10px 0 0;
background:#F5FAFF;
}
.page-Utilisateur_Nemoi_test21 div#hacks {
clear:both;
position:relative;
}
.page-Utilisateur_Nemoi_test21 div#colonnegauche2,
.page-Utilisateur_Nemoi_test21 div#colonnedroite2 {
position:absolute;
height:50em;
top:-50em;
border-top-width:0;
-moz-border-radius:0 0 10px 10px; -webkit-border-radius:0 0 10px 10px; -o-border-radius:0 0 10px 10px; border-radius:0 0 10px 10px;
}
.page-Utilisateur_Nemoi_test21 div#colonnedroite2 {
margin-left:1em;
border:1px solid #A7D7F9;
}
.page-Utilisateur_Nemoi_test21 h3 {
background:#C6DEFE;
height:25px;
margin:0;
border-bottom:0;
font-size:120%;
font-weight:bold;
padding:.15em .4em;
-moz-border-radius:8px; -webkit-border-radius:8px; -o-border-radius:8px; border-radius:8px;
}
.page-Utilisateur_Nemoi_test21 h2#contenus,
.page-Utilisateur_Nemoi_test21 h2#a_propos,
.page-Utilisateur_Nemoi_test21 h3#Disclaimer {
display:none;
}
/* -----------------------------------------------------*/
/* ------------- détails (test8) -------------*/
/* -----------------------------------------------------*/
.bandeau-niveau-homonymie { border-color:transparent; background-color:transparent; }
div.bandeau-niveau-homonymie { margin-top:-0.9em; }
.hr { border-top:1px solid #AAA; margin-top:-0.3em; }
div.ambigu {
display:block;
margin:-0.8em 0 0.5em 0;
padding:2px 0 0.4em 2em;
background-position:2em 3px; /* snif */
border-bottom:1px #AAA solid;
text-indent:25px; /* ?? */
}
.homonyme, .confusion, .homophone {
background-repeat:no-repeat;
line-height: 1.5em;
text-indent:23px;
display:inline-block;
}
.homonyme {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/3/3e/Disambig_colour.svg/20px-Disambig_colour.svg.png");
background-position:0 2px;
}
.confusion {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/6f/Confusion_colour.svg/20px-Confusion_colour.svg.png");
background-position:0 3px;
}
.homophone {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Homoph_colour.svg/20px-Homoph_colour.svg.png");
background-position:1px 2px;
}
.homophone {
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/63/Homoph_colour.svg/20px-Homoph_colour.svg.png");
background-position:1px 2px;
}
/* -----------------------------------------------------*/
/* ------- palettes et boîtes (test20) -------*/
/* -----------------------------------------------------*/
.nemoi.repliable {
clear:both;
border:1px solid #AAA;
margin:0;
padding:0.1em;
-moz-border-radius:0; /* configurable */
-webkit-border-radius:0; /* configurable */
}
.nemoi.repliable .contenu { margin:0.3em; }
.nemoi.repliable.palette2 {
margin-top:1em;
background:#F9F9F9;
}
.nemoi.repliable.palette2 table {
width:100%;
vertical-align:middle;
}
.nemoi.repliable .titre {
background:#EFEFEF;
font-weight: bold;
margin:0.2em;
text-align:center;
}
.nemoi.repliable.palette2 tbody { font-size:90%; }
.nemoi.repliable.palette2 .titre,
.nemoi.repliable.palette2 td.below { background:#CCF; }
.nemoi.repliable.palette2 td { padding:0 0.4em; }
.nemoi.repliable.palette2 td.list { text-align:left; }
.nemoi.repliable.palette2 td.even { background:#EEF; }
.nemoi.repliable.palette2 td.group { /* ¿à faire? : remplacer les td.group par des th */
background:#DDF;
width:12em;
font-weight: bold;
}
.nemoi.repliable .switch {
position:absolute;
right:0.8em;
margin-top:0.2em;
font-size:80%;
font-weight:normal;
}
.nemoi.repliable.close tbody,
.nemoi.repliable.close .contenu { display:none; }
.nemoi.palettes { border:1px solid #AAA; margin:1em 0 0 0; }
.nemoi.palettes .palette2 { border:0; margin:0; }
.nemoi.palettes .palette2 + .palette2 { margin-top:-0.2em; }
/* -----------------------------------------------------*/
/* ----- palettes de navigation (test7) -----*/
/* -----------------------------------------------------*/
div.nemoi.palette
{
overflow:hidden;
width:100%; /* For Opera Desktop/Mobile */
}
div.nemoi.palette.blanche { background-image:url("//upload.wikimedia.org/wikipedia/commons/c/c0/Blank.gif"); }
div.nemoi.palette.jaune { background-image:url("//upload.wikimedia.org/wikipedia/commons/9/90/Gold-pixel.PNG"); }
/* MISE EN COMMUN TEXTES */
.nemoi.palette p, .nemoi.palette ul, .nemoi.palette dt
{
clear:both;
margin:0;
padding:0.3em 0;
border-top:solid 1px #EEF;
text-align:center;
}
/* DESSUS – DESSOUS */
.nemoi.palette > ul, .nemoi.palette > p { border:0; }
.nemoi.palette > dl+ul, .nemoi.palette > dl+p { border-top:solid 1px #EEF; }
/* LES LIGNES AVEC TITRE */
.nemoi.palette dl, .nemoi.palette dt, .nemoi.palette dd
{
position:relative;
float:left;
display:block;
margin:0;
}
.nemoi.palette dl, .nemoi.palette dd {
background-image:inherit;
background-color:inherit;
}
.nemoi.palette dl {
background-repeat:repeat;
background-position:O% 0%;
border-left-width:1px;
border-left-style:solid;
border-left-color:#EEF;
}
div.nemoi.palette, .nemoi.palette dd {
background-repeat:no-repeat;
background-position:2988px;
}
.nemoi.palette > dl { left: 13%; }
.nemoi.palette > dl > dt { left:-13%; width:13%; }
.nemoi.palette > dl > dd { left:-13%; width:87%; }
.nemoi.palette > dl > dd > dl { left: 15%; }
.nemoi.palette > dl > dd > dl > dt { left:-15%; width:15%; }
.nemoi.palette > dl > dd > dl > dd { left:-15%; width:85%; }
.nemoi.palette > dl > dd > dl > dd > dl { left: 17.6%; }
.nemoi.palette > dl > dd > dl > dd > dl > dt { left:-17.6%; width:17.6%; }
.nemoi.palette > dl > dd > dl > dd > dl > dd { left:-17.6%; width:82.4%; }
/* LES LISTES A PUCES */
.nemoi.palette dl ul
{
background-image:inherit;
text-align:left;
padding: 0.3em;
}
.nemoi.palette ul > li
{
margin : 0 0.3em;
padding: 0 0.6em 0 0;
display: inline;
border-right: 1px solid grey;
white-space: nowrap;
}
.nemoi.palette ul > li:last-child
{
border-right: none;
padding-right: 0;
}
/* -----------------------------------------------------*/
/* ----------- galeries d’images -----------*/
/* -----------------------------------------------------*/
.nemoi.galerie
{
text-align:center;
padding:2px;
display:block;
}
.nemoi.galerie > p
{
font-weight:bold;
margin:2px auto;
}
.nemoi.galerie > ul, .nemoi.galerie > ul > li { zoom:1; } /* Je ne sais pas pourquoi mais je le pressens… */
.nemoi.galerie > ul > li
{
margin:0 0.7em;
display:inline-block;
display:-moz-inline-box;
}
.nemoi.galerie > ul > li img { width:120px; }
/* -----------------------------------------------------*/
/* ------- liste horizontale v. 1 (test10) -------*/
/* -----------------------------------------------------*/
div.nemoi.liste ul
{
float:left; /* sinon au moins Chromium ne marche pas */
margin:0.1em;
}
div.nemoi.liste li
{
float:left;
padding:0 0.6em 0 0.4em;
white-space:nowrap;
list-style:none;
background:url(//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Disc_Plain_grey.svg/5px-Disc_Plain_grey.svg.png) right no-repeat;
}
div.nemoi.liste li.last-child
{
background:none;
}
/* -----------------------------------------------------*/
/* -------- reprise de treeview (test15) --------*/
/* -----------------------------------------------------*/
.nemoi .corail ul {
padding:0;
margin:0;
}
.nemoi .corail li {
padding:0;
margin:0;
list-style-type:none;
list-style-image:none;
zoom:1; /* BE KIND TO IE6 */
}
.nemoi .corail li li {
background-repeat:no-repeat;
background-position:0 0;
background-image:url("//upload.wikimedia.org/wikipedia/commons/c/cf/Treeview-gray-line-2.png");
padding-left:20px;
}
.nemoi .corail li.lastline { background-position:0 -2989px; }
.nemoi .corail li.emptyline { padding-left:0; }
.nemoi .corail li.emptyline > ul > li {
background-image:url("//upload.wikimedia.org/wikipedia/commons/a/ad/Treeview-grey-line-2.png");
background-position:0 -2989px;
}
.nemoi .corail li.emptyline > ul > li:first-child { background-position:0 0; }
.nemoi .corail li.emptyline > ul > li.lastline { background-position:0 -5978px; }
/* CLADOGRAMMES */
/* variante du treeview pour les modèles de clades ([[Projet:Biologie]]) */
/* code lourd et tortueux pour préserver la compatibilité IE */
.treeview2 {
background: #fff
}
.treeview2 ul {
padding : 0;
margin: 0;
list-style-type: none;
list-style-image: none;
line-height: 1.6em;
}
.treeview2 li {
margin: 0;
zoom: 1;
}
.treeview2 li ul {
background: url("//upload.wikimedia.org/wikipedia/commons/8/85/Treeview-gray-line.png") no-repeat left 0;
padding: 0 0 0 8px;
}
.treeview2 li li {
background: #fff url("//upload.wikimedia.org/wikipedia/commons/d/d1/Treeview-horizontal-line3.png") no-repeat left 0.8em;
padding: 0 0 0 20px;
}
.treeview2 li li.lastline {
background: none;
padding: 0;
}
.treeview2 li li.lastline div {
background: url("//upload.wikimedia.org/wikipedia/commons/d/d1/Treeview-horizontal-line3.png") no-repeat left 0.8em !important;
padding: 0 0 0 21px !important;
margin: 0 0 0 -1px !important;
}
.treeview2 li.emptyline {
background: url("//upload.wikimedia.org/wikipedia/commons/d/d1/Treeview-horizontal-line3.png") no-repeat left 0.8em;
padding: 0;
}
.treeview2 li.emptyline > ul {
background-position: left 0.8em;
}
.treeview2 li.emptyline > ul > li > div {
background-color: #fff;
margin: 0 0 0 -12px;
padding: 0 0 0 4px;
}
.treeview2 li.emptyline > ul > li.lastline > div {
background: url("//upload.wikimedia.org/wikipedia/commons/d/d1/Treeview-horizontal-line3.png") no-repeat -6px 0.8em !important;
padding: 0 0 0 13px !important;
}
/* -----------------------------------------------------*/
/* ---------- fichiers audio (test16) ----------*/
/* -----------------------------------------------------*/
.nemoi .symphonie {
float:right; clear:right;
width:300px;
margin:1em 1.5em 1em 1em;
padding:0.6em;
border:1px solid #aaa;
background: #f9f9f9;
line-height:2.4em;
text-align:center;
}
.nemoi .rachmaninov {
line-height:37px;
background: #ccf url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left; /* .media.audio, ; .media.video à supprimer*/
font-weight:bold;
}
/* -----------------------------------------------------*/
/* ---------- fichiers audio (test16) ----------*/
/* -----------------------------------------------------*/
.nemoi .beethoven {
line-height:18px;
width:84%; margin:0.6em 8%;
background:#ccf url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Circle_question_mark.png/14px-Circle_question_mark.png") no-repeat 2px 2px;
border-radius:9px;
font-style:italic;
font-size:90%;
}
/* -----------------------------------------------------*/
/* ------- boîtes d’élus SINGULIER (test28) ------*/
/* -----------------------------------------------------*/
div.commune > table.wikitable > caption,
div.localite > table.wikitable > caption,
div.intercommunalite > table.wikitable > caption,
div.canton > table.wikitable > caption,
div.arrondissement > table.wikitable > caption,
div.departement > table.wikitable > caption,
div.region > table.wikitable > caption {
border-style: solid;
border-color: #aaa;
border-width: 1px 1px 0 1px;
}
div.commune > table.wikitable > caption {
background-color:#ddffdd;
}
div.localite > table.wikitable > caption {
background-color:#ffffbb;
}
div.intercommunalite > table.wikitable > caption {
background-color:#ffe2bf;
}
div.canton > table.wikitable > caption {
background-color:#ece5ca;
}
div.arrondissement > table.wikitable > caption {
background-color:#e1e1e1;
}
div.departement > table.wikitable > caption {
background-color#f6f3dd;
}
div.region > table.wikitable > caption {
background-color:#bbdefd;
}
/* -----------------------------------------------------*/
/* ------- liste horizontale v. 10 (test9) -------*/
/* -----------------------------------------------------*/
.listes-horizontales ul {
margin: 0;
padding: 0;
}
.listes-horizontales li {
margin: 0;
padding: 0;
display: inline;
white-space: nowrap;
text-indent: 0.3em;
}
.listes-horizontales ul ul {
display: inline;
white-space: normal; /* Les listes incrustées doivent être sécables, pas leurs éléments */
}
.listes-horizontales ul ul:before {
content: "\0000a0";
margin-left: -1.5em;
}
/* Puces et parenthèses */
.listes-horizontales li:before {
content: "\0000a0\0000a0";
font-weight: bold;
font-style: normal;
}
.listes-horizontales li li:first-child:before {
content: "(";
font-weight: normal;
margin-left: 0.8em;
}
.listes-horizontales li:after {
position: absolute;
content: "·";
font-weight: bold;
font-style: normal;
}
.listes-horizontales li:last-child:after {
content: none;
}
.listes-horizontales li li:last-child:after {
content: ")"; /* ")\0a\0a" Petit hack pour que le point ne se retrouve pas à la ligne après une sous-liste sous Webkit */
position: relative;
font-weight: normal;
}
/* IE 8 : NE PAS fusionner, IE 8 oublie toute la déclaration dès qu’il voit :last-child… */
/* .listes-horizontales li.last-child-pour-ie8:after {
content: none;
}
.listes-horizontales li li.last-child-pour-ie8:after {
content: ")\0a\0a";
font-weight: normal;
font-style: normal;
} */