MediaWiki:Common.css
De Casio Universal Wiki
Révision datée du 26 août 2014 à 15:24 par Ziqumu (discussion | contributions)
Note : après avoir enregistré 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 pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac)
- Google Chrome : appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac)
- Internet Explorer : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5
- Opera : allez dans Menu → Settings (Opera → Préférences sur un Mac) et ensuite à Confidentialité & sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/*generals class*/
pre{white-space:pre-wrap;margin-right:30px}
.error{background-color:#faf300;color;#da0000;font-weight:bold;text-decoration:auto;}
dl{border-left:solid #a7d7f9 1px;border-top:solid #a7d7f9 1px;background-color:#f5faff;}
/* Home page Css */
#homePageTable{border-spacing:0;}
#homePageTable td{border-right: 1px solid #a7d7f9;border-bottom: 1px solid #a7d7f9;}
#homePageTable th{border-right: 1px solid #a7d7f9;border-bottom: 1px solid #a7d7f9;background-color:#f5faff;border-left: 1px solid #a7d7f9;background-color:#f5faff;font-weight:bold;text-align:center;}
#homePageTableTop th{border-top: 1px solid #a7d7f9;border-left: 0px !important;}
/* Home Page Tests CSS */
div.menuBox { display: inline-block; background: #D0D0D0; border: 1px solid gray; padding: 0; border-radius: 10px 10px 0 0;
width: 400px; height: 165px; margin: 20px; vertical-align: middle; }
div.menuBox h1 { height: 30px; margin: 0; text-align: center; }
div.menuBox div { background: #E0E0E0; margin: 0; width: 400px; height: 116px; }
div.menuBox div p { display: inline-block; vertical-align: middle; margin: 0 10px; height: 96px; width: 250px;
text-align: justify; text-justify: inter-word; }
div.menuBox div a { display: inline-block; vertical-align: middle; margin: 10px; }
/* Templates CSS */
/* MsgBox */
#TemplateMsgBox{width:100%;}
#TemplateMsgBoxTable{width:80%;margin:0 auto 0 auto;border:solid 1px;border-left:solid 9px;text-align:left;}
#TemplateMsgBoxIcon{text-align:center;overflow:hidden;width:55px;height:35px;max-width:55px;max-height:55px;}
#TemplateMsgBoxTitle{padding:0 0 0 0;margin:0 0 5px 0;font-weight:bold;font-family: sans-serif;font-size: 1em;line-height: 1.4em;}
#TemplateMsgBoxText{padding:0 0 0 0;margin:0 0 0 0;font-size: 0.9em;line-height: 1.2em;font-family: sans-serif;}
.TemplateMsgBoxThemedefault{background-color:#fbfbfb;border-color:#77ccff !important;}
.TemplateMsgBoxThemerouge{background-color:#ffcccc;border-color:#aa0044 !important;}
.TemplateMsgBoxThemeorange{background-color:#ffeedd;border-color:#ff8822 !important;}
.TemplateMsgBoxThemebleu{background-color:#fbfbfb;border-color:#77ccff !important;}
/* InfoBox */
#TemplateInfoBox{float:right;max-width:280px;width:280px;margin-left:15px;}
#TemplateInfoBox div{text-align:center;font-size: larger;}
#TemplateInfoBox table{border: solid #aaaaaa 1px;background-color:#f9f9f9;max-width:280px;width:280px;text-align:center;}
#TemplateInfoBox span{color:#292929;font-style:italic;}
#TemplateInfoBoxImage img{height:auto;width:auto;max-width:220px;}
.TemplateInfoBoxLabel{padding: 0 0 0 3px;font-weight:bold;width:140px;max-width:140px;text-align:left;}
.TemplateInfoBoxDate{padding: 0 3px 0 0;width:140px;max-width:140px;text-align:left;}
/* article detaillé */
div.bandeau-section { margin: 0 0 .7em 2em; border-style: solid; border-width: 1px 0; text-align: left; font-size: 95%; overflow: hidden; padding: 2px 0 1px 4px; display: block;}
.bandeau-niveau-detail { border-color: #e7e7e7; background-color: #fdfdfd;}
.loupe {
background-repeat: no-repeat; line-height: 1.5em; text-indent: 23px; display: inline-block;
background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/15px-Searchtool.svg.png");
background-position: 2px 3px;
}
.incomplet {
background-repeat: no-repeat; line-height: 1.5em; text-indent: 23px; display: inline-block;
background-image: url("http://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Fairytale_waring.png/16px-Fairytale_waring.png");
background-position: 2px 3px;
}
/* BOÎTES DÉROULANTES */
/* Styles des boîtes déroulantes, voir [[Modèle:Boîte déroulante/Documentation]]. */
div.NavFrame {
margin: 0;
padding: 2px;
border: 1px #AAA;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
/* monobookocentré début */
div.NavFrame + div.NavFrame {
border-top-style: hidden
}
div.NavPic {
background: #FFF;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background: #EFEFEF;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
/* monobookocentré fin */
/* Styles de [[Modèle:Méta palette de navigation]] */
table.navbox {
background: #F9F9F9;
border: 1px solid #AAA;
clear: both;
font-size: 90%;
margin: 1em 0 0;
padding: 2px;
text-align: center;
width: 100%;
}
table.navbox th {
background: #CCF;
padding-left: 1em;
padding-right: 1em;
}
table.navbox td.group {
background: #DDF;
vertical-align: middle;
width: 150px;
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
}
table.navbox td.list {
text-align: left
}
table.navbox td.even {
background: #EEF
}
table.navbox td.banner {
background: #DDF;
vertical-align: middle;
padding-left: 1em;
padding-right: 1em;
}
/* Modèle de palettes groupées, [[Modèle:Palette]] */
div.navbox_group {
border: 1px solid #aaaaaa;
margin-top: 15px;
}
div.navbox_group table.navbox {
border: 0;
margin: 0em 0px 0px;
}
/* Liens de masquage/affichage : [[Modèle:Boîte déroulante]] et [[Modèle:Méta palette de navigation]] */
.navboxToggle,
.NavToggle {
font-size: 90%;
font-weight: normal;
float: right !important;
min-width: 6em;
}
/* Liens au dessus du logo */
#logoLinks{font-size: 0.75em;width:160px;text-align:center;}
#logoLinks a{width:auto;height:auto;display:inline;}
#logoLinks a:hover{text-decoration:underline;}
#logoLinkPC{color:#BE1818;}
#logoLinkCP{color:#1A4F90;}