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