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