Adding overflow:hidden to heading elements in Vector.
[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 overflow: hidden;
703 padding-top: .5em;
704 padding-bottom: .17em;
705 border-bottom: 1px solid #aaa;
706 width: auto;
707 }
708 h1 { font-size: 188%; }
709 h1 .editsection { font-size: 53%; }
710 h2 { font-size: 150%; }
711 h2 .editsection { font-size: 67%; }
712 h3,
713 h4,
714 h5,
715 h6 {
716 border-bottom: none;
717 font-weight: bold;
718 }
719 h3 { font-size: 132%; }
720 h3 .editsection { font-size: 76%; font-weight: normal; }
721 h4 { font-size: 116%; }
722 h4 .editsection { font-size: 86%; font-weight: normal; }
723 h5 { font-size: 100%; }
724 h5 .editsection { font-weight: normal; }
725 h6 { font-size: 80%; }
726 h6 .editsection { font-size: 125%; font-weight: normal; }
727 .editsection { float: right; }
728 p {
729 margin: .4em 0 .5em 0;
730 line-height: 1.5em;
731 }
732 p img {
733 margin: 0;
734 }
735 abbr,
736 acronym,
737 .explain {
738 border-bottom: 1px dotted black;
739 color: black;
740 background: none;
741 cursor: help;
742 }
743 q {
744 font-family: Times, "Times New Roman", serif;
745 font-style: italic;
746 }
747 /* Disabled for now
748 blockquote {
749 font-family: Times, "Times New Roman", serif;
750 font-style: italic;
751 }*/
752 pre, code, tt, kbd, samp {
753 /*
754 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
755 * too small otherwise, namely Firefox, Chrome and Safari
756 */
757 font-family: monospace, "Courier New";
758 }
759 code {
760 background-color: #f9f9f9;
761 }
762 pre {
763 padding: 1em;
764 border: 1px dashed #2f6fab;
765 color: black;
766 background-color: #f9f9f9;
767 line-height: 1.1em;
768 }
769 ul {
770 line-height: 1.5em;
771 list-style-type: square;
772 margin: .3em 0 0 1.5em;
773 padding: 0;
774 /* @embed */
775 list-style-image: url(images/bullet-icon.png);
776 }
777 ol {
778 line-height: 1.5em;
779 margin: .3em 0 0 3.2em;
780 padding: 0;
781 list-style-image: none;
782 }
783 li {
784 margin-bottom: .1em;
785 }
786 dt {
787 font-weight: bold;
788 margin-bottom: .1em;
789 }
790 dl {
791 margin-top: .2em;
792 margin-bottom: .5em;
793 }
794 dd {
795 line-height: 1.5em;
796 margin-left: 2em;
797 margin-bottom: .1em;
798 }
799 /* Tables */
800 table {
801 font-size: 100%;
802 color: black;
803 /* we don't want the bottom borders of <h2>s to be visible through
804 * floated tables */
805 background-color: white;
806 }
807 fieldset table {
808 /* but keep table layouts in forms clean... */
809 background: none;
810 }
811 /* Forms */
812 fieldset {
813 border: 1px solid #2f6fab;
814 margin: 1em 0 1em 0;
815 padding: 0 1em 1em;
816 line-height: 1.5em;
817 }
818 fieldset.nested {
819 margin: 0 0 0.5em 0;
820 padding: 0 0.5em 0.5em;
821 }
822 legend {
823 padding: .5em;
824 font-size: 95%;
825 }
826 form {
827 border: none;
828 margin: 0;
829 }
830 textarea {
831 width: 100%;
832 padding: .1em;
833 }
834 select {
835 vertical-align: top;
836 }
837 /* Table of Contents */
838 #toc,
839 .toc,
840 .mw-warning {
841 border: 1px solid #aaa;
842 background-color: #f9f9f9;
843 padding: 5px;
844 font-size: 95%;
845 }
846 #toc h2,
847 .toc h2 {
848 display: inline;
849 border: none;
850 padding: 0;
851 font-size: 100%;
852 font-weight: bold;
853 }
854 #toc #toctitle,
855 .toc #toctitle,
856 #toc .toctitle,
857 .toc .toctitle {
858 text-align: center;
859 }
860 #toc ul,
861 .toc ul {
862 list-style-type: none;
863 list-style-image: none;
864 margin-left: 0;
865 padding-left: 0;
866 text-align: left;
867 }
868 #toc ul ul,
869 .toc ul ul {
870 margin: 0 0 0 2em;
871 }
872 #toc .toctoggle,
873 .toc .toctoggle {
874 font-size: 94%;
875 }
876 /* Images */
877 div.floatright, table.floatright {
878 clear: right;
879 float: right;
880 position: relative;
881 margin: 0 0 .5em .5em;
882 border: 0;
883 }
884 div.floatright p { font-style: italic; }
885 div.floatleft, table.floatleft {
886 float: left;
887 clear: left;
888 position: relative;
889 margin: 0 .5em .5em 0;
890 border: 0;
891 }
892 div.floatleft p { font-style: italic; }
893 /* Thumbnails */
894 div.thumb {
895 margin-bottom: .5em;
896 width: auto;
897 background-color: transparent;
898 }
899 div.thumbinner {
900 border: 1px solid #ccc;
901 padding: 3px !important;
902 background-color: #f9f9f9;
903 font-size: 94%;
904 text-align: center;
905 overflow: hidden;
906 }
907 html .thumbimage {
908 border: 1px solid #ccc;
909 }
910 html .thumbcaption {
911 border: none;
912 text-align: left;
913 line-height: 1.4em;
914 padding: 3px !important;
915 font-size: 94%;
916 }
917 div.magnify {
918 float: right;
919 border: none !important;
920 background: none !important;
921 }
922 div.magnify a, div.magnify img {
923 display: block;
924 border: none !important;
925 background: none !important;
926 }
927 /* @noflip */
928 div.tright {
929 clear: right;
930 float: right;
931 margin: .5em 0 1.3em 1.4em;
932 }
933 /* @noflip */
934 div.tleft {
935 float: left;
936 clear: left;
937 margin: .5em 1.9em 1.3em 0;
938 }
939 img.thumbborder {
940 border: 1px solid #dddddd;
941 }
942 .hiddenStructure {
943 display: none;
944 }
945 /* Warning */
946 .mw-warning {
947 margin-left: 50px;
948 margin-right: 50px;
949 text-align: center;
950 }
951 /* User Message */
952 .usermessage {
953 background-color: #e0e8ff;
954 border: 1px solid #99b3ff;
955 color: black;
956 font-weight: bold;
957 margin: 2em 0 1em;
958 padding: .5em 1em;
959 vertical-align: middle;
960 }
961 /* Site Notice (includes notices from CentralNotice extension) */
962 #siteNotice {
963 position: relative;
964 text-align: center;
965 font-size: 0.8em;
966 margin: 0;
967 }
968 #localNotice {
969 margin-bottom: 0.9em;
970 }
971 /* Categories */
972 .catlinks {
973 border: 1px solid #aaa;
974 background-color: #f9f9f9;
975 padding: 5px;
976 margin-top: 1em;
977 clear: both;
978 }
979 /* Sub-navigation */
980 #siteSub {
981 display: none;
982 }
983 #jump-to-nav {
984 display: none;
985 }
986 #contentSub, #contentSub2 {
987 font-size: 84%;
988 line-height: 1.2em;
989 margin: 0 0 1.4em 1em;
990 color: #7d7d7d;
991 width: auto;
992 }
993 span.subpages {
994 display: block;
995 }
996 /* Emulate Center */
997 .center {
998 width: 100%;
999 text-align: center;
1000 }
1001 *.center * {
1002 margin-left: auto;
1003 margin-right: auto;
1004 }
1005 /* Small for tables and similar */
1006 .small, .small * {
1007 font-size: 94%;
1008 }
1009 table.small {
1010 font-size: 100%;
1011 }
1012 /* Edge Cases for Content */
1013 h1, h2 {
1014 margin-bottom: .6em;
1015 }
1016 h3, h4, h5 {
1017 margin-bottom: .3em;
1018 }
1019 #firstHeading {
1020 padding-top: 0;
1021 margin-top: 0;
1022 padding-top: 0;
1023 margin-bottom: 0.1em;
1024 line-height: 1.2em;
1025 font-size: 1.6em;
1026 padding-bottom: 0;
1027 }
1028 div#content a.external,
1029 div#content a[href ^="gopher://"] {
1030 /* @embed */
1031 background: url(images/external-link-ltr-icon.png) center right no-repeat;
1032 padding-right: 13px;
1033 }
1034 div#content a[href ^="https://"],
1035 .link-https {
1036 /* @embed */
1037 background: url(images/lock-icon.png) center right no-repeat;
1038 padding-right: 13px;
1039 }
1040 div#content a[href ^="mailto:"],
1041 .link-mailto {
1042 /* @embed */
1043 background: url(images/mail-icon.png) center right no-repeat;
1044 padding-right: 13px;
1045 }
1046 div#content a[href ^="news://"] {
1047 /* @embed */
1048 background: url(images/news-icon.png) center right no-repeat;
1049 padding-right: 13px;
1050 }
1051 div#content a[href ^="ftp://"],
1052 .link-ftp {
1053 /* @embed */
1054 background: url(images/file-icon.png) center right no-repeat;
1055 padding-right: 13px;
1056 }
1057 div#content a[href ^="irc://"],
1058 div#content a.extiw[href ^="irc://"],
1059 .link-irc {
1060 /* @embed */
1061 background: url(images/talk-icon.png) center right no-repeat;
1062 padding-right: 13px;
1063 }
1064 div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
1065 div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
1066 div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
1067 div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
1068 div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
1069 div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
1070 .link-audio {
1071 /* @embed */
1072 background: url("images/audio-icon.png?2") center right no-repeat;
1073 padding-right: 13px;
1074 }
1075 div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
1076 div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
1077 div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
1078 div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
1079 .link-video {
1080 /* @embed */
1081 background: url("images/video-icon.png?2") center right no-repeat;
1082 padding-right: 13px;
1083 }
1084 div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
1085 div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
1086 div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
1087 .link-document {
1088 /* @embed */
1089 background: url("images/document-icon.png?2") center right no-repeat;
1090 padding-right: 13px;
1091 }
1092 /* Interwiki Styling (Disabled) */
1093 div#content a.extiw,
1094 div#content a.extiw:active {
1095 color: #36b;
1096 background: none;
1097 padding: 0;
1098 }
1099 div#content a.external {
1100 color: #36b;
1101 }
1102 div#content .printfooter {
1103 display: none;
1104 }
1105 /* Icon for Usernames */
1106 #pt-userpage,
1107 #pt-anonuserpage,
1108 #pt-login {
1109 /* @embed */
1110 background: url(images/user-icon.png) left top no-repeat;
1111 padding-left: 15px !important;
1112 text-transform: none;
1113 }
1114
1115 .toccolours {
1116 border: 1px solid #aaa;
1117 background-color: #f9f9f9;
1118 padding: 5px;
1119 font-size: 95%;
1120 }
1121 #bodyContent {
1122 position: relative;
1123 width: 100%;
1124 }
1125 #mw-js-message {
1126 font-size: 0.8em;
1127 }
1128 div#bodyContent {
1129 line-height: 1.5em;
1130 }
1131
1132 /* Watch/Unwatch Icon Styling */
1133 #ca-unwatch.icon,
1134 #ca-watch.icon {
1135 margin-right:1px;
1136 }
1137 #ca-unwatch.icon a,
1138 #ca-watch.icon a {
1139 margin: 0;
1140 padding: 0;
1141 outline: none;
1142 display: block;
1143 width: 26px;
1144 /* This hides the text but shows the background image */
1145 padding-top: 3.1em;
1146 height: 0;
1147 overflow: hidden;
1148 /* @embed */
1149 background-image: url(images/watch-icons.png);
1150 }
1151 #ca-unwatch.icon a {
1152 background-position: -43px 60%;
1153 }
1154 #ca-watch.icon a {
1155 background-position: 5px 60%;
1156 }
1157 #ca-unwatch.icon a:hover,
1158 #ca-unwatch.icon a:focus {
1159 background-position: -67px 60%;
1160 }
1161 #ca-watch.icon a:hover,
1162 #ca-watch.icon a:focus {
1163 background-position: -19px 60%;
1164 }
1165 #ca-unwatch.icon a.loading,
1166 #ca-watch.icon a.loading {
1167 /* @embed */
1168 background-image: url(images/watch-icon-loading.gif);
1169 background-position: center 60%;
1170 }
1171 #ca-unwatch.icon a span,
1172 #ca-watch.icon a span {
1173 display: none;
1174 }
1175 div.vectorTabs ul {
1176 /* @embed */
1177 background-image:url(images/tab-break.png);
1178 background-position:right bottom;
1179 background-repeat:no-repeat;
1180 }
1181
1182 /* Convenience links to edit block, delete and protect reasons */
1183 p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
1184 p.mw-filedelete-editreasons, p.mw-delete-editreasons {
1185 float: right;
1186 }
1187
1188 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
1189 .tipsy {
1190 font-size: 0.8em;
1191 }