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