« 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 279 : Ligne 279 :
.GoBlock{
.GoBlock{
background-color: #14866D;
background-color: #14866D;
border-radius:2px;
box-shadow:0.5px 0.5px 1px rgba(0,0,0,0.15);
color: white;
color: white;
display: inline-block;
display: inline-block;
font-size:0.95em;
font-size:0.95em;
font-weight:700;
padding: 0 0.5em;
padding: 0 0.5em;
text-decoration:none;
text-decoration:none;
Ligne 288 : Ligne 291 :




.GoBlock a{
.GoBlock *, .GoBlock:active *{
color: white;
color: white;
font-size:inherit;
font-size:inherit;
Ligne 295 : Ligne 298 :


.GoBlock:hover{
.GoBlock:hover{
background-color: #14866D;
background-color:#00AF89;
text-decoration: underline;
text-decoration: underline;
}
}

Version du 5 avril 2021 à 15:58

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