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