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