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