(bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix...
[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 word-wrap: break-word;
792 padding: 1em;
793 border: 1px solid #EBEBEB;
794 color: black;
795 background-color: #F7F7F7;
796 line-height: 1.1em;
797 }
798 ul {
799 line-height: 1.5em;
800 list-style-type: square;
801 margin: .3em 0 0 1.5em;
802 padding: 0;
803 /* @embed */
804 list-style-image: url(images/bullet-icon.png);
805 }
806 ol {
807 line-height: 1.5em;
808 margin: .3em 0 0 3.2em;
809 padding: 0;
810 list-style-image: none;
811 }
812 li {
813 margin-bottom: .1em;
814 }
815 dt {
816 font-weight: bold;
817 margin-bottom: .1em;
818 }
819 dl {
820 margin-top: .2em;
821 margin-bottom: .5em;
822 }
823 dd {
824 line-height: 1.5em;
825 margin-left: 2em;
826 margin-bottom: .1em;
827 }
828 /* Tables */
829 table {
830 font-size: 100%;
831 }
832 /* Forms */
833 fieldset {
834 border: 1px solid #2f6fab;
835 margin: 1em 0 1em 0;
836 padding: 0 1em 1em;
837 line-height: 1.5em;
838 }
839 fieldset.nested {
840 margin: 0 0 0.5em 0;
841 padding: 0 0.5em 0.5em;
842 }
843 legend {
844 padding: .5em;
845 font-size: 95%;
846 }
847 form {
848 border: none;
849 margin: 0;
850 }
851 textarea {
852 width: 100%;
853 padding: .1em;
854 }
855 select {
856 vertical-align: top;
857 }
858 /* Table of Contents */
859 #toc,
860 .toc,
861 .mw-warning {
862 border: 1px solid #aaa;
863 background-color: #f9f9f9;
864 padding: 5px;
865 font-size: 95%;
866 }
867 #toc h2,
868 .toc h2 {
869 display: inline;
870 border: none;
871 padding: 0;
872 font-size: 100%;
873 font-weight: bold;
874 }
875 #toc #toctitle,
876 .toc #toctitle,
877 #toc .toctitle,
878 .toc .toctitle {
879 text-align: center;
880 }
881 #toc ul,
882 .toc ul {
883 list-style-type: none;
884 list-style-image: none;
885 margin-left: 0;
886 padding-left: 0;
887 text-align: left;
888 }
889 #toc ul ul,
890 .toc ul ul {
891 margin: 0 0 0 2em;
892 }
893 #toc .toctoggle,
894 .toc .toctoggle {
895 font-size: 94%;
896 }
897 /* Images */
898 div.floatright, table.floatright {
899 clear: right;
900 float: right;
901 position: relative;
902 margin: 0 0 .5em .5em;
903 border: 0;
904 }
905 div.floatright p { font-style: italic; }
906 div.floatleft, table.floatleft {
907 float: left;
908 clear: left;
909 position: relative;
910 margin: 0 .5em .5em 0;
911 border: 0;
912 }
913 div.floatleft p { font-style: italic; }
914 /* Thumbnails */
915 div.thumb {
916 margin-bottom: .5em;
917 width: auto;
918 background-color: transparent;
919 }
920 div.thumbinner {
921 border: 1px solid #ccc;
922 padding: 3px !important;
923 background-color: #f9f9f9;
924 font-size: 94%;
925 text-align: center;
926 overflow: hidden;
927 }
928 html .thumbimage {
929 border: 1px solid #ccc;
930 }
931 html .thumbcaption {
932 border: none;
933 text-align: left;
934 line-height: 1.4em;
935 padding: 3px !important;
936 font-size: 94%;
937 }
938 div.magnify {
939 float: right;
940 border: none !important;
941 background: none !important;
942 }
943 div.magnify a, div.magnify img {
944 display: block;
945 border: none !important;
946 background: none !important;
947 }
948 /* @noflip */
949 div.tright {
950 clear: right;
951 float: right;
952 margin: .5em 0 1.3em 1.4em;
953 }
954 /* @noflip */
955 div.tleft {
956 float: left;
957 clear: left;
958 margin: .5em 1.4em 1.3em 0;
959 }
960 img.thumbborder {
961 border: 1px solid #dddddd;
962 }
963 /* Warning */
964 .mw-warning {
965 margin-left: 50px;
966 margin-right: 50px;
967 text-align: center;
968 }
969 /* User Message */
970 .usermessage {
971 background-color: #ffce7b;
972 border: 1px solid #ffa500;
973 color: black;
974 font-weight: bold;
975 margin: 2em 0 1em;
976 padding: .5em 1em;
977 vertical-align: middle;
978 }
979 /* Site Notice (includes notices from CentralNotice extension) */
980 #siteNotice {
981 position: relative;
982 text-align: center;
983 font-size: 0.8em;
984 margin: 0;
985 }
986 #localNotice {
987 margin-bottom: 0.9em;
988 }
989 /* Categories */
990 .catlinks {
991 border: 1px solid #aaa;
992 background-color: #f9f9f9;
993 padding: 5px;
994 margin-top: 1em;
995 clear: both;
996 }
997 /* Sub-navigation */
998 #siteSub {
999 display: none;
1000 }
1001 #jump-to-nav {
1002 display: none;
1003 }
1004 #contentSub, #contentSub2 {
1005 font-size: 84%;
1006 line-height: 1.2em;
1007 margin: 0 0 1.4em 1em;
1008 color: #7d7d7d;
1009 width: auto;
1010 }
1011 span.subpages {
1012 display: block;
1013 }
1014 /* Emulate Center */
1015 .center {
1016 width: 100%;
1017 text-align: center;
1018 }
1019 *.center * {
1020 margin-left: auto;
1021 margin-right: auto;
1022 }
1023 /* Small for tables and similar */
1024 .small {
1025 font-size: 94%;
1026 }
1027 table.small {
1028 font-size: 100%;
1029 }
1030 /* Edge Cases for Content */
1031 h1, h2 {
1032 margin-bottom: .6em;
1033 }
1034 h3, h4, h5 {
1035 margin-bottom: .3em;
1036 }
1037 #firstHeading {
1038 padding-top: 0;
1039 margin-top: 0;
1040 padding-top: 0;
1041 margin-bottom: 0.1em;
1042 line-height: 1.2em;
1043 font-size: 1.6em;
1044 padding-bottom: 0;
1045 }
1046 div#content a.external,
1047 div#content a[href ^="gopher://"] {
1048 /* @embed */
1049 background: url(images/external-link-ltr-icon.png) center right no-repeat;
1050 padding-right: 13px;
1051 }
1052 div#content a[href ^="https://"],
1053 .link-https {
1054 /* @embed */
1055 background: url(images/lock-icon.png) center right no-repeat;
1056 padding-right: 13px;
1057 }
1058 div#content a[href ^="mailto:"],
1059 .link-mailto {
1060 /* @embed */
1061 background: url(images/mail-icon.png) center right no-repeat;
1062 padding-right: 13px;
1063 }
1064 div#content a[href ^="news://"] {
1065 /* @embed */
1066 background: url(images/news-icon.png) center right no-repeat;
1067 padding-right: 13px;
1068 }
1069 div#content a[href ^="ftp://"],
1070 .link-ftp {
1071 /* @embed */
1072 background: url(images/file-icon.png) center right no-repeat;
1073 padding-right: 13px;
1074 }
1075 div#content a[href ^="irc://"],
1076 div#content a.extiw[href ^="irc://"],
1077 div#content a[href ^="ircs://"],
1078 div#content a.extiw[href ^="ircs://"],
1079 .link-irc {
1080 /* @embed */
1081 background: url(images/talk-icon.png) center right no-repeat;
1082 padding-right: 13px;
1083 }
1084 div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
1085 div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
1086 div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
1087 div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
1088 div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
1089 div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
1090 .link-audio {
1091 /* @embed */
1092 background: url("images/audio-icon.png?2") center right no-repeat;
1093 padding-right: 13px;
1094 }
1095 div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
1096 div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
1097 div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
1098 div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
1099 .link-video {
1100 /* @embed */
1101 background: url("images/video-icon.png?2") center right no-repeat;
1102 padding-right: 13px;
1103 }
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 div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
1107 .link-document {
1108 /* @embed */
1109 background: url("images/document-icon.png?2") center right no-repeat;
1110 padding-right: 13px;
1111 }
1112
1113 /* Interwiki Styling */
1114 div#content a.extiw,
1115 div#content a.extiw:active {
1116 color: #36b;
1117 /* Don't show icons for interwiki links */
1118 background: none;
1119 padding: 0;
1120 }
1121 div#content a.extiw:visited {
1122 color: #636;
1123 }
1124 div#content a.extiw:active {
1125 color: #b63;
1126 }
1127
1128 /* External links */
1129 div#content a.external {
1130 color: #36b;
1131 }
1132 div#content a.external:visited {
1133 color: #636; /* bug 3112 */
1134 }
1135 div#content a.external:active {
1136 color: #b63;
1137 }
1138 /* External URLs should always be treated as LTR (bug 4330) */
1139 div#content .rtl a.external {
1140 direction: ltr;
1141 unicode-bidi: embed;
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 }