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