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