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