MediaWiki:Common.css
Aller à la navigation
Aller à la recherche
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 sera appliqué à toutes les apparences. */
/*
<pre>
*/
/* Badges */
div.appear {
width: 184px;
border: red 2px solid;
background:#F8F8F8;
position: absolute;
top: 10px;
left:-6px;
display:none;
padding: 0 20px 20px 20px;
z-index: 1000000;
}
div.badge {
cursor:pointer;
position: relative;
display: inline-block;
border: green 2px solid;
width: 130px;
}
div.badge:hover div.appear {
display:block;
}
/*front page */
@media screen {
#front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
#front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
}
@media print handheld {
#front_left {}
#front_right {}
}
/* Space out main section titles */
h2 {margin-top:2.5ex;}
h3 {margin-top:1ex;}
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
/* Removes useless links from printout */
@media print {
.portlet, #privacy, #about, #disclaimer {display:none;}
}
/* Banner Styles used in EduTech wiki
- use class names like Banner_xxxx
*/
.Banner_incomplete {
float:right;
clear:right;
width:200px;
border:1px solid orange;
background-color:#FFFACD;
padding:7px;
margin-bottom: 10px;
margin-left: 1em;
}
/* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
ul.pageby {
border:1px solid #60606F;
background-color:#E0E0EF;
font-size: 80%;
margin:1ex;
padding:1ex;
list-style-type:none;
}
.Banner_tutorial {
float:right;
clear:right;
width:200px;
border:1px solid blue;
background-color:#F8C9E4;
padding:7px;
margin-bottom: 10px;
margin-left: 1em;
}
.tut_goals{
background-color:#F8C9E4;
padding:7px;
margin-bottom: 10px;
border:1px solid #AAAAAA;
}
.Banner_copyright{
background-color:#d0f0c0;
padding:7px;
margin-bottom: 10px;
border:1px solid #AAAAAA;
}
.tagcloud {
width: 95%;
text-align: center;
background-color: #FDFDFD;
border: 1px solid #EEEEEE;
padding: 15px 10px 15px 10px;
}
.tagcloud a {
color: #0052CB;
margin-left: 10px;
margin-right: 10px;
font-weight: bold;
}
code {
border: 1px solid #ddd;
padding: 1px 4px;
border-radius: 2px;
}
/* category tree - first is just for portlet - second for all trees */
/*
#p-categorytree-portlet {font-size: 80% }
*/
.CategoryTreeTag {font-size: 90%; }
/* Syntaxhighlight geshi */
div.mw-geshi {
border: 1px dotted grey;
padding: 2px;
margin-left:1em;
font-size: 120%;
margin-top:2px;
margin-right:2px;
margin-bottom:2px
}
.sidebar_banner {
margin-top: 5px;
margin-bottom: 5px;
}
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 .editsection { font-weight: normal; }
h6 .editsection { font-size: 125%; font-weight: normal; }
/* Contribution Scores */
.contributionscores-wrapper { font-size: 80%; }
.contributionscores-title { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
.contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
.contributionscores .odd { background-color: #eeeeee; }
.contributionscores .header td { padding-left: .2em; padding-right: .2em; }
.contributionscores .content { padding-left: .2em; padding-right: .2em; }
.GoBlock{
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:rgb(200, 230, 140);
background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
text-indent:0;
border:1px solid rgb(155,185,95);
display:inline-block;
color:#333333;
font-family:arial;
font-size:13px;
font-style:normal;
text-decoration:none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding:0px 8px;
text-align:center;
line-height:2.5em;
}
.StopBlock{
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:rgb(200, 230, 140);
background-image: linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
background-image: -webkit-linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
text-indent:0;
border:1px solid rgb(155,185,95);
display:inline-block;
color:#333333;
font-family:arial;
font-size:13px;
font-style:normal;
text-decoration:none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding:0px 8px;
text-align:center;
line-height:2.5em;
}
.tableBlue{
margin:auto;
background: #f9f9f9;
border-collapse: collapse;
width:98%;
text-align:center;
}
.tableBlue td{
border: 1px #aaaaaa solid;
padding:8px !important;
}
.tableBlue th{
background: rgb(200,220,240);
text-align: center;
font-weight:bold;
color:rgb(120,140,180);
padding: 8px 15px 8px 15px;
border: 1px #aaaaaa solid;
}
.tableBlue tr.row-odd{background:white;}
.tableBlue tr.row-even{background:rgb(235,245,255);}
/*
</pre>
*/