MediaWiki:Common.css: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 381: Line 381:
width:100%;
width:100%;
margin-top:10px;
margin-top:10px;
}
.special{
line-height:216px!;
}
}



Revision as of 17:26, 4 September 2013

  1 /** CSS placed here will be applied to all skins */
  2 
  3 /*
  4 <pre>
  5  */
  6 
  7 .hiddenStructure {display: none}
  8 .hidden {display:none}
  9 .if {display: none}
 10 
 11 /*front page */
 12 /* CCFFFF = bright light blue */
 13 @media screen {
 14 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EBFFFF;}
 15 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
 16 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
 17 }
 18 
 19 @media print handheld {
 20 #front_left {}
 21 #front_right {}
 22 }http://edutechwiki.unige.ch/en/Zooniverse
 23 
 24 /* Space out main section titles */
 25 h2 {margin-top:3.5ex;}
 26 h3 {margin-top:2ex;}
 27 
 28 #GooglesearchBody input{ font-size: 80%; }
 29 
 30 /* wikitable/prettytable class for skinning normal tables */
 31 
 32 table.wikitable,
 33 table.prettytable {
 34   margin: 1em 1em 1em 0;
 35   background: #f9f9f9;
 36   border: 1px #aaaaaa solid;
 37   border-collapse: collapse;
 38 }
 39 
 40 table.wikitable th, table.wikitable td,
 41 table.prettytable th, table.prettytable td {
 42   border: 1px #aaaaaa solid;
 43   padding: 0.2em;
 44 }
 45 
 46 table.wikitable th,
 47 table.prettytable th {
 48   background: #f2f2f2;
 49   text-align: center;
 50 }
 51 
 52 table.wikitable caption,
 53 table.prettytable caption {
 54   margin-left: inherit;
 55   margin-right: inherit;
 56 }
 57 
 58 .allpagesredirect {
 59   font-style: italic;
 60 }
 61 
 62 /* Overrides for semantic forms tables - SemanticForms/skins/SemanticForms.css */
 63 
 64 table.formtable {
 65  width: 100%;
 66  margin: 5px 0 0;
 67  padding: 0.3em 0.2em 0.2em 0.2em;
 68  background: transparent;
 69  border: 1px dotted grey;
 70  border-radius: 2px;
 71  background: #f9f9f9;
 72 }
 73 
 74 table.formtable caption {
 75  color:blue;
 76  text-align:left;
 77  font-size:12pt;
 78 }
 79 
 80 /* Infobox template style */
 81 
 82  .infobox {
 83    border: 1px solid #aaaaaa;
 84    width:270px;
 85    background-color: #f9f9f9;
 86    color: black;
 87    margin-bottom: 0.5em;
 88    margin-left: 1em;
 89    padding: 0.2em;
 90    float: right;
 91 }
 92 .infobox td,
 93 .infobox th {
 94    border: 2px none #aaaaaa;
 95    padding: 0.2em 0.5em;
 96    border-bottom: 1px solid #f0f0f0 !important;
 97 }
 98 .infobox caption {
 99    font-size: larger;
100    margin-left: inherit;
101 }
102 .infobox.bordered {
103    border-collapse: collapse;
104 }
105 .infobox.bordered td,
106 .infobox.bordered th {
107    border: 1px solid #aaaaaa;
108 }
109 .infobox.bordered .borderless td,
110 .infobox.bordered .borderless th {
111    border: 0;
112 }
113 
114 .infobox.sisterproject {
115    width: 20em;
116    font-size: 90%;
117 }
118 
119 /* styles for bordered infobox with merged rows */
120 .infobox.bordered .mergedtoprow td,
121 .infobox.bordered .mergedtoprow th {
122    border: 0;
123    border-top: 1px solid #aaaaaa;
124    border-right: 1px solid #aaaaaa;
125 }
126 
127 .infobox.bordered .mergedrow td,
128 .infobox.bordered .mergedrow th {
129    border: 0;
130    border-right: 1px solid #aaaaaa;
131 }
132 
133 
134 /* Removes useless links from printout */
135 @media print {
136     .portlet, #privacy, #about, #disclaimer {display:none;}
137 }
138 
139 /* Banner Styles used in EduTech wiki 
140  - use class names like Banner_xxxx
141  */
142 
143 .Banner_incomplete {
144   float:right;
145   clear:right;
146   width:200px;
147   border:1px solid orange;
148   background-color:#FFFACD;
149   padding:7px; 
150   margin-bottom: 10px;
151   margin-left: 1em;
152 }
153 
154 .Banner_tutorial {
155   float:right;
156   clear:right;
157   width:200px;
158   border:1px solid blue;
159   background-color:#F8C9E4;
160   padding:7px; 
161   margin-bottom: 10px;
162   margin-left: 1em;
163 }
164 
165 .tut_goals{
166   background-color:#F8C9E4;
167   padding:7px; 
168   margin-bottom: 10px;
169   border:1px solid #AAAAAA;
170 }
171 
172 .Banner_copyright{
173   background-color:#d0f0c0;
174   padding:7px; 
175   margin-bottom: 10px;
176   border:1px solid #AAAAAA;
177 }
178 
179 /* Style for the source code tag */
180 
181 .actionscript{
182   background-color:#FFFFEE;
183   padding:7px; 
184   margin-bottom: 10px;
185   border:1px #AAAAAA solid;
186 }
187 
188 /* Tag cloud extension CSS */
189 
190 .tagcloud {
191 	width: 95%;
192 	text-align: center;
193 	background-color: #FDFDFD;
194 	border: 1px solid #EEEEEE;
195 	padding: 15px 10px 15px 10px;
196  }
197  .tagcloud a {
198 	color: #0052CB;
199 	margin-left: 10px;
200 	margin-right: 10px;
201 	font-weight: bold;
202  }
203 
204 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
205 ul.pageby {
206     border:1px solid #60606F;
207     background-color:#E0E0EF;
208     font-size: 80%;
209     margin:1ex;
210     padding:1ex;
211     list-style-type:none;
212   }
213 
214 /* category tree - first is just for portlet - second for all trees */
215 #p-categorytree-portlet {font-size: 85% } 
216 .CategoryTreeTag {font-size: 85%; }
217 
218 /* Syntaxhighlight geshi */
219 div.mw-geshi {
220   border: 1px dotted grey;
221   padding: 2px; 
222   margin-left:1em;
223   margin-top:2px;
224   margin-right:2px;
225   margin-bottom:2px;
226   font-size: 120%
227 }
228 
229 code {
230   border: 1px solid #ddd;
231   padding: 1px 4px;
232   border-radius: 2px;
233 }
234 
235 /*
236 </pre>
237  */
238 
239 /* ------------------------- class for fluid two columns layout -------------------------*/
240 
241 .leftFifty {
242   width:50%;
243   float:left;
244 
245 }
246 .rightFifty {
247   width:50%;
248   float:right;
249 }
250 
251 .leftSixty {
252   width:60%;
253   float:left;
254 }
255 .rightForty {
256   width:40%;
257   float:right
258 }
259 
260 .CS_right{
261 width:320px;
262 float:right;
263 text-align:center;}
264 
265 .CS_left{display:block;}
266 
267 .CS_rightImg{
268 box-shadow:1px 1px 2px;
269 display:inline-block;
270 margin:0px auto 8px auto;
271 width:300px;
272 background:#ECECEC;
273 }
274 
275 .CS_semanticTableL{
276 margin: 0px auto 8px auto;
277 background: #f9f9f9;
278 border-collapse: collapse;
279 width:280px;
280 }
281 .CS_semanticTableL td,
282 .CS_semanticTableL th,
283 .CS_semanticTableR td,
284 .CS_semanticTableR th{
285   border: 1px #aaaaaa solid;
286   padding: 4px 8px 4px 8px;
287 }
288 
289 .CS_semanticTableL th,
290 .CS_semanticTableR th{
291 background: #f2f2f2;
292 text-align: center;
293 font-weight:bold;
294 color:#A0BE64;
295 padding: 8px 15px 8px 15px;
296 }
297 
298 .CS_semanticTableR{
299 margin: 0px auto 8px auto;
300 background: #f9f9f9;
301 border-collapse: collapse;
302 width:280px;
303 }
304 
305 .evaluationGreyBlock{
306 display:inline-block;
307 height:23px;
308 line-height:23px;
309 vertical-align:middle;
310 text-align:center;
311 background:#F2F2F2;
312 width:24%;
313 border:1px solid rgb(225,225,225);
314 box-shadow:0px 1px 1px rgba(255, 255, 255, 0.8) inset, 1px 0px 5px rgba(0, 0, 0, 0.1);
315 margin:1px;
316 }
317 .evaluationGreenBlock{
318 display:inline-block;
319 height:23px;
320 line-height:23px;
321 vertical-align:middle;
322 text-align:center;
323 background:rgb(110,200,100);
324 width:24%;
325 border:1px solid rgb(225,225,225);
326 box-shadow:0px 1px 1px rgba(255, 255, 255, 0.8) inset, 1px 0px 5px rgba(0, 0, 0, 0.1);
327 margin:1px;
328 color:white;
329 font-weight:bold;
330 }
331 .evaluationRedBlock{
332 display:inline-block;
333 height:23px;
334 line-height:23px;
335 vertical-align:middle;
336 text-align:center;
337 background:rgb(200, 50, 50);
338 width:24%;
339 border:1px solid rgb(225,225,225);
340 box-shadow:0px 1px 1px rgba(255, 255, 255, 0.8) inset, 1px 0px 5px rgba(0, 0, 0, 0.1);
341 margin:1px;
342 color:white;
343 font-weight:bold;
344 }
345 .evaluationOrangeBlock{
346 display:inline-block;
347 height:23px;
348 line-height:23px;
349 vertical-align:middle;
350 text-align:center;
351 background:rgb(220, 130, 0);
352 width:24%;
353 border:1px solid rgb(225,225,225);
354 box-shadow:0px 1px 1px rgba(255, 255, 255, 0.8) inset, 1px 0px 5px rgba(0, 0, 0, 0.1);
355 margin:1px;
356 color:white;
357 font-weight:bold;
358 }
359 
360 @media screen and (max-width: 1280px) {
361   .leftFifty {
362     width:100%;
363   }
364   .rightFifty {
365     left: 0;
366     width:100%;
367     position:relative;
368   }
369   .leftSixty {
370     width:100%;
371   }
372   .rightForty {
373     left: 0;
374     width:100%;
375     position:relative;
376   }
377 
378 .CS_left{
379 position:relative;
380 float:none;
381 width:100%;
382 margin-top:10px;
383 }
384 
385 .special{
386 line-height:216px!;
387 }
388 
389 .greenBlock{
390 margin:0px 0px 10px 1%;
391 }
392 .blueBlock{
393 margin:0px 0px 10px 1%;
394 }
395 .redBlock{
396 margin:0px 0px 10px 1%;
397 }
398 .greyBlock{
399 margin:0px 0px 10px 1%;
400 }
401 .whiteBlock{
402 margin:0px 0px 10px 1%;
403 }
404 
405 .CS_rightImg{
406 box-shadow:1px 1px 2px;
407 display:inline-block;
408 margin:8px auto;
409 width:auto;
410 height:230px;}
411 
412 .CS_rightImg img{width:auto;height:230px;}
413 
414 #map_google3_1{width:340px !important;height:200px !important;}
415 
416 .CS_right{
417 position:relative;
418 float:none;
419 width:100%;
420 }
421 
422 }
423 
424 /* ------------------------- class for citizen science project template-------------------------*/
425 
426 .decorativeBlueCell{
427 width:20px; 
428 border: 1px solid rgb(200,215,230); 
429 text-align:center; 
430 color:black; 
431 font-weight:bold;
432 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
433 padding:8px;
434 background:rgb(190, 209, 225);
435 background-image: linear-gradient(to right, rgb(190, 209, 225) 0%, rgb(219, 232, 248) 100%);
436 background-image:-webkit-linear-gradient(right, rgb(190, 209, 225) 0%, rgb(219, 232, 248) 100%);
437 }
438 
439 .decorativeRedCell{
440 width:20px; 
441 border: 1px solid rgb(205,105,105); 
442 text-align:center; 
443 color:black; 
444 font-weight:bold;
445 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
446 padding:8px;
447 background:rgb(220,120,120);
448 background-image: linear-gradient(to right, rgb(210,110,110) 0%,rgb(240,140,140) 100%);
449 background-image:-webkit-linear-gradient(right, rgb(210,110,110) 0%,rgb(240,140,140) 100%);
450 }
451 
452 .decorativeGreenCell{
453 width:20px; 
454 border: 1px solid rgb(150,180,90); 
455 text-align:center; 
456 color:black; 
457 font-weight:bold;
458 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
459 padding:8px;
460 background:rgb(160,190,100);
461 background-image: linear-gradient(to right, rgb(160,190,100) 0%,rgb(200,230,140) 100%);
462 background-image:-webkit-linear-gradient(right, rgb(160,190,100) 0%,rgb(200,230,140) 100%);
463 }
464 .decorativeGreyCell{
465 width:20px; 
466 border: 1px solid rgb(200,200,200); 
467 text-align:center; 
468 color:black; 
469 font-weight:bold;
470 box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset,1px 0px 3px rgba(0,0,0,0.1);
471 padding:8px;
472 background:rgb(242, 242, 242);
473 background-image: linear-gradient(to right, #d7d7d7 0%,#e6e6e6 100%);
474 background-image:-webkit-linear-gradient(right, #d7d7d7 0%,#e6e6e6 100%);
475 }
476 
477 table.CS_wikitable{
478 border-collapse: collapse;
479 width:98%;
480 text-align:justify;
481 margin:0px 15px 15px 0px;
482 }
483 
484 table.CS_wikitable td{
485 padding:7px;
486 border: 1px solid rgb(200,200,200);
487 }
488 
489 .CStable_h1{
490 font-weight:bold;
491 height:25px;
492 font-size:133%;
493 }
494 
495 .CStable_h2grey{
496 text-transform:uppercase;
497 color:#777777;
498 font-weight:bold;
499 font-size:113%;
500 }
501 .CStable_h2blue{
502 text-transform:uppercase;
503 color:#85A4D3;
504 font-weight:bold;
505 font-size:113%;
506 }
507 
508 
509 .blueBlock{
510 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
511 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
512 box-shadow:inset 0px 1px 0px 0px #ffffff;
513 background:rgb(190, 209, 225);
514 background-image: linear-gradient(rgb(219, 232, 248), rgb(190, 209, 225));
515 background-image: -webkit-linear-gradient(rgb(219, 232, 248), rgb(190, 209, 225)));
516 -webkit-border-radius: 6px;
517 -moz-border-radius: 6px;
518 border-radius: 6px;
519 text-indent:0;
520 border:1px solid rgb(175, 194, 209);
521 display:inline-block;
522 color:#333333;
523 font-family:arial;
524 font-size:13px;
525 font-style:normal;
526 text-decoration:none;
527 margin:0px 0px 10px 1.8%;
528 padding:0px 8px;
529 line-height:90px;
530 width:44%;
531 }
532 
533 .blueBlock b{
534 color:rgb(60, 84, 139);
535 } 
536 
537 .redBlock{
538 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
539 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
540 box-shadow:inset 0px 1px 0px 0px #ffffff;
541 background:rgb(220, 120, 120);
542 background-image: linear-gradient(rgb(240, 140, 140), rgb(210, 110, 110));
543 background-image: -webkit-linear-gradient(rgb(240, 140, 140), rgb(210, 110, 110)));
544 -webkit-border-radius: 6px;
545 -moz-border-radius: 6px;
546 border-radius: 6px;
547 text-indent:0;
548 border:1px solid rgb(205, 100, 100);
549 display:inline-block;
550 color:#333333;
551 font-family:arial;
552 font-size:13px;
553 font-style:normal;
554 text-decoration:none;
555 margin:0px 0px 10px 1.8%;
556 padding:0px 8px;
557 line-height:90px;
558 width:44%;
559 }
560 
561 .redBlock b{
562 color:rgb(110, 40, 40);
563 } 
564 
565 .greenBlock{
566 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
567 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
568 box-shadow:inset 0px 1px 0px 0px #ffffff;
569 background:rgb(160, 190, 100);
570 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
571 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
572 -webkit-border-radius: 6px;
573 -moz-border-radius: 6px;
574 border-radius: 6px;
575 text-indent:0;
576 border:1px solid rgb(155,185,95);
577 display:inline-block;
578 color:#333333;
579 font-family:arial;
580 font-size:12px;
581 font-style:normal;
582 text-decoration:none;
583 margin:0px 0px 10px 1.8%;
584 padding:0px 8px;
585 line-height:90px;
586 width:44%;
587 }
588 
589 .greenBlock b{
590 color:rgb(70, 95, 60);
591 } 
592 
593 
594 
595 .greyBlock{
596 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
597 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
598 box-shadow:inset 0px 1px 0px 0px #ffffff;
599 background:rgb(230, 230, 230);
600 background-image: linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
601 background-image: -webkit-linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
602 -webkit-border-radius: 6px;
603 -moz-border-radius: 6px;
604 border-radius: 6px;
605 text-indent:0;
606 border:1px solid rgb(207,207,207);
607 display:inline-block;
608 color:#333333;
609 font-family:arial;
610 font-size:12px;
611 font-style:normal;
612 text-decoration:none;
613 margin:0px 0px 10px -1.5%;
614 padding:0px 8px;
615 line-height:90px;
616 width:44%;
617 }
618 
619 .whiteBlock{
620 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
621 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
622 box-shadow:inset 0px 1px 0px 0px #ffffff;
623 background:rgb(244, 244, 244);
624 background-image: linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
625 background-image: -webkit-linear-gradient(rgb(238, 238, 238), rgb(220, 220, 220));
626 -webkit-border-radius: 6px;
627 -moz-border-radius: 6px;
628 border-radius: 6px;
629 text-indent:0;
630 border:1px solid rgb(207,207,207);
631 display:inline-block;
632 color:#333333;
633 font-family:arial;
634 font-size:12px;
635 font-style:normal;
636 text-decoration:none;
637 margin:0px 0px 10px 2.4%;
638 padding:0px 8px;
639 height:90px;
640 width:44%;
641 }