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