« MediaWiki:Common.css » : différence entre les versions

De EduTech Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 15 : Ligne 15 :
/* round image*/
/* round image*/
.round img{border-radius:50%;filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));}
.round img{border-radius:50%;filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));}
/*  rounded corner image */
.rounded img{border-radius:10%;filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));}


/* Mediawiki generic color https://www.mediawiki.org/wiki/Design/Archive/Wikimedia_Foundation_Design/Color_usage*/
/* Mediawiki generic color https://www.mediawiki.org/wiki/Design/Archive/Wikimedia_Foundation_Design/Color_usage*/

Version du 13 août 2021 à 08:17

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