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