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