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