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