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