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