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