« 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 5 : Ligne 5 :
*/
*/


/*Fix a bug with leaflet map... (otherwise map appears over every element even info windows, popups, input dropdowns etc.) */
/*Fix a bug with leaflet map... (otherwise map appears over every elements even info windows, popups, input dropdowns etc.) */


.leaflet-pane {
.leaflet-pane {

Version du 5 mai 2021 à 10:38

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