MediaWiki:Common.css

De EduTech Wiki
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.
  1 /** Le CSS placé ici sera appliqué à toutes les apparences. */
  2 
  3 /*
  4 <pre>
  5 */
  6 
  7 /* Badges */
  8 
  9 div.appear {
 10     width: 184px; 
 11     border: red 2px solid;
 12     background:#F8F8F8;
 13     position: absolute;
 14     top: 10px;
 15     left:-6px;
 16     display:none;
 17     padding: 0 3px 3px 3px;
 18     z-index: 1000000;
 19 }
 20 
 21 div.appear_left {
 22     width: 184px; 
 23     border: red 2px solid;
 24     background:#F8F8F8;
 25     position: absolute;
 26     top: 10px;
 27     left:-50%;
 28     display:none;
 29     padding: 0 3px 3px 3px;
 30     z-index: 1000000;
 31 }
 32 
 33 div.badge {
 34     cursor:pointer;
 35     position: relative;
 36     display: inline-block;
 37     border: green 1px solid;
 38     width: 130px;
 39     margin-bottom: 3px;
 40     text-align: center;
 41 }
 42 div.badge:hover div.appear {
 43     display:block;
 44 }
 45 
 46 /*front page */
 47 @media screen {
 48 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
 49 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
 50 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
 51 }
 52  
 53 @media print handheld {
 54 #front_left {}
 55 #front_right {}
 56 }
 57 
 58 /* Space out main section titles */
 59 h2 {margin-top:2.5ex;}
 60 h3 {margin-top:1ex;}
 61 
 62 table.wikitable,
 63 table.prettytable {
 64   margin: 1em 1em 1em 0;
 65   background: #f9f9f9;
 66   border: 1px #aaaaaa solid;
 67   border-collapse: collapse;
 68 }
 69  
 70 table.wikitable th, table.wikitable td,
 71 table.prettytable th, table.prettytable td {
 72   border: 1px #aaaaaa solid;
 73   padding: 0.2em;
 74 }
 75  
 76 table.wikitable th,
 77 table.prettytable th {
 78   background: #f2f2f2;
 79   text-align: center;
 80 }
 81  
 82 table.wikitable caption,
 83 table.prettytable caption {
 84   margin-left: inherit;
 85   margin-right: inherit;
 86 }
 87 
 88 /* Removes useless links from printout */
 89 @media print {
 90     .portlet, #privacy, #about, #disclaimer {display:none;}
 91 }
 92 
 93 
 94 /* Banner Styles used in EduTech wiki 
 95  - use class names like Banner_xxxx
 96  */
 97 
 98 .Banner_incomplete {
 99   float:right;
100   clear:right;
101   width:200px;
102   border:1px solid orange;
103   background-color:#FFFACD;
104   padding:7px; 
105   margin-bottom: 10px;
106   margin-left: 1em;
107 }
108 
109 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
110 ul.pageby {
111     border:1px solid #60606F;
112     background-color:#E0E0EF;
113     font-size: 80%;
114     margin:1ex;
115     padding:1ex;
116     list-style-type:none;
117   }
118 
119 .Banner_tutorial {
120   float:right;
121   clear:right;
122   width:200px;
123   border:1px solid blue;
124   background-color:#F8C9E4;
125   padding:7px; 
126   margin-bottom: 10px;
127   margin-left: 1em;
128 }
129 
130 .tut_goals{
131   background-color:#F8C9E4;
132   padding:7px; 
133   margin-bottom: 10px;
134   border:1px solid #AAAAAA;
135 }
136 
137 .Banner_copyright{
138   background-color:#d0f0c0;
139   padding:7px; 
140   margin-bottom: 10px;
141   border:1px solid #AAAAAA;
142 }
143 
144 .tagcloud {
145 	width: 95%;
146 	text-align: center;
147 	background-color: #FDFDFD;
148 	border: 1px solid #EEEEEE;
149 	padding: 15px 10px 15px 10px;
150  }
151 .tagcloud a {
152 	color: #0052CB;
153 	margin-left: 10px;
154 	margin-right: 10px;
155 	font-weight: bold;
156  }
157 
158 code {
159   border: 1px solid #ddd;
160   padding: 1px 4px;
161   border-radius: 2px;
162 }
163 
164 /* category tree - first is just for portlet - second for all trees */
165 /* 
166 #p-categorytree-portlet {font-size: 80% } 
167 */
168 .CategoryTreeTag {font-size: 90%; }
169 
170 
171 /* Syntaxhighlight geshi */
172 div.mw-geshi {
173   border: 1px dotted grey;
174   padding: 2px; 
175   margin-left:1em;
176   font-size: 120%;
177   margin-top:2px;
178   margin-right:2px;
179   margin-bottom:2px
180  }
181 
182 
183 .sidebar_banner {
184  margin-top: 5px;
185  margin-bottom: 5px;
186 }
187 
188 h3 .editsection { font-size: 76%; font-weight: normal; }
189 h4 .editsection { font-size: 86%; font-weight: normal; }
190 h5 .editsection { font-weight: normal; }
191 h6 .editsection { font-size: 125%; font-weight: normal; }
192 
193 /* Contribution Scores */
194 .contributionscores-wrapper {  font-size: 80%; }
195 .contributionscores-title   { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
196 .contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
197 .contributionscores .odd     { background-color: #eeeeee; }
198 .contributionscores .header td   { padding-left: .2em; padding-right: .2em; }
199 .contributionscores .content   { padding-left: .2em; padding-right: .2em; }
200 
201 .GoBlock{
202 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
203 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
204 box-shadow:inset 0px 1px 0px 0px #ffffff;
205 background:rgb(200, 230, 140);
206 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
207 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
208 -webkit-border-radius: 6px;
209 -moz-border-radius: 6px;
210 border-radius: 6px;
211 text-indent:0;
212 border:1px solid rgb(155,185,95);
213 display:inline-block;
214 color:#333333;
215 font-family:arial;
216 font-size:13px;
217 font-style:normal;
218 text-decoration:none;
219 -webkit-box-sizing: border-box;
220 -moz-box-sizing: border-box;
221 box-sizing: border-box;
222 padding:0px 8px;
223 text-align:center;
224 line-height:2.5em;
225 }
226 
227 .StopBlock{
228 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
229 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
230 box-shadow:inset 0px 1px 0px 0px #ffffff;
231 background:rgb(200, 230, 140);
232 background-image: linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
233 background-image: -webkit-linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
234 -webkit-border-radius: 6px;
235 -moz-border-radius: 6px;
236 border-radius: 6px;
237 text-indent:0;
238 border:1px solid rgb(155,185,95);
239 display:inline-block;
240 color:#333333;
241 font-family:arial;
242 font-size:13px;
243 font-style:normal;
244 text-decoration:none;
245 -webkit-box-sizing: border-box;
246 -moz-box-sizing: border-box;
247 box-sizing: border-box;
248 padding:0px 8px;
249 text-align:center;
250 line-height:2.5em;
251 }
252 
253 .tableBlue{
254 margin:auto;
255 background: #f9f9f9;
256 border-collapse: collapse;
257 width:98%;
258 text-align:center;
259 }
260 
261 .tableBlue td{
262 border: 1px #aaaaaa solid;
263 padding:8px !important;
264 }
265 
266 .tableBlue th{
267 background: rgb(200,220,240);
268 text-align: center;
269 font-weight:bold;
270 color:rgb(120,140,180);
271 padding: 8px 15px 8px 15px;
272 border: 1px #aaaaaa solid;
273 }
274 
275 .tableBlue tr.row-odd{background:white;}
276 .tableBlue tr.row-even{background:rgb(235,245,255);}
277 
278 
279 /*
280 </pre>
281 */