(bug 1578) Add different icons for external links to audio, video, or PDF in Monobook...
[lhc/web/wiklou.git] / skins / monobook / main.css
1 /*
2 ** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke - http://wikidev.net/
4 ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
5 **
6 ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
7 ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
8 ** Michael Zeltner and Geir Bækholt)
9 ** All you guys rock :)
10 */
11
12 #column-content {
13 width: 100%;
14 float: right;
15 margin: 0 0 .6em -12.2em;
16 padding: 0;
17 }
18 #content {
19 margin: 2.8em 0 0 12.2em;
20 padding: 0 1em 1.5em 1em;
21 background: white;
22 color: black;
23 border: 1px solid #aaa;
24 border-right: none;
25 line-height: 1.5em;
26 position: relative;
27 z-index: 2;
28 }
29 #column-one {
30 padding-top: 160px;
31 }
32 /* the left column width is specified in class .portlet */
33
34 /* Font size:
35 ** We take advantage of keyword scaling- browsers won't go below 9px
36 ** More at http://www.w3.org/2003/07/30-font-size
37 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
38 */
39
40 body {
41 font: x-small sans-serif;
42 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
43 color: black;
44 margin: 0;
45 padding: 0;
46 }
47
48 /* scale back up to a sane default */
49 #globalWrapper {
50 font-size: 127%;
51 width: 100%;
52 margin: 0;
53 padding: 0;
54 }
55 .visualClear {
56 clear: both;
57 }
58
59 /* general styles */
60
61 table {
62 font-size: 100%;
63 color: black;
64 /* we don't want the bottom borders of <h2>s to be visible through
65 floated tables */
66 background-color: white;
67 }
68 a {
69 text-decoration: none;
70 color: #002bb8;
71 background: none;
72 }
73 a:visited {
74 color: #5a3696;
75 }
76 a:active {
77 color: #faa700;
78 }
79 a:hover {
80 text-decoration: underline;
81 }
82 a.stub {
83 color: #772233;
84 }
85 a.new, #p-personal a.new {
86 color: #ba0000;
87 }
88 a.new:visited, #p-personal a.new:visited {
89 color: #a55858;
90 }
91
92 img {
93 border: none;
94 vertical-align: middle;
95 }
96 p {
97 margin: .4em 0 .5em 0;
98 line-height: 1.5em;
99 }
100 p img {
101 margin: 0;
102 }
103
104 hr {
105 height: 1px;
106 color: #aaa;
107 background-color: #aaa;
108 border: 0;
109 margin: .2em 0 .2em 0;
110 }
111
112 h1, h2, h3, h4, h5, h6 {
113 color: black;
114 background: none;
115 font-weight: normal;
116 margin: 0;
117 padding-top: .5em;
118 padding-bottom: .17em;
119 border-bottom: 1px solid #aaa;
120 }
121 h1 { font-size: 188%; }
122 h1 .editsection { font-size: 53%; }
123 h2 { font-size: 150%; }
124 h2 .editsection { font-size: 67%; }
125 h3, h4, h5, h6 {
126 border-bottom: none;
127 font-weight: bold;
128 }
129 h3 { font-size: 132%; }
130 h3 .editsection { font-size: 76%; font-weight: normal; }
131 h4 { font-size: 116%; }
132 h4 .editsection { font-size: 86%; font-weight: normal; }
133 h5 { font-size: 100%; }
134 h5 .editsection { font-weight: normal; }
135 h6 { font-size: 80%; }
136 h6 .editsection { font-size: 125%; font-weight: normal; }
137
138 .editsection {
139 float: right;
140 margin-left: 5px;
141 }
142
143 ul {
144 line-height: 1.5em;
145 list-style-type: square;
146 margin: .3em 0 0 1.5em;
147 padding: 0;
148 list-style-image: url(bullet.gif);
149 }
150 ol {
151 line-height: 1.5em;
152 margin: .3em 0 0 3.2em;
153 padding: 0;
154 list-style-image: none;
155 }
156 li {
157 margin-bottom: .1em;
158 }
159 dt {
160 font-weight: bold;
161 margin-bottom: .1em;
162 }
163 dl {
164 margin-top: .2em;
165 margin-bottom: .5em;
166 }
167 dd {
168 line-height: 1.5em;
169 margin-left: 2em;
170 margin-bottom: .1em;
171 }
172
173 fieldset {
174 border: 1px solid #2f6fab;
175 margin: 1em 0 1em 0;
176 padding: 0 1em 1em;
177 line-height: 1.5em;
178 }
179 legend {
180 padding: .5em;
181 font-size: 95%;
182 }
183 form {
184 border: none;
185 margin: 0;
186 }
187
188 textarea {
189 width: 100%;
190 padding: .1em;
191 }
192
193 input.historysubmit {
194 padding: 0 .3em .3em .3em !important;
195 font-size: 94%;
196 cursor: pointer;
197 height: 1.7em !important;
198 margin-left: 1.6em;
199 }
200 select {
201 vertical-align: top;
202 }
203 abbr, acronym, .explain {
204 border-bottom: 1px dotted black;
205 color: black;
206 background: none;
207 cursor: help;
208 }
209 q {
210 font-family: Times, "Times New Roman", serif;
211 font-style: italic;
212 }
213 /* disabled for now
214 blockquote {
215 font-family: Times, "Times New Roman", serif;
216 font-style: italic;
217 }*/
218 code {
219 background-color: #f9f9f9;
220 }
221 pre {
222 padding: 1em;
223 border: 1px dashed #2f6fab;
224 color: black;
225 background-color: #f9f9f9;
226 line-height: 1.1em;
227 }
228
229 /*
230 ** the main content area
231 */
232
233 #siteSub {
234 display: none;
235 }
236
237 #jump-to-nav {
238 display: none;
239 }
240
241 #contentSub, #contentSub2 {
242 font-size: 84%;
243 line-height: 1.2em;
244 margin: 0 0 1.4em 1em;
245 color: #7d7d7d;
246 width: auto;
247 }
248 span.subpages {
249 display: block;
250 }
251
252 /* Some space under the headers in the content area */
253 #bodyContent h1, #bodyContent h2 {
254 margin-bottom: .6em;
255 }
256 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
257 margin-bottom: .3em;
258 }
259 .firstHeading {
260 margin-bottom: .1em;
261 }
262
263 /* user notification thing */
264 .usermessage {
265 background-color: #ffce7b;
266 border: 1px solid #ffa500;
267 color: black;
268 font-weight: bold;
269 margin: 2em 0 1em;
270 padding: .5em 1em;
271 vertical-align: middle;
272 }
273 #siteNotice {
274 text-align: center;
275 font-size: 95%;
276 padding: 0 .9em;
277 }
278 #siteNotice p {
279 margin: 0;
280 padding: 0;
281 }
282 .error {
283 color: red;
284 font-size: larger;
285 }
286 .errorbox, .successbox {
287 font-size: larger;
288 border: 2px solid;
289 padding: .5em 1em;
290 float: left;
291 margin-bottom: 2em;
292 color: #000;
293 }
294 .errorbox {
295 border-color: red;
296 background-color: #fff2f2;
297 }
298 .successbox {
299 border-color: green;
300 background-color: #dfd;
301 }
302 .errorbox h2, .successbox h2 {
303 font-size: 1em;
304 font-weight: bold;
305 display: inline;
306 margin: 0 .5em 0 0;
307 border: none;
308 }
309
310 #catlinks {
311 border: 1px solid #aaa;
312 background-color: #f9f9f9;
313 padding: 5px;
314 margin-top: 1em;
315 clear: both;
316 }
317 /* currently unused, intended to be used by a metadata box
318 in the bottom-right corner of the content area */
319 .documentDescription {
320 /* The summary text describing the document */
321 font-weight: bold;
322 display: block;
323 margin: 1em 0;
324 line-height: 1.5em;
325 }
326 .documentByLine {
327 text-align: right;
328 font-size: 90%;
329 clear: both;
330 font-weight: normal;
331 color: #76797c;
332 }
333
334 /* emulate center */
335 .center {
336 width: 100%;
337 text-align: center;
338 }
339 *.center * {
340 margin-left: auto;
341 margin-right: auto;
342 }
343 /* small for tables and similar */
344 .small, .small * {
345 font-size: 94%;
346 }
347 table.small {
348 font-size: 100%;
349 }
350
351 /*
352 ** content styles
353 */
354
355 #toc,
356 .toc,
357 .mw-warning {
358 border: 1px solid #aaa;
359 background-color: #f9f9f9;
360 padding: 5px;
361 font-size: 95%;
362 }
363 #toc h2,
364 .toc h2 {
365 display: inline;
366 border: none;
367 padding: 0;
368 font-size: 100%;
369 font-weight: bold;
370 }
371 #toc #toctitle,
372 .toc #toctitle,
373 #toc .toctitle,
374 .toc .toctitle {
375 text-align: center;
376 }
377 #toc ul,
378 .toc ul {
379 list-style-type: none;
380 list-style-image: none;
381 margin-left: 0;
382 padding-left: 0;
383 text-align: left;
384 }
385 #toc ul ul,
386 .toc ul ul {
387 margin: 0 0 0 2em;
388 }
389 #toc .toctoggle,
390 .toc .toctoggle {
391 font-size: 94%;
392 }
393
394 .mw-warning {
395 margin-left: 50px;
396 margin-right: 50px;
397 text-align: center;
398 }
399
400 /* images */
401 div.floatright, table.floatright {
402 clear: right;
403 float: right;
404 position: relative;
405 margin: 0 0 .5em .5em;
406 border: 0;
407 /*
408 border: .5em solid white;
409 border-width: .5em 0 .8em 1.4em;
410 */
411 }
412 div.floatright p { font-style: italic; }
413 div.floatleft, table.floatleft {
414 float: left;
415 position: relative;
416 margin: 0 .5em .5em 0;
417 border: 0;
418 /*
419 margin: .3em .5em .5em 0;
420 border: .5em solid white;
421 border-width: .5em 1.4em .8em 0;
422 */
423 }
424 div.floatleft p { font-style: italic; }
425 /* thumbnails */
426 div.thumb {
427 margin-bottom: .5em;
428 border-style: solid;
429 border-color: white;
430 width: auto;
431 }
432 div.thumb div {
433 border: 1px solid #ccc;
434 padding: 3px !important;
435 background-color: #f9f9f9;
436 font-size: 94%;
437 text-align: center;
438 overflow: hidden;
439 }
440 div.thumb div a img {
441 border: 1px solid #ccc;
442 }
443 div.thumb div div.thumbcaption {
444 border: none;
445 text-align: left;
446 line-height: 1.4em;
447 padding: .3em 0 .1em 0;
448 }
449 div.magnify {
450 float: right;
451 border: none !important;
452 background: none !important;
453 }
454 div.magnify a, div.magnify img {
455 display: block;
456 border: none !important;
457 background: none !important;
458 }
459 div.tright {
460 clear: right;
461 float: right;
462 border-width: .5em 0 .8em 1.4em;
463 }
464 div.tleft {
465 float: left;
466 margin-right: .5em;
467 border-width: .5em 1.4em .8em 0;
468 }
469
470 .hiddenStructure {
471 display: none;
472 speak: none;
473 }
474 img.tex {
475 vertical-align: middle;
476 }
477 span.texhtml {
478 font-family: serif;
479 }
480
481 /*
482 ** classes for special content elements like town boxes
483 ** intended to be referenced directly from the wiki src
484 */
485
486 /*
487 ** User styles
488 */
489 /* table standards */
490 table.rimage {
491 float: right;
492 position: relative;
493 margin-left: 1em;
494 margin-bottom: 1em;
495 text-align: center;
496 }
497 .toccolours {
498 border: 1px solid #aaa;
499 background-color: #f9f9f9;
500 padding: 5px;
501 font-size: 95%;
502 }
503 div.townBox {
504 position: relative;
505 float: right;
506 background: white;
507 margin-left: 1em;
508 border: 1px solid gray;
509 padding: .3em;
510 width: 200px;
511 overflow: hidden;
512 clear: right;
513 }
514 div.townBox dl {
515 padding: 0;
516 margin: 0 0 .3em;
517 font-size: 96%;
518 }
519 div.townBox dl dt {
520 background: none;
521 margin: .4em 0 0;
522 }
523 div.townBox dl dd {
524 margin: .1em 0 0 1.1em;
525 background-color: #f3f3f3;
526 }
527
528 /*
529 ** edit views etc
530 */
531 .special li {
532 line-height: 1.4em;
533 margin: 0;
534 padding: 0;
535 }
536
537 /* Page history styling */
538 /* the auto-generated edit comments */
539 .autocomment {
540 color: gray;
541 }
542 #pagehistory span.user {
543 margin-left: 1.4em;
544 margin-right: .4em;
545 }
546 #pagehistory span.minor {
547 font-weight: bold;
548 }
549 #pagehistory li {
550 border: 1px solid white;
551 }
552 #pagehistory li.selected {
553 background-color: #f9f9f9;
554 border: 1px dashed #aaa;
555 }
556
557 /*
558 ** Diff rendering
559 */
560 table.diff, td.diff-otitle, td.diff-ntitle {
561 background-color: white;
562 }
563 td.diff-addedline {
564 background: #cfc;
565 font-size: smaller;
566 }
567 td.diff-deletedline {
568 background: #ffa;
569 font-size: smaller;
570 }
571 td.diff-context {
572 background: #eee;
573 font-size: smaller;
574 }
575 span.diffchange {
576 color: red;
577 font-weight: bold;
578 }
579
580 /*
581 ** keep the whitespace in front of the ^=, hides rule from konqueror
582 ** this is css3, the validator doesn't like it when validating as css2
583 */
584 #bodyContent a.external,
585 #bodyContent a[href ^="gopher://"] {
586 background: url(external.png) center right no-repeat;
587 padding-right: 13px;
588 }
589 #bodyContent a[href ^="https://"],
590 .link-https {
591 background: url(lock_icon.gif) center right no-repeat;
592 padding-right: 16px;
593 }
594 #bodyContent a[href ^="mailto:"],
595 .link-mailto {
596 background: url(mail_icon.gif) center right no-repeat;
597 padding-right: 18px;
598 }
599 #bodyContent a[href ^="news://"] {
600 background: url(news_icon.png) center right no-repeat;
601 padding-right: 18px;
602 }
603 #bodyContent a[href ^="ftp://"],
604 .link-ftp {
605 background: url(file_icon.gif) center right no-repeat;
606 padding-right: 18px;
607 }
608 #bodyContent a[href ^="irc://"],
609 .link-irc {
610 background: url(discussionitem_icon.gif) center right no-repeat;
611 padding-right: 18px;
612 }
613 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
614 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
615 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
616 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
617 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
618 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
619 .link-audio {
620 background: url("audio.png") center right no-repeat;
621 padding-right: 13px;
622 }
623 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
624 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
625 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
626 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
627 #bodyContent a.external[href $=".swf"], #bodyContent a.external[href $=".SWF"],
628 .link-video {
629 background: url("video.png") center right no-repeat;
630 padding-right: 13px;
631 }
632 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
633 .link-document {
634 background: url("document.png") center right no-repeat;
635 padding-right: 12px;
636 }
637
638 /* disable interwiki styling */
639 #bodyContent a.extiw,
640 #bodyContent a.extiw:active {
641 color: #36b;
642 background: none;
643 padding: 0;
644 }
645 #bodyContent a.external {
646 color: #36b;
647 }
648 /* this can be used in the content area to switch off
649 special external link styling */
650 #bodyContent .plainlinks a {
651 background: none !important;
652 padding: 0 !important;
653 }
654 /*
655 ** Structural Elements
656 */
657
658 /*
659 ** general portlet styles (elements in the quickbar)
660 */
661 .portlet {
662 border: none;
663 margin: 0 0 .5em;
664 padding: 0;
665 float: none;
666 width: 11.6em;
667 overflow: hidden;
668 }
669 .portlet h4 {
670 font-size: 95%;
671 font-weight: normal;
672 white-space: nowrap;
673 }
674 .portlet h5 {
675 background: transparent;
676 padding: 0 1em 0 .5em;
677 display: inline;
678 height: 1em;
679 text-transform: lowercase;
680 font-size: 91%;
681 font-weight: normal;
682 white-space: nowrap;
683 }
684 .portlet h6 {
685 background: #ffae2e;
686 border: 1px solid #2f6fab;
687 border-style: solid solid none solid;
688 padding: 0 1em 0 1em;
689 text-transform: lowercase;
690 display: block;
691 font-size: 1em;
692 height: 1.2em;
693 font-weight: normal;
694 white-space: nowrap;
695 }
696 .pBody {
697 font-size: 95%;
698 background-color: white;
699 color: black;
700 border-collapse: collapse;
701 border: 1px solid #aaa;
702 padding: 0 .8em .3em .5em;
703 }
704 .portlet h1,
705 .portlet h2,
706 .portlet h3,
707 .portlet h4 {
708 margin: 0;
709 padding: 0;
710 }
711 .portlet ul {
712 line-height: 1.5em;
713 list-style-type: square;
714 list-style-image: url(bullet.gif);
715 font-size: 95%;
716 }
717 .portlet li {
718 padding: 0;
719 margin: 0;
720 }
721
722 /*
723 ** Logo properties
724 */
725
726 #p-logo {
727 z-index: 3;
728 position: absolute; /*needed to use z-index */
729 top: 0;
730 left: 0;
731 height: 155px;
732 width: 12em;
733 overflow: visible;
734 }
735 #p-logo h5 {
736 display: none;
737 }
738 #p-logo a,
739 #p-logo a:hover {
740 display: block;
741 height: 155px;
742 width: 12.2em;
743 background-repeat: no-repeat;
744 background-position: 35% 50% !important;
745 text-decoration: none;
746 }
747
748 /*
749 ** the navigation portlet
750 */
751
752 #p-navigation {
753 position: relative;
754 z-index: 3;
755 }
756
757 #p-navigation .pBody {
758 padding-right: 0;
759 }
760
761 #p-navigation a {
762 display: block;
763 }
764
765 #p-navigation li.active a, #p-navigation li.active a:hover {
766 text-decoration: none;
767 display: inline;
768 font-weight: bold;
769 }
770
771
772 /*
773 ** Search portlet
774 */
775 #p-search {
776 position: relative;
777 z-index: 3;
778 }
779 input.searchButton {
780 margin-top: 1px;
781 font-size: 95%;
782 }
783 #searchGoButton {
784 padding-left: .5em;
785 padding-right: .5em;
786 font-weight: bold;
787 }
788 #searchInput {
789 width: 10.9em;
790 margin: 0;
791 font-size: 95%;
792 }
793 #p-search .pBody {
794 padding: .5em .4em .4em .4em;
795 text-align: center;
796 }
797
798 /*
799 ** the personal toolbar
800 */
801
802 #p-personal {
803 width: 100%;
804 white-space: nowrap;
805 padding: 0;
806 margin: 0;
807 position: absolute;
808 left: 0;
809 top: 0;
810 z-index: 0;
811 border: none;
812 background: none;
813 overflow: visible;
814 line-height: 1.2em;
815 }
816
817 #p-personal h5 {
818 display: none;
819 }
820 #p-personal .portlet,
821 #p-personal .pBody {
822 padding: 0;
823 margin: 0;
824 border: none;
825 z-index: 0;
826 overflow: visible;
827 background: none;
828 }
829 /* this is the ul contained in the portlet */
830 #p-personal ul {
831 border: none;
832 line-height: 1.4em;
833 color: #2f6fab;
834 padding: 0 2em 0 3em;
835 margin: 0;
836 text-align: right;
837 text-transform: lowercase;
838 list-style: none;
839 z-index: 0;
840 background: none;
841 cursor: default;
842 }
843 #p-personal li {
844 z-index: 0;
845 border: none;
846 padding: 0;
847 display: inline;
848 color: #2f6fab;
849 margin-left: 1em;
850 line-height: 1.2em;
851 background: none;
852 }
853 #p-personal li.active {
854 font-weight: bold;
855 }
856 #p-personal li a {
857 text-decoration: none;
858 color: #005896;
859 padding-bottom: .2em;
860 background: none;
861 }
862 #p-personal li a:hover {
863 background-color: white;
864 padding-bottom: .2em;
865 text-decoration: none;
866 }
867 #p-personal li.active a:hover {
868 background-color: transparent;
869 }
870 /* the icon in front of the user name, single quotes
871 in bg url to hide it from iemac */
872 li#pt-userpage,
873 li#pt-anonuserpage,
874 li#pt-login {
875 background: url(user.gif) top left no-repeat;
876 padding-left: 20px;
877 text-transform: none;
878 }
879
880 /*
881 ** the page-related actions- page/talk, edit etc
882 */
883 #p-cactions {
884 position: absolute;
885 top: 1.3em;
886 left: 11.5em;
887 margin: 0;
888 white-space: nowrap;
889 width: 76%;
890 line-height: 1.1em;
891 overflow: visible;
892 background: none;
893 border-collapse: collapse;
894 padding-left: 1em;
895 list-style: none;
896 font-size: 95%;
897 }
898 #p-cactions .hiddenStructure {
899 display: none;
900 }
901 #p-cactions ul {
902 list-style: none;
903 }
904 #p-cactions li {
905 display: inline;
906 border: 1px solid #aaa;
907 border-bottom: none;
908 padding: 0 0 .1em 0;
909 margin: 0 .3em 0 0;
910 overflow: visible;
911 background: white;
912 }
913 #p-cactions li.selected {
914 border-color: #fabd23;
915 padding: 0 0 .2em 0;
916 font-weight: bold;
917 }
918 #p-cactions li a {
919 background-color: #fbfbfb;
920 color: #002bb8;
921 border: none;
922 padding: 0 .8em .3em;
923 text-decoration: none;
924 text-transform: lowercase;
925 position: relative;
926 z-index: 0;
927 margin: 0;
928 }
929 #p-cactions li.selected a {
930 z-index: 3;
931 background-color: #fff;
932 padding: 0 1em .2em!important;
933 }
934 #p-cactions .new a {
935 color: #ba0000;
936 }
937 #p-cactions li a:hover {
938 z-index: 3;
939 text-decoration: none;
940 background-color: #fff;
941 }
942 #p-cactions h5 {
943 display: none;
944 }
945 #p-cactions li.istalk {
946 margin-right: 0;
947 }
948 #p-cactions li.istalk a {
949 padding-right: .5em;
950 }
951 #p-cactions #ca-addsection a {
952 padding-left: .4em;
953 padding-right: .4em;
954 }
955 /* offsets to distinguish the tab groups */
956 li#ca-talk {
957 margin-right: 1.6em;
958 }
959 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
960 margin-left: 1.6em;
961 }
962
963 /*
964 ** the remaining portlets
965 */
966 #p-tbx,
967 #p-lang {
968 position: relative;
969 z-index: 3;
970 }
971
972 /* TODO: #t-iscite is only used by the Cite extension, come up with some
973 * system which allows extensions to add to this file on the fly
974 */
975 #t-ispermalink, #t-iscite {
976 color: #999;
977 }
978 /*
979 ** footer
980 */
981 #footer {
982 background-color: white;
983 border-top: 1px solid #fabd23;
984 border-bottom: 1px solid #fabd23;
985 margin: .6em 0 1em 0;
986 padding: .4em 0 1.2em 0;
987 text-align: center;
988 font-size: 90%;
989 }
990 #footer li {
991 display: inline;
992 margin: 0 1.3em;
993 }
994 /* hide from incapable browsers */
995 head:first-child+body #footer li { white-space: nowrap; }
996 #f-poweredbyico, #f-copyrightico {
997 margin: 0 8px;
998 position: relative;
999 top: -2px; /* Bump it up just a tad */
1000 }
1001 #f-poweredbyico {
1002 float: right;
1003 height: 1%;
1004 }
1005 #f-copyrightico {
1006 float: left;
1007 height: 1%;
1008 }
1009
1010 /* js pref toc */
1011 #preftoc {
1012 margin: 0;
1013 padding: 0;
1014 width: 100%;
1015 clear: both;
1016 }
1017 #preftoc li {
1018 margin: 1px -2px 1px 2px;
1019 float: left;
1020 padding: 2px 0 3px 0;
1021 background-color: #f0f0f0;
1022 color: #000;
1023 border: 1px solid #fff;
1024 border-right-color: #716f64;
1025 border-bottom: 0;
1026 position: relative;
1027 white-space: nowrap;
1028 list-style-type: none;
1029 list-style-image: none;
1030 z-index: 3;
1031 }
1032 #preftoc li.selected {
1033 font-weight: bold;
1034 background-color: #f9f9f9;
1035 border: 1px solid #aaa;
1036 border-bottom: none;
1037 cursor: default;
1038 top: 1px;
1039 padding-top: 2px;
1040 margin-right: -3px;
1041 }
1042 #preftoc > li.selected {
1043 top: 2px;
1044 }
1045 #preftoc a,
1046 #preftoc a:active {
1047 display: block;
1048 color: #000;
1049 padding: 0 .7em;
1050 position: relative;
1051 text-decoration: none;
1052 }
1053 #preftoc li.selected a {
1054 cursor: default;
1055 text-decoration: none;
1056 }
1057 #prefcontrol {
1058 padding-top: 2em;
1059 clear: both;
1060 }
1061 #preferences {
1062 margin: 0;
1063 border: 1px solid #aaa;
1064 clear: both;
1065 padding: 1.5em;
1066 background-color: #F9F9F9;
1067 }
1068 .prefsection {
1069 border: none;
1070 padding: 0;
1071 margin: 0;
1072 }
1073 .prefsection fieldset {
1074 border: 1px solid #aaa;
1075 float: left;
1076 margin-right: 2em;
1077 }
1078 .prefsection legend {
1079 font-weight: bold;
1080 }
1081 .prefsection table, .prefsection legend {
1082 background-color: #F9F9F9;
1083 }
1084 .mainLegend {
1085 display: none;
1086 }
1087 div.prefsectiontip {
1088 font-size: 95%;
1089 margin-top: 0;
1090 background-color: #FFC1C1;
1091 padding: .2em .7em;
1092 clear: both;
1093 }
1094 .btnSavePrefs {
1095 font-weight: bold;
1096 padding-left: .3em;
1097 padding-right: .3em;
1098 }
1099
1100 .preferences-login {
1101 clear: both;
1102 margin-bottom: 1.5em;
1103 }
1104
1105 .prefcache {
1106 font-size: 90%;
1107 margin-top: 2em;
1108 }
1109
1110 div#userloginForm form,
1111 div#userlogin form#userlogin2 {
1112 margin: 0 3em 1em 0;
1113 border: 1px solid #aaa;
1114 clear: both;
1115 padding: 1.5em 2em;
1116 background-color: #f9f9f9;
1117 float: left;
1118 }
1119
1120 div#userloginForm table,
1121 div#userlogin form#userlogin2 table {
1122 background-color: #f9f9f9;
1123 }
1124
1125 div#userloginForm h2,
1126 div#userlogin form#userlogin2 h2 {
1127 padding-top: 0;
1128 }
1129
1130 div#userlogin .captcha {
1131 border: 1px solid #bbb;
1132 padding: 1.5em 2em;
1133 width: 400px;
1134 background-color: white;
1135 }
1136
1137
1138 #userloginprompt, #languagelinks {
1139 font-size: 85%;
1140 }
1141
1142 #login-sectiontip {
1143 font-size: 85%;
1144 line-height: 1.2;
1145 padding-top: 2em;
1146 }
1147
1148 #userlogin .loginText, #userlogin .loginPassword {
1149 width: 12em;
1150 }
1151
1152 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1153 font-weight: bold;
1154 }
1155
1156 /*
1157 ** IE/Mac fixes, hope to find a validating way to move this
1158 ** to a separate stylesheet. This would work but doesn't validate:
1159 ** @import("IEMacFixes.css");
1160 */
1161 /* tabs: border on the a, not the div */
1162 * > html #p-cactions li { border: none; }
1163 * > html #p-cactions li a {
1164 border: 1px solid #aaa;
1165 border-bottom: none;
1166 }
1167 * > html #p-cactions li.selected a { border-color: #fabd23; }
1168 /* footer icons need a fixed width */
1169 * > html #f-poweredbyico,
1170 * > html #f-copyrightico { width: 88px; }
1171 * > html #bodyContent,
1172 * > html #bodyContent pre {
1173 overflow-x: auto;
1174 width: 100%;
1175 padding-bottom: 25px;
1176 }
1177
1178 /* more IE fixes */
1179 /* float/negative margin brokenness */
1180 * html #footer {margin-top: 0;}
1181 * html #column-content {
1182 display: inline;
1183 margin-bottom: 0;
1184 }
1185 * html div.editsection { font-size: smaller; }
1186 #pagehistory li.selected { position: relative; }
1187
1188 /* Mac IE 5.0 fix; floated content turns invisible */
1189 * > html #column-content {
1190 float: none;
1191 }
1192 * > html #column-one {
1193 position: absolute;
1194 left: 0;
1195 top: 0;
1196 }
1197 * > html #footer {
1198 margin-left: 13.2em;
1199 }
1200 .redirectText {
1201 font-size: 150%;
1202 margin: 5px;
1203 }
1204
1205 .printfooter {
1206 display: none;
1207 }
1208
1209 .not-patrolled {
1210 background-color: #ffa;
1211 }
1212 div.patrollink {
1213 font-size: 75%;
1214 text-align: right;
1215 }
1216 span.newpage, span.minor, span.searchmatch, span.bot {
1217 font-weight: bold;
1218 }
1219 span.unpatrolled {
1220 font-weight: bold;
1221 color: red;
1222 }
1223
1224 span.searchmatch {
1225 color: red;
1226 }
1227 .sharedUploadNotice {
1228 font-style: italic;
1229 }
1230
1231 span.updatedmarker {
1232 color: black;
1233 background-color: #0f0;
1234 }
1235 span.newpageletter {
1236 font-weight: bold;
1237 color: black;
1238 background-color: yellow;
1239 }
1240 span.minoreditletter {
1241 color: black;
1242 background-color: #c5ffe6;
1243 }
1244
1245 table.gallery {
1246 border: 1px solid #ccc;
1247 margin: 2px;
1248 padding: 2px;
1249 background-color: white;
1250 }
1251
1252 table.gallery tr {
1253 vertical-align: top;
1254 }
1255
1256 table.gallery td {
1257 vertical-align: top;
1258 background-color: #f9f9f9;
1259 border: solid 2px white;
1260 }
1261
1262 table.gallery td.galleryheader {
1263 text-align: center;
1264 font-weight: bold;
1265 }
1266
1267 div.gallerybox {
1268 margin: 2px;
1269 width: 150px;
1270 }
1271
1272 div.gallerybox div.thumb {
1273 text-align: center;
1274 border: 1px solid #ccc;
1275 margin: 2px;
1276 }
1277
1278 div.gallerytext {
1279 font-size: 94%;
1280 padding: 2px 4px;
1281 }
1282
1283 span.comment {
1284 font-style: italic;
1285 }
1286
1287 span.changedby {
1288 font-size: 95%;
1289 }
1290
1291 .previewnote {
1292 text-indent: 3em;
1293 color: #c00;
1294 border-bottom: 1px solid #aaa;
1295 padding-bottom: 1em;
1296 margin-bottom: 1em;
1297 }
1298
1299 .previewnote p {
1300 margin: 0;
1301 padding: 0;
1302 }
1303
1304 .editExternally {
1305 border: 1px solid gray;
1306 background-color: #ffffff;
1307 padding: 3px;
1308 margin-top: 0.5em;
1309 float: left;
1310 font-size: small;
1311 text-align: center;
1312 }
1313 .editExternallyHelp {
1314 font-style: italic;
1315 color: gray;
1316 }
1317
1318 li span.deleted, span.history-deleted {
1319 text-decoration: line-through;
1320 color: #888;
1321 font-style: italic;
1322 }
1323
1324 .toggle {
1325 margin-left: 2em;
1326 text-indent: -2em;
1327 }
1328
1329 /* Classes for EXIF data display */
1330 table.mw_metadata {
1331 font-size: 0.8em;
1332 margin-left: 0.5em;
1333 margin-bottom: 0.5em;
1334 width: 300px;
1335 }
1336
1337 table.mw_metadata caption {
1338 font-weight: bold;
1339 }
1340
1341 table.mw_metadata th {
1342 font-weight: normal;
1343 }
1344
1345 table.mw_metadata td {
1346 padding: 0.1em;
1347 }
1348
1349 table.mw_metadata {
1350 border: none;
1351 border-collapse: collapse;
1352 }
1353
1354 table.mw_metadata td, table.mw_metadata th {
1355 text-align: center;
1356 border: 1px solid #aaaaaa;
1357 padding-left: 0.1em;
1358 padding-right: 0.1em;
1359 }
1360
1361 table.mw_metadata th {
1362 background-color: #f9f9f9;
1363 }
1364
1365 table.mw_metadata td {
1366 background-color: #fcfcfc;
1367 }
1368
1369 table.collapsed tr.collapsable {
1370 display: none;
1371 }
1372
1373
1374 /* filetoc */
1375 ul#filetoc {
1376 text-align: center;
1377 border: 1px solid #aaaaaa;
1378 background-color: #f9f9f9;
1379 padding: 5px;
1380 font-size: 95%;
1381 margin-bottom: 0.5em;
1382 margin-left: 0;
1383 margin-right: 0;
1384 }
1385
1386 #filetoc li {
1387 display: inline;
1388 list-style-type: none;
1389 padding-right: 2em;
1390 }
1391
1392 input#wpSummary {
1393 width: 80%;
1394 }
1395
1396 /* @bug 1714 */
1397 input#wpSave, input#wpDiff {
1398 margin-right: 0.33em;
1399 }
1400
1401 #editform .editOptions {
1402 display: inline;
1403 }
1404
1405 #wpSave {
1406 font-weight: bold;
1407 }
1408
1409 /* Classes for article validation */
1410
1411 table.revisionform_default {
1412 border: 1px solid #000000;
1413 }
1414
1415 table.revisionform_focus {
1416 border: 1px solid #000000;
1417 background-color:#00BBFF;
1418 }
1419
1420 tr.revision_tr_default {
1421 background-color:#EEEEEE;
1422 }
1423
1424 tr.revision_tr_first {
1425 background-color:#DDDDDD;
1426 }
1427
1428 p.revision_saved {
1429 color: green;
1430 font-weight:bold;
1431 }
1432
1433 #mw_trackbacks {
1434 border: solid 1px #bbbbff;
1435 background-color: #eeeeff;
1436 padding: 0.2em;
1437 }
1438
1439
1440 /* Allmessages table */
1441
1442 #allmessagestable th {
1443 background-color: #b2b2ff;
1444 }
1445
1446 #allmessagestable tr.orig {
1447 background-color: #ffe2e2;
1448 }
1449
1450 #allmessagestable tr.new {
1451 background-color: #e2ffe2;
1452 }
1453
1454 #allmessagestable tr.def {
1455 background-color: #f0f0ff;
1456 }
1457
1458
1459 /* noarticletext */
1460 div.noarticletext {
1461 border: 1px solid #ccc;
1462 background: #fff;
1463 padding: .2em 1em;
1464 color: #000;
1465 }
1466
1467 div#searchTargetContainer {
1468 left: 10px;
1469 top: 10px;
1470 width: 90%;
1471 background: white;
1472 }
1473
1474 div#searchTarget {
1475 padding: 3px;
1476 margin: 5px;
1477 background: #F0F0F0;
1478 border: solid 1px blue;
1479 }
1480
1481 div#searchTarget ul li {
1482 list-style: none;
1483 }
1484
1485 div#searchTarget ul li:before {
1486 color: orange;
1487 content: "\00BB \0020";
1488 }
1489
1490 div.multipageimagenavbox {
1491 border: solid 1px silver;
1492 padding: 4px;
1493 margin: 1em;
1494 -moz-border-radius: 6px;
1495 background: #f0f0f0;
1496 }
1497
1498 div.multipageimagenavbox div.thumb {
1499 border: none;
1500 margin-left: 2em;
1501 margin-right: 2em;
1502 }
1503
1504 div.multipageimagenavbox hr {
1505 margin: 6px;
1506 }
1507
1508 table.multipageimage td {
1509 text-align: center;
1510 }
1511
1512 /*
1513 Table pager (e.g. Special:Imagelist)
1514 - remove underlines from the navigation link
1515 - collapse borders
1516 - set the borders to outsets (similar to Special:Allmessages)
1517 - remove line wrapping for all td and th, set background color
1518 - restore line wrapping for the last two table cells (description and size)
1519 */
1520 .TablePager_nav a { text-decoration: none; }
1521 .TablePager { border-collapse: collapse; }
1522 .TablePager, .TablePager td, .TablePager th {
1523 border: 0.15em solid #777777;
1524 padding: 0 0.15em 0 0.15em;
1525 }
1526 .TablePager th { background-color: #eeeeff }
1527 .TablePager td { background-color: #ffffff }
1528 .TablePager tr:hover td { background-color: #eeeeff }
1529
1530 .imagelist td, .imagelist th { white-space: nowrap }
1531 .imagelist .TablePager_col_links { background-color: #eeeeff }
1532 .imagelist .TablePager_col_img_description { white-space: normal }
1533 .imagelist th.TablePager_sort { background-color: #ccccff }
1534
1535 .templatesUsed { margin-top: 1.5em; }