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