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