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 /* Mediawiki generic color */
  8 
  9 .background-blue{background:#3366BB}
 10 .text-blue{color:#3366BB}
 11 
 12 
 13 .background-green{background:#008640}
 14 .text-green{color:#008640}
 15 
 16 
 17 .background-red{background:#CB0000}
 18 .text-red{color:#CB0000}
 19 
 20 
 21 /* Simple tableform style */
 22 
 23 table.formtable th {background:rgba(0,0,0,0.1);padding:0.5em;}
 24 table.formtable td {padding:0.5em;}
 25 
 26 
 27 /*Fix a bug with leaflet map... (otherwise map appears over every elements even info windows, popups, input dropdowns etc.) */
 28 
 29 .pfLeafletInput{
 30 position:relative;
 31 z-index: 0;
 32 }
 33 
 34 /*css for template {{toggle}}*/
 35 
 36 .toggle-template .mw-collapsible::before, .toggle-template .mw-collapsed::before{
 37 content:"▲";
 38 text-align: right;
 39 margin-top: -2em;
 40 display: block;
 41 width: auto;
 42 padding: 0 1em;
 43 white-space: pre;
 44 background: #88D78A;
 45 line-height: 2em;
 46 border-radius: 0em 0.2em 0 0;
 47 z-index: 2;
 48 position: relative;
 49 float:right;
 50 }
 51 
 52 /*css for template {{felxGrid}}*/
 53 
 54 .flexGrid p{margin:0;}
 55 .flexGrid img{
 56 width: 100%;
 57 height: auto;
 58 max-width: 500px;
 59 }
 60 
 61 
 62 /*css for template {{printonly}}*/
 63 
 64 .hidden{
 65 display:none;
 66 }
 67 
 68 
 69 
 70 /*css for template {{button}}*/
 71 
 72 .modele-button{
 73 color: #fff;
 74 border-radius:0.2em;
 75 border:1px solid;
 76 cursor:pointer;
 77 display:inline-block;
 78 font-weight:600;
 79 margin:2px auto;
 80 padding:0 0.5em;
 81 box-sizing:border-box;
 82 white-space: nowrap;
 83 vertical-align: middle;
 84 }
 85 
 86 .modele-button:hover{
 87 box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.2);
 88 }
 89 
 90 .modele-button:active{
 91 border:1px solid rgba(0,0,0,0.4);
 92 }
 93 
 94 
 95 .modele-button a{
 96 text-decoration:none !important;
 97 display:inline-block;
 98 color:inherit !important;
 99 }
100 
101 
102 .modele-button.small a{
103 font-size:0.85em;
104 }
105 .modele-button.medium a{
106 font-size:0.92em;
107 padding-top:0.15em;
108 padding-bottom:0.15em;
109 }
110 .modele-button.large a,.modele-button.full a{
111 font-size:1em;
112 padding-top:0.45em;
113 padding-bottom:0.45em;
114 }
115 .modele-button.full a{
116 width: calc(100% + 1em);
117 }
118 
119 
120 /* Badges */
121 
122 div.appear {
123     width: 184px; 
124     border: red 2px solid;
125     background:#F8F8F8;
126     position: absolute;
127     top: 10px;
128     left:-6px;
129     display:none;go
130     padding: 0 3px 3px 3px;
131     z-index: 1000000;
132 }
133 
134 div.appear_left {
135     width: 184px; 
136     border: red 2px solid;
137     background:#F8F8F8;
138     position: absolute;
139     top: 10px;
140     left:-50%;
141     display:none;
142     padding: 0 3px 3px 3px;
143     z-index: 1000000;
144 }
145 
146 div.badge {
147     cursor:pointer;
148     position: relative;
149     display: inline-block;
150     border: green 1px solid;
151     width: 130px;
152     margin-bottom: 3px;
153     text-align: center;
154 }
155 
156 div.badge:hover div.appear, div.badge:hover div.appear_left{
157     display:block;
158 }
159 
160 /*front page */
161 
162 [class*="front-"] {width: 100%}
163 
164 @media only screen and (min-width: 768px){
165 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
166 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
167 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
168 }
169  
170 @media print{
171 #front_left {}
172 #front_right {}
173 }
174 
175 /* Cours bases */
176 .PageFormsRadioButton {display:block;}
177 
178 /* collection extension */
179 
180 .onlyinprint {display: none}
181 
182 /* Space out main section titles */
183 h1 {font-weight:bold;}
184 h2 {margin-top:3ex;font-weight:bold;}
185 h3 {margin-top:1ex;}
186 
187 table.wikitable,
188 table.prettytable,
189 table.datatable {
190   margin: 1em 1em 1em 0;
191   background: #f9f9f9;
192   border: 1px #aaaaaa solid;
193   border-collapse: collapse;
194 }
195  
196 table.datatable {
197 		font-size:70%
198 		}
199 
200 table.wikitable th, table.wikitable td,
201 table.prettytable th, table.prettytable td {
202   border: 1px #aaaaaa solid;
203   padding: 0.2em;
204 }
205 
206 table.datatable th, table.datatable td {
207   border: 1px #aaaaaa solid;
208   font-size:70%	
209   padding: 0em;
210 }
211  
212 table.wikitable th,
213 table.datatable th,
214 table.prettytable th {
215   background: #f2f2f2;
216   text-align: center;
217 }
218  
219 table.wikitable caption,
220 table.datatable caption,
221 table.prettytable caption {
222   margin-left: inherit;
223   margin-right: inherit;
224 }
225 
226 /* Removes useless links from printout */
227 @media print {
228     .portlet, #privacy, #about, #disclaimer {display:none;}
229 }
230 
231 
232 /* Banner Styles used in EduTech wiki 
233  - use class names like Banner_xxxx
234  */
235 
236 .Banner_incomplete {
237   float:right;
238   clear:right;
239   width:200px;
240   border:1px solid orange;
241   background-color:#FFFACD;
242   padding:7px; 
243   margin-bottom: 10px;
244   margin-left: 1em;
245 }
246 
247 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
248 ul.pageby {
249     border:1px solid #60606F;
250     background-color:#E0E0EF;
251     font-size: 80%;
252     margin:1ex;
253     padding:1ex;
254     list-style-type:none;
255   }
256 
257 .Banner_tutorial {
258   float:right;
259   clear:right;
260   width:200px;
261   border:1px solid blue;
262   background-color:#F8C9E4;
263   padding:7px; 
264   margin-bottom: 10px;
265   margin-left: 1em;
266 }
267 
268 .tut_goals{
269   background-color:#F8C9E4;
270   padding:7px; 
271   margin-bottom: 10px;
272   border:1px solid #AAAAAA;
273 }
274 
275 .Banner_copyright{
276   background-color:#d0f0c0;
277   padding:7px; 
278   margin-bottom: 10px;
279   border:1px solid #AAAAAA;
280 }
281 
282 .tagcloud {
283 	width: 95%;
284 	text-align: center;
285 	background-color: #FDFDFD;
286 	border: 1px solid #EEEEEE;
287 	padding: 15px 10px 15px 10px;
288  }
289 .tagcloud a {
290 	color: #0052CB;
291 	margin-left: 10px;
292 	margin-right: 10px;
293 	font-weight: bold;
294  }
295 
296 code {
297   border: 1px solid #ddd;
298   padding: 1px 4px;
299   border-radius: 2px;
300 }
301 
302 /* category tree - first is just for portlet - second for all trees */
303 /* 
304 #p-categorytree-portlet {font-size: 80% } 
305 */
306 .CategoryTreeTag {font-size: 90%; }
307 
308 
309 /* Syntaxhighlight geshi */
310 div.mw-geshi {
311   border: 1px dotted grey;
312   padding: 2px; 
313   margin-left:1em;
314   font-size: 120%;
315   margin-top:2px;
316   margin-right:2px;
317   margin-bottom:2px
318  }
319 
320 
321 .sidebar_banner {
322  margin-top: 5px;
323  margin-bottom: 5px;
324 }
325 
326 h3 .editsection { font-size: 76%; font-weight: normal; }
327 h4 .editsection { font-size: 86%; font-weight: normal; }
328 h5 .editsection { font-weight: normal; }
329 h6 .editsection { font-size: 125%; font-weight: normal; }
330 
331 /* Contribution Scores */
332 .contributionscores-wrapper {  font-size: 80%; }
333 .contributionscores-title   { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
334 .contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
335 .contributionscores .odd     { background-color: #eeeeee; }
336 .contributionscores .header td   { padding-left: .2em; padding-right: .2em; }
337 .contributionscores .content   { padding-left: .2em; padding-right: .2em; }
338 
339 .GoBlock{
340 background: rgb(207,234,153);
341 border-radius: 3px;
342 display:inline-block;
343 color:#333333;
344 font-family:arial;
345 font-size:0.9em;
346 box-sizing: border-box;
347 padding:0 13px;
348 text-align:center;
349 border: 1px solid rgba(0,0,0,0.05);
350 line-height:1.5em;
351 }
352 
353 .StopBlock{
354 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
355 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
356 box-shadow:inset 0px 1px 0px 0px #ffffff;
357 background:rgb(200, 230, 140);
358 background-image: linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
359 background-image: -webkit-linear-gradient(rgb(248, 228, 158), rgb(220, 200, 130));
360 -webkit-border-radius: 6px;
361 -moz-border-radius: 6px;
362 border-radius: 6px;
363 text-indent:0;
364 border:1px solid rgb(155,185,95);
365 display:inline-block;
366 color:#333333;
367 font-family:arial;
368 font-size:13px;
369 font-style:normal;
370 text-decoration:none;
371 -webkit-box-sizing: border-box;
372 -moz-box-sizing: border-box;
373 box-sizing: border-box;
374 padding:0px 8px;
375 text-align:center;
376 line-height:2.5em;
377 }
378 
379 .tableBlue{
380 margin:auto;
381 background: #f9f9f9;
382 border-collapse: collapse;
383 width:98%;
384 text-align:center;
385 }
386 
387 .tableBlue td{
388 border: 1px #aaaaaa solid;
389 padding:8px !important;
390 }
391 
392 .tableBlue th{
393 background: rgb(200,220,240);
394 text-align: center;
395 font-weight:bold;
396 color:rgb(120,140,180);
397 padding: 8px 15px 8px 15px;
398 border: 1px #aaaaaa solid;
399 }
400 
401 .tableBlue tr.row-odd{background:white;}
402 .tableBlue tr.row-even{background:rgb(235,245,255);}
403 
404 /* Leyla formulaires STIC III/IV */
405 
406 .annee.radioButtonItem {
407   width: 10%;
408   display: block;
409   float:left;
410 }
411 
412 .technologie.checkboxLabel {
413   width: 25%;
414   display: block;
415   float:left;
416 }
417 
418 .type.checkboxLabel {
419   width: 25%;
420   display: block;
421   float:left;
422 }
423 
424 .domaine_enseignement.checkboxLabel {
425   width: 25%;
426   display: block;
427   float:left;
428 }
429 
430 .niveau_enseignement.checkboxLabel {
431   width: 33.3%;
432   display: block;
433   float:left;
434 }
435 
436 .public_cible.checkboxLabel {
437   width: 20%;
438   display: block;
439   float:left;
440 }
441 .public_age.checkboxLabel {
442   width: 20%;
443   display: block;
444   float:left;
445 }
446 
447 /* for smartphone display*/
448 pre{
449 word-break: break-word;
450 }
451 
452 /*
453 </pre>
454 */