MediaWiki:Monobook.css

De BoyWiki

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici affectera les utilisateurs de l’habillage Monobook. */



/* Pages Agora : encadrement et colorisation des indentations */
/* dépend de la fonction js "attrib_class_dialog" qui attribue la classe dialog */

.dialog #content {background: #F8F8FF;}
.dialog #bodyContent dd {margin:0; padding: .3em 0 0 0;}
.dialog #bodyContent dl {border-top: solid 1px #9090F0; border-left: solid 1px #9090F0; padding: .2em 0 0 .5em; margin: .5em 0 0 1em;}
.dialog #bodyContent dl, .dialog #bodyContent dl dl dl, .dialog #bodyContent dl dl dl dl dl, 
   .dialog #bodyContent dl dl dl dl dl dl dl, .dialog #bodyContent dl dl dl dl dl dl dl dl dl, 
   .dialog #bodyContent dl dl dl dl dl dl dl dl dl dl dl {background: #F0F0FF}
.dialog #bodyContent dl dl, .dialog #bodyContent dl dl dl dl, .dialog #bodyContent dl dl dl dl dl dl, 
   .dialog #bodyContent dl dl dl dl dl dl dl dl, .dialog #bodyContent dl dl dl dl dl dl dl dl dl dl, 
   .dialog #bodyContent dl dl dl dl dl dl dl dl dl dl dl dl {background: #F8F8FF}



/* Pages Edition : affichage espace caractères spéciaux */
/* dépend des fonctions js addCustomCharsetMenu, addcharsetmenu, changecharset, initcharsubset */

#specialcharsets {min-height: 5.6em; margin: 3px 0; border-width: 1px; border-style: solid; border-color: #AAA; padding: 3px;}
#specialcharsets select {margin: 3px 6px 0 0;}
#specialcharsets p {line-height: 1.8em;}
#specialcharsets p a {text-decoration: none; padding: 1px .35em; background: #C0F0F0; color: #400; border: outset #C0F0F0 1px;}



/* Popup-infobulle affichage des notes de bas de page pour citations et références */
#popup_ref {position:absolute; z-index:10; top:100px; left:200px; width:350px; min-height:25px; background:#FFFFC0; border: outset #FFC0A0 1px; padding: 8px; font-size: 110%;}

/* Popup-paramétres (dialogbox) - utilisé par bouton insertion tableau (toolbox) */ 
#popup_param {position: absolute; z-index:10; top: 100px; left: 200px; width: 260px; min-height: 250px; background: #EFFAFA; border: outset #C0F0F0 1px; padding: 5px; font-size: 110%; text-align: center;}
#popup_param table {background: #EFFAFA;}
#popup_param #titr {font-weight: bold;}
#popup_param #aide {display: block; font-size: 95%; text-align:left; line-height: 1em; color: #520; padding-left: 20px; margin: 5px;}
#popup_param #btn {display: block; padding: 6px;}



/* Référence livre pour citations */
div.reflivre {background: #EFF; font-size: 85%;}



/* Tableaux standards - source: modèle graphique Wikipédia (class="wikitable") */
table.wikitable {margin-top:1em; margin-bottom:1em; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse;}
table.wikitable th, table.wikitable td {border:1px #AAA solid; padding:.3em;}
table.wikitable th, .wikitable_header {background:#F2F2F2; text-align:center;}
table.wikitable caption {margin-left:inherit; margin-right:inherit;}

/* Tableaux - modèle permettant les lignes couleurs alternées */
table.alterne {margin: 1em; background: #FFF; border: 1px #999 solid;}
table.alterne th, table.alterne td {border: 0; border-spacing: 2px; padding: 1px .3em;}
table.alterne th {background: #CCC;  text-align: center;}
table.alterne tr.grey {background: #EEE;}
table.alterne caption {margin-left:inherit; margin-right:inherit;}

/* Tableaux - alignement du tableau dans la page: flottant à droite ou à gauche */
table.gauche {float:left; margin:0 1em 1em 0;}
table.droite {float:right; margin:0 0 1em 1em;}
table.centre {margin:1em auto;}

/* Tableaux - alignement des cellules */
table.celldroite td {text-align: right;}
table.cellcentre td {text-align: center;}