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