Remove color:black from table {} in skins (bug 28422) + small fixes
[lhc/web/wiklou.git] / skins / vector / screen.css
1 /*
2 * Any rules which should not be flipped automatically in right-to-left situations should be
3 * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs
4 * should be prepended with @embed in a comment block.
5 *
6 * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web
7 * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using
8 * a rule that makes things work in IE6, and then following it with a rule that begins with
9 * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support
10 * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and
11 * "IGNORED BY IE6" comments.
12 */
13
14 /* Framework */
15 html,
16 body {
17 height: 100%;
18 margin: 0;
19 padding: 0;
20 font-family: sans-serif;
21 font-size: 1em;
22 }
23 body {
24 background-color: #f3f3f3;
25 /* @embed */
26 background-image: url(images/page-base.png);
27 }
28 /* Content */
29 div#content {
30 margin-left: 10em;
31 padding: 1em;
32 /* @embed */
33 background-image: url(images/border.png);
34 background-position: top left;
35 background-repeat: repeat-y;
36 background-color: white;
37 color: black;
38 direction: ltr;
39 }
40 /* Head */
41 #mw-page-base {
42 height: 5em;
43 background-color: white;
44 /* @embed */
45 background-image: url(images/page-fade.png);
46 background-position: bottom left;
47 background-repeat: repeat-x;
48 }
49 #mw-head-base {
50 margin-top: -5em;
51 margin-left: 10em;
52 height: 5em;
53 /* @embed */
54 background-image: url(images/border.png);
55 background-position: bottom left;
56 background-repeat: repeat-x;
57 }
58 div#mw-head {
59 position: absolute;
60 top: 0;
61 right: 0;
62 width: 100%;
63 }
64 div#mw-head h5 {
65 margin: 0;
66 padding: 0;
67 }
68 /* Hide empty portlets */
69 div.emptyPortlet {
70 display: none;
71 }
72 /* Personal */
73 #p-personal {
74 position: absolute;
75 top: 0;
76 padding-left: 10em;
77 right: 0.75em;
78 }
79 #p-personal h5 {
80 display: none;
81 }
82 #p-personal ul {
83 list-style: none;
84 margin: 0;
85 padding: 0;
86 }
87 /* @noflip */
88 #p-personal li {
89 line-height: 1.125em;
90 float: left;
91 }
92 /* This one flips! */
93 #p-personal li {
94 margin-left: 0.75em;
95 margin-top: 0.5em;
96 font-size: 0.75em;
97 white-space: nowrap;
98 }
99 /* Navigation Containers */
100 #left-navigation {
101 position: absolute;
102 left: 10em;
103 top: 2.5em;
104 }
105 #right-navigation {
106 float: right;
107 margin-top: 2.5em;
108 }
109 /* Navigation Labels */
110 div.vectorTabs h5,
111 div.vectorMenu h5 span {
112 display: none;
113 }
114 /* Namespaces and Views */
115 /* @noflip */
116 div.vectorTabs {
117 float: left;
118 height: 2.5em;
119 }
120 div.vectorTabs {
121 /* @embed */
122 background-image: url(images/tab-break.png);
123 background-position: bottom left;
124 background-repeat: no-repeat;
125 padding-left: 1px;
126 }
127 /* @noflip */
128 div.vectorTabs ul {
129 float: left;
130 }
131 div.vectorTabs ul {
132 height: 100%;
133 list-style: none;
134 margin: 0;
135 padding: 0;
136 }
137 /* @noflip */
138 div.vectorTabs ul li {
139 float: left;
140 }
141 /* OVERRIDDEN BY COMPLIANT BROWSERS */
142 div.vectorTabs ul li {
143 line-height: 1.125em;
144 display: inline-block;
145 height: 100%;
146 margin: 0;
147 padding: 0;
148 background-color: #f3f3f3;
149 /* @embed */
150 background-image: url(images/tab-normal-fade.png);
151 background-position: bottom left;
152 background-repeat: repeat-x;
153 white-space:nowrap;
154 }
155 /* IGNORED BY IE6 */
156 div.vectorTabs ul > li {
157 display: block;
158 }
159 div.vectorTabs li.selected {
160 /* @embed */
161 background-image: url(images/tab-current-fade.png);
162 }
163 /* OVERRIDDEN BY COMPLIANT BROWSERS */
164 div.vectorTabs li a {
165 display: inline-block;
166 height: 1.9em;
167 padding-left: 0.5em;
168 padding-right: 0.5em;
169 /* @embed */
170 background-image: url(images/tab-break.png);
171 background-position: bottom right;
172 background-repeat: no-repeat;
173 color: #0645ad;
174 cursor: pointer;
175 font-size: 0.8em;
176 }
177 /* IGNORED BY IE6 */
178 div.vectorTabs li > a {
179 display: block;
180 }
181 /* OVERRIDDEN BY COMPLIANT BROWSERS */
182 div.vectorTabs span a {
183 display: inline-block;
184 padding-top: 1.25em;
185 }
186 /* IGNORED BY IE6 */
187 /* @noflip */
188 div.vectorTabs span > a {
189 float: left;
190 display: block;
191 }
192 div.vectorTabs li.selected a,
193 div.vectorTabs li.selected a:visited{
194 color: #333333;
195 text-decoration: none;
196 }
197 div.vectorTabs li.new a,
198 div.vectorTabs li.new a:visited{
199 color: #a55858;
200 }
201 /* Variants and Actions */
202 /* @noflip */
203 div.vectorMenu {
204 direction: ltr;
205 float: left;
206 /* @embed */
207 background-image: url(images/arrow-down-icon.png);
208 background-position: 100% 60%;
209 background-repeat: no-repeat;
210 cursor: pointer;
211 }
212 /* @noflip */
213 body.rtl div.vectorMenu {
214 direction: rtl;
215 }
216 /* OVERRIDDEN BY COMPLIANT BROWSERS */
217 /* @noflip */
218 div#mw-head div.vectorMenu h5 {
219 float: left;
220 /* @embed */
221 background-image: url(images/tab-break.png);
222 background-repeat: no-repeat;
223 }
224 /* This will be flipped - unlike the one above it */
225 div#mw-head div.vectorMenu h5 {
226 background-position: bottom left;
227 margin-left: -1px;
228 }
229 /* IGNORED BY IE6 */
230 div#mw-head div.vectorMenu > h5 {
231 background-image: none;
232 }
233 div#mw-head div.vectorMenu h4 {
234 display: inline-block;
235 float: left;
236 font-size: 0.8em;
237 padding-left: 0.5em;
238 padding-top: 1.375em;
239 font-weight: normal;
240 border: none;
241 }
242 /* OVERRIDDEN BY COMPLIANT BROWSERS */
243 /* @noflip */
244 div.vectorMenu h5 a {
245 display: inline-block;
246 width: 24px;
247 height: 2.5em;
248 text-decoration: none;
249 /* @embed */
250 background-image: url(images/tab-break.png);
251 background-repeat: no-repeat;
252 }
253 /* This will be flipped - unlike the one above it */
254 div.vectorMenu h5 a {
255 background-position: bottom right;
256 }
257 /* IGNORED BY IE6 */
258 div.vectorMenu h5 > a {
259 display: block;
260 }
261 div.vectorMenu div.menu {
262 position: relative;
263 display: none;
264 clear: both;
265 text-align: left;
266 }
267 /* OVERRIDDEN BY COMPLIANT BROWSERS */
268 /* @noflip */
269 body.rtl div.vectorMenu div.menu {
270 margin-left: 24px;
271 }
272 /* IGNORED BY IE6 */
273 /* @noflip */
274 body.rtl div.vectorMenu > div.menu {
275 margin-left: auto;
276 }
277 /* IGNORED BY IE6 */
278 /* Also fixes old versions of FireFox */
279 /* @noflip */
280 body.rtl div.vectorMenu > div.menu,
281 x:-moz-any-link {
282 margin-left: 23px;
283 }
284 div.vectorMenu:hover div.menu {
285 display: block;
286 }
287 div.vectorMenu ul {
288 position: absolute;
289 background-color: white;
290 border: solid 1px silver;
291 border-top-width: 0;
292 list-style: none;
293 list-style-image: none;
294 list-style-type: none;
295 padding: 0;
296 margin: 0;
297 margin-left: -1px;
298 text-align: left;
299 }
300 /* Fixes old versions of FireFox */
301 div.vectorMenu ul,
302 x:-moz-any-link {
303 min-width: 5em;
304 }
305 /* Returns things back to normal in modern versions of FireFox */
306 div.vectorMenu ul,
307 x:-moz-any-link,
308 x:default {
309 min-width: 0;
310 }
311 div.vectorMenu li {
312 padding: 0;
313 margin: 0;
314 text-align: left;
315 line-height: 1em;
316 }
317 /* OVERRIDDEN BY COMPLIANT BROWSERS */
318 div.vectorMenu li a {
319 display: inline-block;
320 padding: 0.5em;
321 white-space: nowrap;
322 color: #0645ad;
323 cursor: pointer;
324 font-size: 0.8em;
325 }
326 /* IGNORED BY IE6 */
327 div.vectorMenu li > a {
328 display: block;
329 }
330 div.vectorMenu li.selected a,
331 div.vectorMenu li.selected a:visited {
332 color: #333333;
333 text-decoration: none;
334 }
335 /* Search */
336 #p-search h5 {
337 display: none;
338 }
339 /* @noflip */
340 #p-search {
341 float: left;
342 }
343 #p-search {
344 margin-right: 0.5em;
345 margin-left: 0.5em;
346 }
347 #p-search form,
348 #p-search input {
349 margin: 0;
350 margin-top: 0.4em;
351 }
352 div#simpleSearch {
353 display: block;
354 width: 14em;
355 height: 1.4em;
356 margin-top: 0.65em;
357 position: relative;
358 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
359 border: solid 1px #AAAAAA;
360 color: black;
361 background-color: white;
362 /* @embed */
363 background-image: url(images/search-fade.png);
364 background-position: top left;
365 background-repeat: repeat-x;
366 }
367 div#simpleSearch label {
368 /*
369 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
370 * this from ever being shown anyways.
371 */
372 font-size: 13px;
373 top: 0.25em;
374 direction: ltr;
375 }
376 div#simpleSearch input {
377 color: black;
378 direction: ltr;
379 }
380 div#simpleSearch input:focus {
381 outline: none;
382 }
383 div#simpleSearch input.placeholder {
384 color: #999999;
385 }
386 div#simpleSearch input::-webkit-input-placeholder {
387 color: #999999;
388 }
389 div#simpleSearch input#searchInput {
390 position: absolute;
391 top: 0;
392 left: 0;
393 width: 90%;
394 margin: 0;
395 padding: 0;
396 padding-left: 0.2em;
397 padding-top: 0.2em;
398 padding-bottom: 0.2em;
399 outline: none;
400 border: none;
401 /*
402 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
403 * this from ever being shown anyways.
404 */
405 font-size: 13px;
406 background-color: transparent;
407 direction: ltr;
408 }
409 div#simpleSearch button#searchButton {
410 position: absolute;
411 width: 10%;
412 right: 0;
413 top: 0;
414 padding: 0;
415 padding-top: 0.2em;
416 padding-bottom: 0.2em;
417 padding-right: 0.4em;
418 margin: 0;
419 border: none;
420 cursor: pointer;
421 background-color: transparent;
422 }
423 /* OVERRIDDEN BY COMPLIANT BROWSERS */
424 div#simpleSearch button#searchButton img {
425 border: none;
426 margin: 0;
427 margin-top: -3px;
428 padding: 0;
429 }
430 /* IGNORED BY IE6 */
431 div#simpleSearch button#searchButton > img {
432 margin: 0;
433 }
434 /* Panel */
435 div#mw-panel {
436 position: absolute;
437 top: 160px;
438 padding-top: 1em;
439 width: 10em;
440 left: 0;
441 }
442 div#mw-panel div.portal {
443 padding-bottom: 1.5em;
444 direction: ltr;
445 }
446 div#mw-panel div.portal h5 {
447 font-weight: normal;
448 color: #444444;
449 padding: 0.25em;
450 padding-top: 0;
451 padding-left: 1.75em;
452 cursor: default;
453 border: none;
454 font-size: 0.75em;
455 }
456 div#mw-panel div.portal div.body {
457 margin: 0;
458 padding-top: 0.5em;
459 margin-left: 1.25em;
460 /* @embed */
461 background-image: url(images/portal-break.png);
462 background-repeat: no-repeat;
463 background-position: top left;
464 }
465 div#mw-panel div.portal div.body ul {
466 list-style: none;
467 list-style-image: none;
468 list-style-type: none;
469 padding: 0;
470 margin: 0;
471 }
472 div#mw-panel div.portal div.body ul li {
473 line-height: 1.125em;
474 padding: 0;
475 padding-bottom: 0.5em;
476 margin: 0;
477 overflow: hidden;
478 font-size: 0.75em;
479 }
480 div#mw-panel div.portal div.body ul li a {
481 color: #0645ad;
482 }
483 div#mw-panel div.portal div.body ul li a:visited {
484 color: #0b0080;
485 }
486 /* Footer */
487 div#footer {
488 margin-left: 10em;
489 margin-top: 0;
490 padding: 0.75em;
491 /* @embed */
492 background-image: url(images/border.png);
493 background-position: top left;
494 background-repeat: repeat-x;
495 direction: ltr;
496 }
497 div#footer ul {
498 list-style: none;
499 list-style-image: none;
500 list-style-type: none;
501 margin: 0;
502 padding: 0;
503 }
504 div#footer ul li {
505 margin: 0;
506 padding: 0;
507 padding-top: 0.5em;
508 padding-bottom: 0.5em;
509 color: #333333;
510 font-size: 0.7em;
511 }
512 div#footer #footer-icons {
513 float: right;
514 }
515 /* @noflip */
516 body.ltr div#footer #footer-places {
517 float: left;
518 }
519 div#footer #footer-info li {
520 line-height: 1.4em;
521 }
522 div#footer #footer-icons li {
523 float: left;
524 margin-left: 0.5em;
525 line-height: 2em;
526 }
527 div#footer #footer-places li {
528 float: left;
529 margin-right: 1em;
530 line-height: 2em;
531 }
532 /* Logo */
533 #p-logo {
534 position: absolute;
535 top: -160px;
536 left: 0;
537 width: 10em;
538 height: 160px;
539 }
540 #p-logo a {
541 display: block;
542 width: 10em;
543 height: 160px;
544 background-repeat: no-repeat;
545 background-position: center center;
546 text-decoration: none;
547 }
548
549 /*
550 *
551 * The following code is highly modified from monobook. It would be nice if the
552 * preftoc id was more human readable like preferences-toc for instance,
553 * howerver this would require backporting the other skins.
554 */
555
556 /* Preferences */
557 #preftoc {
558 /* Tabs */
559 width: 100%;
560 float: left;
561 clear: both;
562 margin: 0 !important;
563 padding: 0 !important;
564 /* @embed */
565 background-image: url(images/preferences-break.png);
566 background-position: bottom left;
567 background-repeat: no-repeat;
568 }
569 #preftoc li {
570 /* Tab */
571 float: left;
572 margin: 0;
573 padding: 0;
574 padding-right: 1px;
575 height: 2.25em;
576 white-space: nowrap;
577 list-style-type: none;
578 list-style-image: none;
579 /* @embed */
580 background-image: url(images/preferences-break.png);
581 background-position: bottom right;
582 background-repeat: no-repeat;
583 }
584 /* Sadly, IE6 won't understand this */
585 #preftoc li:first-child {
586 margin-left: 1px;
587 }
588 #preftoc a,
589 #preftoc a:active {
590 display: inline-block;
591 position: relative;
592 color: #0645ad;
593 padding: 0.5em;
594 text-decoration: none;
595 background-image: none;
596 font-size: 0.9em;
597 }
598 #preftoc a:hover,
599 #preftoc a:focus {
600 text-decoration: underline;
601 }
602 #preftoc li.selected a {
603 /* @embed */
604 background-image: url(images/preferences-fade.png);
605 background-position: bottom;
606 background-repeat: repeat-x;
607 color: #333333;
608 text-decoration: none;
609 }
610 #preferences {
611 float: left;
612 width: 100%;
613 margin: 0;
614 margin-top: -2px;
615 clear: both;
616 border: solid 1px #cccccc;
617 background-color: #f9f9f9;
618 /* @embed */
619 background-image: url(images/preferences-base.png);
620 }
621 #preferences fieldset.prefsection {
622 border: none;
623 padding: 0;
624 margin: 1em;
625 }
626 #preferences fieldset.prefsection fieldset {
627 border: none;
628 border-top: solid 1px #cccccc;
629 }
630 #preferences legend {
631 color: #666666;
632 }
633 #preferences fieldset.prefsection legend.mainLegend {
634 display: none;
635 }
636 #preferences td {
637 padding-left: 0.5em;
638 padding-right: 0.5em;
639 }
640 #preferences td.htmlform-tip {
641 font-size: x-small;
642 padding: .2em 2em;
643 color: #666666;
644 }
645 #preferences div.mw-prefs-buttons {
646 padding: 1em;
647 }
648 #preferences div.mw-prefs-buttons input {
649 margin-right: 0.25em;
650 }
651
652 /*
653 * Styles for the user login and create account forms
654 */
655 #userlogin, #userloginForm {
656 border: solid 1px #cccccc;
657 padding: 1.2em;
658 margin: .5em;
659 float: left;
660 }
661
662 #userlogin {
663 min-width: 20em;
664 max-width: 90%;
665 width: 40em;
666 }
667
668 /*
669 *
670 * The following code is slightly modified from monobook
671 *
672 */
673 div#content {
674 line-height: 1.5em;
675 }
676 #bodyContent {
677 font-size: 0.8em;
678 }
679 /* Links */
680 a {
681 text-decoration: none;
682 color: #0645ad;
683 background: none;
684 }
685 a:visited {
686 color: #0b0080;
687 }
688 a:active {
689 color: #faa700;
690 }
691 a:hover, a:focus {
692 text-decoration: underline;
693 }
694 a.stub {
695 color: #772233;
696 }
697 a.new, #p-personal a.new {
698 color: #ba0000;
699 }
700 a.new:visited, #p-personal a.new:visited {
701 color: #a55858;
702 }
703
704 /* Inline Elements */
705 img {
706 border: none;
707 vertical-align: middle;
708 }
709 hr {
710 height: 1px;
711 color: #aaa;
712 background-color: #aaa;
713 border: 0;
714 margin: .2em 0 .2em 0;
715 }
716
717 /* Structural Elements */
718 h1,
719 h2,
720 h3,
721 h4,
722 h5,
723 h6 {
724 color: black;
725 background: none;
726 font-weight: normal;
727 margin: 0;
728 overflow: hidden;
729 padding-top: .5em;
730 padding-bottom: .17em;
731 border-bottom: 1px solid #aaa;
732 width: auto;
733 }
734 h1 { font-size: 188%; }
735 h1 .editsection { font-size: 53%; }
736 h2 { font-size: 150%; }
737 h2 .editsection { font-size: 67%; }
738 h3,
739 h4,
740 h5,
741 h6 {
742 border-bottom: none;
743 font-weight: bold;
744 }
745 h3 { font-size: 132%; }
746 h3 .editsection { font-size: 76%; font-weight: normal; }
747 h4 { font-size: 116%; }
748 h4 .editsection { font-size: 86%; font-weight: normal; }
749 h5 { font-size: 100%; }
750 h5 .editsection { font-weight: normal; }
751 h6 { font-size: 80%; }
752 h6 .editsection { font-size: 125%; font-weight: normal; }
753 .editsection { float: right; }
754 p {
755 margin: .4em 0 .5em 0;
756 line-height: 1.5em;
757 }
758 p img {
759 margin: 0;
760 }
761 abbr,
762 acronym,
763 .explain {
764 border-bottom: 1px dotted black;
765 color: black;
766 background: none;
767 cursor: help;
768 }
769 q {
770 font-family: Times, "Times New Roman", serif;
771 font-style: italic;
772 }
773 /* Disabled for now
774 blockquote {
775 font-family: Times, "Times New Roman", serif;
776 font-style: italic;
777 }*/
778 pre, code, tt, kbd, samp {
779 /*
780 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
781 * too small otherwise, namely Firefox, Chrome and Safari
782 */
783 font-family: monospace, "Courier New";
784 }
785 code {
786 background-color: #f9f9f9;
787 }
788 pre {
789 padding: 1em;
790 border: 1px dashed #2f6fab;
791 color: black;
792 background-color: #f9f9f9;
793 line-height: 1.1em;
794 }
795 ul {
796 line-height: 1.5em;
797 list-style-type: square;
798 margin: .3em 0 0 1.5em;
799 padding: 0;
800 /* @embed */
801 list-style-image: url(images/bullet-icon.png);
802 }
803 ol {
804 line-height: 1.5em;
805 margin: .3em 0 0 3.2em;
806 padding: 0;
807 list-style-image: none;
808 }
809 li {
810 margin-bottom: .1em;
811 }
812 dt {
813 font-weight: bold;
814 margin-bottom: .1em;
815 }
816 dl {
817 margin-top: .2em;
818 margin-bottom: .5em;
819 }
820 dd {
821 line-height: 1.5em;
822 margin-left: 2em;
823 margin-bottom: .1em;
824 }
825 /* Tables */
826 table {
827 font-size: 100%;
828 }
829 /* Forms */
830 fieldset {
831 border: 1px solid #2f6fab;
832 margin: 1em 0 1em 0;
833 padding: 0 1em 1em;
834 line-height: 1.5em;
835 }
836 fieldset.nested {
837 margin: 0 0 0.5em 0;
838 padding: 0 0.5em 0.5em;
839 }
840 legend {
841 padding: .5em;
842 font-size: 95%;
843 }
844 form {
845 border: none;
846 margin: 0;
847 }
848 textarea {
849 width: 100%;
850 padding: .1em;
851 }
852 select {
853 vertical-align: top;
854 }
855 /* Table of Contents */
856 #toc,
857 .toc,
858 .mw-warning {
859 border: 1px solid #aaa;
860 background-color: #f9f9f9;
861 padding: 5px;
862 font-size: 95%;
863 }
864 #toc h2,
865 .toc h2 {
866 display: inline;
867 border: none;
868 padding: 0;
869 font-size: 100%;
870 font-weight: bold;
871 }
872 #toc #toctitle,
873 .toc #toctitle,
874 #toc .toctitle,
875 .toc .toctitle {
876 text-align: center;
877 }
878 #toc ul,
879 .toc ul {
880 list-style-type: none;
881 list-style-image: none;
882 margin-left: 0;
883 padding-left: 0;
884 text-align: left;
885 }
886 #toc ul ul,
887 .toc ul ul {
888 margin: 0 0 0 2em;
889 }
890 #toc .toctoggle,
891 .toc .toctoggle {
892 font-size: 94%;
893 }
894 /* Images */
895 div.floatright, table.floatright {
896 clear: right;
897 float: right;
898 position: relative;
899 margin: 0 0 .5em .5em;
900 border: 0;
901 }
902 div.floatright p { font-style: italic; }
903 div.floatleft, table.floatleft {
904 float: left;
905 clear: left;
906 position: relative;
907 margin: 0 .5em .5em 0;
908 border: 0;
909 }
910 div.floatleft p { font-style: italic; }
911 /* Thumbnails */
912 div.thumb {
913 margin-bottom: .5em;
914 width: auto;
915 background-color: transparent;
916 }
917 div.thumbinner {
918 border: 1px solid #ccc;
919 padding: 3px !important;
920 background-color: #f9f9f9;
921 font-size: 94%;
922 text-align: center;
923 overflow: hidden;
924 }
925 html .thumbimage {
926 border: 1px solid #ccc;
927 }
928 html .thumbcaption {
929 border: none;
930 text-align: left;
931 line-height: 1.4em;
932 padding: 3px !important;
933 font-size: 94%;
934 }
935 div.magnify {
936 float: right;
937 border: none !important;
938 background: none !important;
939 }
940 div.magnify a, div.magnify img {
941 display: block;
942 border: none !important;
943 background: none !important;
944 }
945 /* @noflip */
946 div.tright {
947 clear: right;
948 float: right;
949 margin: .5em 0 1.3em 1.4em;
950 }
951 /* @noflip */
952 div.tleft {
953 float: left;
954 clear: left;
955 margin: .5em 1.4em 1.3em 0;
956 }
957 img.thumbborder {
958 border: 1px solid #dddddd;
959 }
960 /* Warning */
961 .mw-warning {
962 margin-left: 50px;
963 margin-right: 50px;
964 text-align: center;
965 }
966 /* User Message */
967 .usermessage {
968 background-color: #ffce7b;
969 border: 1px solid #ffa500;
970 color: black;
971 font-weight: bold;
972 margin: 2em 0 1em;
973 padding: .5em 1em;
974 vertical-align: middle;
975 }
976 /* Site Notice (includes notices from CentralNotice extension) */
977 #siteNotice {
978 position: relative;
979 text-align: center;
980 font-size: 0.8em;
981 margin: 0;
982 }
983 #localNotice {
984 margin-bottom: 0.9em;
985 }
986 /* Categories */
987 .catlinks {
988 border: 1px solid #aaa;
989 background-color: #f9f9f9;
990 padding: 5px;
991 margin-top: 1em;
992 clear: both;
993 }
994 /* Sub-navigation */
995 #siteSub {
996 display: none;
997 }
998 #jump-to-nav {
999 display: none;
1000 }
1001 #contentSub, #contentSub2 {
1002 font-size: 84%;
1003 line-height: 1.2em;
1004 margin: 0 0 1.4em 1em;
1005 color: #7d7d7d;
1006 width: auto;
1007 }
1008 span.subpages {
1009 display: block;
1010 }
1011 /* Emulate Center */
1012 .center {
1013 width: 100%;
1014 text-align: center;
1015 }
1016 *.center * {
1017 margin-left: auto;
1018 margin-right: auto;
1019 }
1020 /* Small for tables and similar */
1021 .small, .small * {
1022 font-size: 94%;
1023 }
1024 table.small {
1025 font-size: 100%;
1026 }
1027 /* Edge Cases for Content */
1028 h1, h2 {
1029 margin-bottom: .6em;
1030 }
1031 h3, h4, h5 {
1032 margin-bottom: .3em;
1033 }
1034 #firstHeading {
1035 padding-top: 0;
1036 margin-top: 0;
1037 padding-top: 0;
1038 margin-bottom: 0.1em;
1039 line-height: 1.2em;
1040 font-size: 1.6em;
1041 padding-bottom: 0;
1042 }
1043 div#content a.external,
1044 div#content a[href ^="gopher://"] {
1045 /* @embed */
1046 background: url(images/external-link-ltr-icon.png) center right no-repeat;
1047 padding-right: 13px;
1048 }
1049 div#content a[href ^="https://"],
1050 .link-https {
1051 /* @embed */
1052 background: url(images/lock-icon.png) center right no-repeat;
1053 padding-right: 13px;
1054 }
1055 div#content a[href ^="mailto:"],
1056 .link-mailto {
1057 /* @embed */
1058 background: url(images/mail-icon.png) center right no-repeat;
1059 padding-right: 13px;
1060 }
1061 div#content a[href ^="news://"] {
1062 /* @embed */
1063 background: url(images/news-icon.png) center right no-repeat;
1064 padding-right: 13px;
1065 }
1066 div#content a[href ^="ftp://"],
1067 .link-ftp {
1068 /* @embed */
1069 background: url(images/file-icon.png) center right no-repeat;
1070 padding-right: 13px;
1071 }
1072 div#content a[href ^="irc://"],
1073 div#content a.extiw[href ^="irc://"],
1074 .link-irc {
1075 /* @embed */
1076 background: url(images/talk-icon.png) center right no-repeat;
1077 padding-right: 13px;
1078 }
1079 div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
1080 div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
1081 div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
1082 div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
1083 div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
1084 div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
1085 .link-audio {
1086 /* @embed */
1087 background: url("images/audio-icon.png?2") center right no-repeat;
1088 padding-right: 13px;
1089 }
1090 div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
1091 div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
1092 div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
1093 div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
1094 .link-video {
1095 /* @embed */
1096 background: url("images/video-icon.png?2") center right no-repeat;
1097 padding-right: 13px;
1098 }
1099 div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
1100 div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
1101 div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
1102 .link-document {
1103 /* @embed */
1104 background: url("images/document-icon.png?2") center right no-repeat;
1105 padding-right: 13px;
1106 }
1107
1108 /* Interwiki Styling */
1109 div#content a.extiw,
1110 div#content a.extiw:active {
1111 color: #36b;
1112 /* Don't show icons for interwiki links */
1113 background: none;
1114 padding: 0;
1115 }
1116 div#content a.extiw:visited {
1117 color: #636;
1118 }
1119 div#content a.extiw:active {
1120 color: #b63;
1121 }
1122
1123 /* External links */
1124 div#content a.external {
1125 color: #36b;
1126 }
1127 div#content a.external:visited {
1128 color: #636; /* bug 3112 */
1129 }
1130 div#content a.external:active {
1131 color: #b63;
1132 }
1133
1134
1135 div#content .printfooter {
1136 display: none;
1137 }
1138 /* Icon for Usernames */
1139 #pt-userpage,
1140 #pt-anonuserpage,
1141 #pt-login {
1142 /* @embed */
1143 background: url(images/user-icon.png) left top no-repeat;
1144 padding-left: 15px !important;
1145 text-transform: none;
1146 }
1147
1148 .toccolours {
1149 border: 1px solid #aaa;
1150 background-color: #f9f9f9;
1151 padding: 5px;
1152 font-size: 95%;
1153 }
1154 #bodyContent {
1155 position: relative;
1156 width: 100%;
1157 }
1158 #mw-js-message {
1159 font-size: 0.8em;
1160 }
1161 div#bodyContent {
1162 line-height: 1.5em;
1163 }
1164
1165 /* Watch/Unwatch Icon Styling */
1166 #ca-unwatch.icon,
1167 #ca-watch.icon {
1168 margin-right:1px;
1169 }
1170 #ca-unwatch.icon a,
1171 #ca-watch.icon a {
1172 margin: 0;
1173 padding: 0;
1174 outline: none;
1175 display: block;
1176 width: 26px;
1177 /* This hides the text but shows the background image */
1178 padding-top: 3.1em;
1179 margin-top: 0;
1180 /* Only applied in IE6 */
1181 margin-top: -0.8em !ie;
1182 height: 0;
1183 overflow: hidden;
1184 /* @embed */
1185 background-image: url(images/watch-icons.png);
1186 }
1187 #ca-unwatch.icon a {
1188 background-position: -43px 60%;
1189 }
1190 #ca-watch.icon a {
1191 background-position: 5px 60%;
1192 }
1193 #ca-unwatch.icon a:hover,
1194 #ca-unwatch.icon a:focus {
1195 background-position: -67px 60%;
1196 }
1197 #ca-watch.icon a:hover,
1198 #ca-watch.icon a:focus {
1199 background-position: -19px 60%;
1200 }
1201 #ca-unwatch.icon a.loading,
1202 #ca-watch.icon a.loading {
1203 /* @embed */
1204 background-image: url(images/watch-icon-loading.gif);
1205 background-position: 5px 60%;
1206 }
1207 #ca-unwatch.icon a span,
1208 #ca-watch.icon a span {
1209 display: none;
1210 }
1211 div.vectorTabs ul {
1212 /* @embed */
1213 background-image:url(images/tab-break.png);
1214 background-position:right bottom;
1215 background-repeat:no-repeat;
1216 }
1217
1218 /* Convenience links to edit block, delete and protect reasons */
1219 p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
1220 p.mw-filedelete-editreasons, p.mw-delete-editreasons {
1221 float: right;
1222 }
1223
1224 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
1225 .tipsy {
1226 font-size: 0.8em;
1227 }