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