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