MediaWiki:Common.css

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