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