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