* (bug 27230) Alignment fix for Vector watch tab icon spinner in IE 7
[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 margin-top: 0.65em;
354 position: relative;
355 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
356 border: solid 1px #AAAAAA;
357 color: black;
358 background-color: white;
359 /* @embed */
360 background-image: url(images/search-fade.png);
361 background-position: top left;
362 background-repeat: repeat-x;
363 }
364 div#simpleSearch label {
365 /*
366 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
367 * this from ever being shown anyways.
368 */
369 font-size: 13px;
370 top: 0.25em;
371 }
372 div#simpleSearch input {
373 color: black;
374 }
375 div#simpleSearch input:focus {
376 outline: none;
377 }
378 div#simpleSearch input.placeholder {
379 color: #999999;
380 }
381 div#simpleSearch input::-webkit-input-placeholder {
382 color: #999999;
383 }
384 div#simpleSearch input#searchInput {
385 margin: 0;
386 border-width: 0;
387 padding: 3px;
388 vertical-align: top;
389 /*
390 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
391 * this from ever being shown anyways.
392 */
393 font-size: 13px;
394 width: 14em;
395 background-color: transparent;
396 direction: ltr;
397 }
398 div#simpleSearch button#searchButton {
399 padding: 0;
400 margin: 0 5px;
401 border: none;
402 cursor: pointer;
403 background-color: transparent;
404 font-size: x-small;
405 }
406 /* OVERRIDDEN BY COMPLIANT BROWSERS */
407 div#simpleSearch button#searchButton img {
408 border: none;
409 margin: 0;
410 padding: 0;
411 padding-top: 0.5em;
412 vertical-align: middle;
413 }
414 /* IGNORED BY IE6 */
415 div#simpleSearch button#searchButton > img {
416 padding-top: 0;
417 margin-top: -1px;
418 }
419 /* Panel */
420 div#mw-panel {
421 position: absolute;
422 top: 160px;
423 padding-top: 1em;
424 width: 10em;
425 left: 0;
426 }
427 div#mw-panel div.portal {
428 padding-bottom: 1.5em;
429 direction: ltr;
430 }
431 div#mw-panel div.portal h5 {
432 font-weight: normal;
433 color: #444444;
434 padding: 0.25em;
435 padding-top: 0;
436 padding-left: 1.75em;
437 cursor: default;
438 border: none;
439 font-size: 0.75em;
440 }
441 div#mw-panel div.portal div.body {
442 margin: 0;
443 padding-top: 0.5em;
444 margin-left: 1.25em;
445 /* @embed */
446 background-image: url(images/portal-break.png);
447 background-repeat: no-repeat;
448 background-position: top left;
449 }
450 div#mw-panel div.portal div.body ul {
451 list-style: none;
452 list-style-image: none;
453 list-style-type: none;
454 padding: 0;
455 margin: 0;
456 }
457 div#mw-panel div.portal div.body ul li {
458 line-height: 1.125em;
459 padding: 0;
460 padding-bottom: 0.5em;
461 margin: 0;
462 overflow: hidden;
463 font-size: 0.75em;
464 }
465 div#mw-panel div.portal div.body ul li a {
466 color: #0645ad;
467 }
468 div#mw-panel div.portal div.body ul li a:visited {
469 color: #0b0080;
470 }
471 /* Footer */
472 div#footer {
473 margin-left: 10em;
474 margin-top: 0;
475 padding: 0.75em;
476 /* @embed */
477 background-image: url(images/border.png);
478 background-position: top left;
479 background-repeat: repeat-x;
480 direction: ltr;
481 }
482 div#footer ul {
483 list-style: none;
484 list-style-image: none;
485 list-style-type: none;
486 margin: 0;
487 padding: 0;
488 }
489 div#footer ul li {
490 margin: 0;
491 padding: 0;
492 padding-top: 0.5em;
493 padding-bottom: 0.5em;
494 color: #333333;
495 font-size: 0.7em;
496 }
497 div#footer #footer-icons {
498 float: right;
499 }
500 /* @noflip */
501 body.ltr div#footer #footer-places {
502 float: left;
503 }
504 div#footer #footer-info li {
505 line-height: 1.4em;
506 }
507 div#footer #footer-icons li {
508 float: left;
509 margin-left: 0.5em;
510 line-height: 2em;
511 }
512 div#footer #footer-places li {
513 float: left;
514 margin-right: 1em;
515 line-height: 2em;
516 }
517 /* Logo */
518 #p-logo {
519 position: absolute;
520 top: -160px;
521 left: 0;
522 width: 10em;
523 height: 160px;
524 }
525 #p-logo a {
526 display: block;
527 width: 10em;
528 height: 160px;
529 background-repeat: no-repeat;
530 background-position: center center;
531 text-decoration: none;
532 }
533
534 /*
535 *
536 * The following code is highly modified from monobook. It would be nice if the
537 * preftoc id was more human readable like preferences-toc for instance,
538 * howerver this would require backporting the other skins.
539 */
540
541 /* Preferences */
542 #preftoc {
543 /* Tabs */
544 width: 100%;
545 float: left;
546 clear: both;
547 margin: 0 !important;
548 padding: 0 !important;
549 /* @embed */
550 background-image: url(images/preferences-break.png);
551 background-position: bottom left;
552 background-repeat: no-repeat;
553 }
554 #preftoc li {
555 /* Tab */
556 float: left;
557 margin: 0;
558 padding: 0;
559 padding-right: 1px;
560 height: 2.25em;
561 white-space: nowrap;
562 list-style-type: none;
563 list-style-image: none;
564 /* @embed */
565 background-image: url(images/preferences-break.png);
566 background-position: bottom right;
567 background-repeat: no-repeat;
568 }
569 /* Sadly, IE6 won't understand this */
570 #preftoc li:first-child {
571 margin-left: 1px;
572 }
573 #preftoc a,
574 #preftoc a:active {
575 display: inline-block;
576 position: relative;
577 color: #0645ad;
578 padding: 0.5em;
579 text-decoration: none;
580 background-image: none;
581 font-size: 0.9em;
582 }
583 #preftoc a:hover,
584 #preftoc a:focus {
585 text-decoration: underline;
586 }
587 #preftoc li.selected a {
588 /* @embed */
589 background-image: url(images/preferences-fade.png);
590 background-position: bottom;
591 background-repeat: repeat-x;
592 color: #333333;
593 text-decoration: none;
594 }
595 #preferences {
596 float: left;
597 width: 100%;
598 margin: 0;
599 margin-top: -2px;
600 clear: both;
601 border: solid 1px #cccccc;
602 background-color: #f9f9f9;
603 /* @embed */
604 background-image: url(images/preferences-base.png);
605 }
606 #preferences fieldset.prefsection {
607 border: none;
608 padding: 0;
609 margin: 1em;
610 }
611 #preferences fieldset.prefsection fieldset {
612 border: none;
613 border-top: solid 1px #cccccc;
614 }
615 #preferences legend {
616 color: #666666;
617 }
618 #preferences fieldset.prefsection legend.mainLegend {
619 display: none;
620 }
621 #preferences td {
622 padding-left: 0.5em;
623 padding-right: 0.5em;
624 }
625 #preferences td.htmlform-tip {
626 font-size: x-small;
627 padding: .2em 2em;
628 color: #666666;
629 }
630 #preferences div.mw-prefs-buttons {
631 padding: 1em;
632 }
633 #preferences div.mw-prefs-buttons input {
634 margin-right: 0.25em;
635 }
636
637 /*
638 * Styles for the user login and create account forms
639 */
640 #userlogin, #userloginForm {
641 border: solid 1px #cccccc;
642 padding: 1.2em;
643 margin: .5em;
644 float: left;
645 }
646
647 #userlogin {
648 min-width: 20em;
649 max-width: 90%;
650 width: 40em;
651 }
652
653 /*
654 *
655 * The following code is slightly modified from monobook
656 *
657 */
658 div#content {
659 line-height: 1.5em;
660 }
661 #bodyContent {
662 font-size: 0.8em;
663 }
664 /* Links */
665 a {
666 text-decoration: none;
667 color: #0645ad;
668 background: none;
669 }
670 a:visited {
671 color: #0b0080;
672 }
673 a:active {
674 color: #faa700;
675 }
676 a:hover, a:focus {
677 text-decoration: underline;
678 }
679 a.stub {
680 color: #772233;
681 }
682 a.new, #p-personal a.new {
683 color: #ba0000;
684 }
685 a.new:visited, #p-personal a.new:visited {
686 color: #a55858;
687 }
688
689 /* Inline Elements */
690 img {
691 border: none;
692 vertical-align: middle;
693 }
694 hr {
695 height: 1px;
696 color: #aaa;
697 background-color: #aaa;
698 border: 0;
699 margin: .2em 0 .2em 0;
700 }
701
702 /* Structural Elements */
703 h1,
704 h2,
705 h3,
706 h4,
707 h5,
708 h6 {
709 color: black;
710 background: none;
711 font-weight: normal;
712 margin: 0;
713 overflow: hidden;
714 padding-top: .5em;
715 padding-bottom: .17em;
716 border-bottom: 1px solid #aaa;
717 width: auto;
718 }
719 h1 { font-size: 188%; }
720 h1 .editsection { font-size: 53%; }
721 h2 { font-size: 150%; }
722 h2 .editsection { font-size: 67%; }
723 h3,
724 h4,
725 h5,
726 h6 {
727 border-bottom: none;
728 font-weight: bold;
729 }
730 h3 { font-size: 132%; }
731 h3 .editsection { font-size: 76%; font-weight: normal; }
732 h4 { font-size: 116%; }
733 h4 .editsection { font-size: 86%; font-weight: normal; }
734 h5 { font-size: 100%; }
735 h5 .editsection { font-weight: normal; }
736 h6 { font-size: 80%; }
737 h6 .editsection { font-size: 125%; font-weight: normal; }
738 .editsection { float: right; }
739 p {
740 margin: .4em 0 .5em 0;
741 line-height: 1.5em;
742 }
743 p img {
744 margin: 0;
745 }
746 abbr,
747 acronym,
748 .explain {
749 border-bottom: 1px dotted black;
750 color: black;
751 background: none;
752 cursor: help;
753 }
754 q {
755 font-family: Times, "Times New Roman", serif;
756 font-style: italic;
757 }
758 /* Disabled for now
759 blockquote {
760 font-family: Times, "Times New Roman", serif;
761 font-style: italic;
762 }*/
763 pre, code, tt, kbd, samp {
764 /*
765 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
766 * too small otherwise, namely Firefox, Chrome and Safari
767 */
768 font-family: monospace, "Courier New";
769 }
770 code {
771 background-color: #f9f9f9;
772 }
773 pre {
774 padding: 1em;
775 border: 1px dashed #2f6fab;
776 color: black;
777 background-color: #f9f9f9;
778 line-height: 1.1em;
779 }
780 ul {
781 line-height: 1.5em;
782 list-style-type: square;
783 margin: .3em 0 0 1.5em;
784 padding: 0;
785 /* @embed */
786 list-style-image: url(images/bullet-icon.png);
787 }
788 ol {
789 line-height: 1.5em;
790 margin: .3em 0 0 3.2em;
791 padding: 0;
792 list-style-image: none;
793 }
794 li {
795 margin-bottom: .1em;
796 }
797 dt {
798 font-weight: bold;
799 margin-bottom: .1em;
800 }
801 dl {
802 margin-top: .2em;
803 margin-bottom: .5em;
804 }
805 dd {
806 line-height: 1.5em;
807 margin-left: 2em;
808 margin-bottom: .1em;
809 }
810 /* Tables */
811 table {
812 font-size: 100%;
813 color: black;
814 }
815 /* Forms */
816 fieldset {
817 border: 1px solid #2f6fab;
818 margin: 1em 0 1em 0;
819 padding: 0 1em 1em;
820 line-height: 1.5em;
821 }
822 fieldset.nested {
823 margin: 0 0 0.5em 0;
824 padding: 0 0.5em 0.5em;
825 }
826 legend {
827 padding: .5em;
828 font-size: 95%;
829 }
830 form {
831 border: none;
832 margin: 0;
833 }
834 textarea {
835 width: 100%;
836 padding: .1em;
837 }
838 select {
839 vertical-align: top;
840 }
841 /* Table of Contents */
842 #toc,
843 .toc,
844 .mw-warning {
845 border: 1px solid #aaa;
846 background-color: #f9f9f9;
847 padding: 5px;
848 font-size: 95%;
849 }
850 #toc h2,
851 .toc h2 {
852 display: inline;
853 border: none;
854 padding: 0;
855 font-size: 100%;
856 font-weight: bold;
857 }
858 #toc #toctitle,
859 .toc #toctitle,
860 #toc .toctitle,
861 .toc .toctitle {
862 text-align: center;
863 }
864 #toc ul,
865 .toc ul {
866 list-style-type: none;
867 list-style-image: none;
868 margin-left: 0;
869 padding-left: 0;
870 text-align: left;
871 }
872 #toc ul ul,
873 .toc ul ul {
874 margin: 0 0 0 2em;
875 }
876 #toc .toctoggle,
877 .toc .toctoggle {
878 font-size: 94%;
879 }
880 /* Images */
881 div.floatright, table.floatright {
882 clear: right;
883 float: right;
884 position: relative;
885 margin: 0 0 .5em .5em;
886 border: 0;
887 }
888 div.floatright p { font-style: italic; }
889 div.floatleft, table.floatleft {
890 float: left;
891 clear: left;
892 position: relative;
893 margin: 0 .5em .5em 0;
894 border: 0;
895 }
896 div.floatleft p { font-style: italic; }
897 /* Thumbnails */
898 div.thumb {
899 margin-bottom: .5em;
900 width: auto;
901 background-color: transparent;
902 }
903 div.thumbinner {
904 border: 1px solid #ccc;
905 padding: 3px !important;
906 background-color: #f9f9f9;
907 font-size: 94%;
908 text-align: center;
909 overflow: hidden;
910 }
911 html .thumbimage {
912 border: 1px solid #ccc;
913 }
914 html .thumbcaption {
915 border: none;
916 text-align: left;
917 line-height: 1.4em;
918 padding: 3px !important;
919 font-size: 94%;
920 }
921 div.magnify {
922 float: right;
923 border: none !important;
924 background: none !important;
925 }
926 div.magnify a, div.magnify img {
927 display: block;
928 border: none !important;
929 background: none !important;
930 }
931 /* @noflip */
932 div.tright {
933 clear: right;
934 float: right;
935 margin: .5em 0 1.3em 1.4em;
936 }
937 /* @noflip */
938 div.tleft {
939 float: left;
940 clear: left;
941 margin: .5em 1.4em 1.3em 0;
942 }
943 img.thumbborder {
944 border: 1px solid #dddddd;
945 }
946 .hiddenStructure {
947 display: none;
948 }
949 /* Warning */
950 .mw-warning {
951 margin-left: 50px;
952 margin-right: 50px;
953 text-align: center;
954 }
955 /* User Message */
956 .usermessage {
957 background-color: #e0e8ff;
958 border: 1px solid #99b3ff;
959 color: black;
960 font-weight: bold;
961 margin: 2em 0 1em;
962 padding: .5em 1em;
963 vertical-align: middle;
964 }
965 /* Site Notice (includes notices from CentralNotice extension) */
966 #siteNotice {
967 position: relative;
968 text-align: center;
969 font-size: 0.8em;
970 margin: 0;
971 }
972 #localNotice {
973 margin-bottom: 0.9em;
974 }
975 /* Categories */
976 .catlinks {
977 border: 1px solid #aaa;
978 background-color: #f9f9f9;
979 padding: 5px;
980 margin-top: 1em;
981 clear: both;
982 }
983 /* Sub-navigation */
984 #siteSub {
985 display: none;
986 }
987 #jump-to-nav {
988 display: none;
989 }
990 #contentSub, #contentSub2 {
991 font-size: 84%;
992 line-height: 1.2em;
993 margin: 0 0 1.4em 1em;
994 color: #7d7d7d;
995 width: auto;
996 }
997 span.subpages {
998 display: block;
999 }
1000 /* Emulate Center */
1001 .center {
1002 width: 100%;
1003 text-align: center;
1004 }
1005 *.center * {
1006 margin-left: auto;
1007 margin-right: auto;
1008 }
1009 /* Small for tables and similar */
1010 .small, .small * {
1011 font-size: 94%;
1012 }
1013 table.small {
1014 font-size: 100%;
1015 }
1016 /* Edge Cases for Content */
1017 h1, h2 {
1018 margin-bottom: .6em;
1019 }
1020 h3, h4, h5 {
1021 margin-bottom: .3em;
1022 }
1023 #firstHeading {
1024 padding-top: 0;
1025 margin-top: 0;
1026 padding-top: 0;
1027 margin-bottom: 0.1em;
1028 line-height: 1.2em;
1029 font-size: 1.6em;
1030 padding-bottom: 0;
1031 }
1032 div#content a.external,
1033 div#content a[href ^="gopher://"] {
1034 /* @embed */
1035 background: url(images/external-link-ltr-icon.png) center right no-repeat;
1036 padding-right: 13px;
1037 }
1038 div#content a[href ^="https://"],
1039 .link-https {
1040 /* @embed */
1041 background: url(images/lock-icon.png) center right no-repeat;
1042 padding-right: 13px;
1043 }
1044 div#content a[href ^="mailto:"],
1045 .link-mailto {
1046 /* @embed */
1047 background: url(images/mail-icon.png) center right no-repeat;
1048 padding-right: 13px;
1049 }
1050 div#content a[href ^="news://"] {
1051 /* @embed */
1052 background: url(images/news-icon.png) center right no-repeat;
1053 padding-right: 13px;
1054 }
1055 div#content a[href ^="ftp://"],
1056 .link-ftp {
1057 /* @embed */
1058 background: url(images/file-icon.png) center right no-repeat;
1059 padding-right: 13px;
1060 }
1061 div#content a[href ^="irc://"],
1062 div#content a.extiw[href ^="irc://"],
1063 .link-irc {
1064 /* @embed */
1065 background: url(images/talk-icon.png) center right no-repeat;
1066 padding-right: 13px;
1067 }
1068 div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
1069 div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
1070 div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
1071 div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
1072 div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
1073 div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
1074 .link-audio {
1075 /* @embed */
1076 background: url("images/audio-icon.png?2") center right no-repeat;
1077 padding-right: 13px;
1078 }
1079 div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
1080 div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
1081 div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
1082 div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
1083 .link-video {
1084 /* @embed */
1085 background: url("images/video-icon.png?2") center right no-repeat;
1086 padding-right: 13px;
1087 }
1088 div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
1089 div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
1090 div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
1091 .link-document {
1092 /* @embed */
1093 background: url("images/document-icon.png?2") center right no-repeat;
1094 padding-right: 13px;
1095 }
1096 /* Interwiki Styling (Disabled) */
1097 div#content a.extiw,
1098 div#content a.extiw:active {
1099 color: #36b;
1100 background: none;
1101 padding: 0;
1102 }
1103 div#content a.external {
1104 color: #36b;
1105 }
1106 div#content .printfooter {
1107 display: none;
1108 }
1109 /* Icon for Usernames */
1110 #pt-userpage,
1111 #pt-anonuserpage,
1112 #pt-login {
1113 /* @embed */
1114 background: url(images/user-icon.png) left top no-repeat;
1115 padding-left: 15px !important;
1116 text-transform: none;
1117 }
1118
1119 .toccolours {
1120 border: 1px solid #aaa;
1121 background-color: #f9f9f9;
1122 padding: 5px;
1123 font-size: 95%;
1124 }
1125 #bodyContent {
1126 position: relative;
1127 width: 100%;
1128 }
1129 #mw-js-message {
1130 font-size: 0.8em;
1131 }
1132 div#bodyContent {
1133 line-height: 1.5em;
1134 }
1135
1136 /* Watch/Unwatch Icon Styling */
1137 #ca-unwatch.icon,
1138 #ca-watch.icon {
1139 margin-right:1px;
1140 }
1141 #ca-unwatch.icon a,
1142 #ca-watch.icon a {
1143 margin: 0;
1144 padding: 0;
1145 outline: none;
1146 display: block;
1147 width: 26px;
1148 /* This hides the text but shows the background image */
1149 padding-top: 3.1em;
1150 margin-top: 0;
1151 /* Only applied in IE6 */
1152 margin-top: -0.8em !ie;
1153 height: 0;
1154 overflow: hidden;
1155 /* @embed */
1156 background-image: url(images/watch-icons.png);
1157 }
1158 #ca-unwatch.icon a {
1159 background-position: -43px 60%;
1160 }
1161 #ca-watch.icon a {
1162 background-position: 5px 60%;
1163 }
1164 #ca-unwatch.icon a:hover,
1165 #ca-unwatch.icon a:focus {
1166 background-position: -67px 60%;
1167 }
1168 #ca-watch.icon a:hover,
1169 #ca-watch.icon a:focus {
1170 background-position: -19px 60%;
1171 }
1172 #ca-unwatch.icon a.loading,
1173 #ca-watch.icon a.loading {
1174 /* @embed */
1175 background-image: url(images/watch-icon-loading.gif);
1176 background-position: 5px 60%;
1177 }
1178 #ca-unwatch.icon a span,
1179 #ca-watch.icon a span {
1180 display: none;
1181 }
1182 div.vectorTabs ul {
1183 /* @embed */
1184 background-image:url(images/tab-break.png);
1185 background-position:right bottom;
1186 background-repeat:no-repeat;
1187 }
1188
1189 /* Convenience links to edit block, delete and protect reasons */
1190 p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
1191 p.mw-filedelete-editreasons, p.mw-delete-editreasons {
1192 float: right;
1193 }
1194
1195 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
1196 .tipsy {
1197 font-size: 0.8em;
1198 }