« 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 85 : Ligne 85 :
.modele-button.medium a{
.modele-button.medium a{
font-size:0.92em;
font-size:0.92em;
padding:0.15em 1em;
padding-top:0.15em;
padding-bottom:0.15em;
}
}
.modele-button.large a,.modele-button.full a{
.modele-button.large a,.modele-button.full a{
font-size:1em;
font-size:1em;
padding:0.45em 1em;
padding-top:0.45em;
padding-bottom:0.45em;
}
}



Version du 5 mai 2021 à 12:19

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