Port r51457 from monobook to modern, simple and Vector.
[lhc/web/wiklou.git] / skins / modern / main.css
1 body {
2 margin: 0 0 0 0;
3 padding: 0 0 0 0;
4 /*font-size: 10pt;*/
5 font-size: x-small;
6
7
8 font-family: sans-serif;
9 color: black;
10 background-color: #f0f0f0;
11
12 direction: ltr;
13 unicode-bidi: embed;
14 }
15
16 #mw_main,
17 #p-personal,
18 #mw_header,
19 .os-suggest {
20 font-size: 130%;
21 }
22
23 #mw_header {
24 position: absolute;
25 top: 0;
26 left: 0;
27 margin: 0 0 0 0;
28 padding: 0 0em 0 0em;
29 border: none;
30 height: 2em;
31 width: 100%;
32
33 background-color: #003366;
34 color: white;
35 }
36
37 #mw_header h1 {
38 margin: 0 0 0 0.5em;
39 padding: 0 0 0 0;
40 text-decoration: none;
41 font-size: 150%;
42 }
43
44 #p-personal {
45 position: absolute;
46 top: 2em;
47 left: 0;
48 height: 1.5em;
49 margin: 0 0 0 0;
50 padding: 0 0 0 0;
51 width: 100%;
52
53 }
54
55 #p-personal div.pBody {
56 margin: 0 0 0 0;
57 padding: 0 0 0 0;
58 height: 1.5em;
59 font-variant: small-caps;
60 }
61
62 #p-personal h5 {
63 display: none;
64 }
65
66 #p-personal ul {
67 margin: 0 0 0 0;
68 padding: 0 0 0 0;
69 display: block;
70 height: 1.5em;
71 background-color: #3c78b5;
72 }
73
74 #p-personal li {
75 display: block;
76 float: left;
77 height: 1.5em;
78 margin: 0 0 0 0;
79 vertical-align: middle;
80
81 font-weight: bold;
82 text-transform: lowercase;
83 }
84
85 #p-personal li a {
86 text-decoration: none;
87 color: white;
88 padding: 0 1em 0 1em;
89 }
90
91 #p-personal li a:hover {
92 text-decoration: none;
93 color: white;
94 }
95
96 #p-personal li:hover {
97 background-color: #003366;
98 }
99
100 #jump-to-nav {
101 display: none;
102 }
103
104 #mw_contentwrapper {
105 width: 100%;
106 margin: 0 0 0 -15em;
107 float: right;
108 }
109
110 #mw_content {
111 margin: 0 0 0 14em;
112
113 background-color: white;
114 border-top: solid 1px #bbbbbb;
115 border-left: solid 1px #bbbbbb;
116 border-bottom: solid 1px #bbbbbb;
117
118 line-height: 1.5em;
119 padding: 0 1em 1em 1em;
120 }
121
122 #mw_portlets {
123 width: 14em;
124
125 border-right: solid 1px #bbbbbb;
126 background-color: #f0f0f0;
127 }
128
129 #mw_main {
130 padding: 0 0 0 0;
131 margin: 0 0 0 0;
132 margin-top: 3.5em;
133 }
134
135 div.mw_clear {
136 margin: 0 0 0 0;
137 padding: 0 0 0 0;
138 clear: both;
139 }
140
141 .portlet {
142 padding: 0 0 0 0;
143 margin: 0 0 0 0;
144 }
145
146 .portlet div.pBody {
147 padding: 0em 0 0.5em 0;
148 }
149
150 textarea {
151 width: 100%;
152 padding: .1em;
153 }
154
155 #searchBody {
156 text-align: center;
157 }
158
159 #searchInput {
160 width: 85%;
161 margin-left: auto;
162 margin-right: auto;
163 }
164
165 #p-search #searchform div div {
166 margin-top: .4em;
167 }
168
169 .portlet h5 {
170 padding: 0.1em 0 0.3em 1em;
171 margin: 0 0 0 0;
172 background-color: #dddddd;
173 font-weight: bold;
174 border-bottom: solid 1px #3c78b5;
175 height: 1.1em;
176 }
177
178 .portlet ul {
179 margin: 0 0 0 1.5em;
180 padding: 0 0 0 0;
181 }
182
183 #mw_portlets .portlet ul {
184 line-height: 1.4em;
185 }
186
187 ul {
188 /* @embed */
189 list-style-image: url(bullet.gif);
190 }
191
192 #p-cactions {
193 height: 1.5em;
194 padding: 0 0 0 0;
195 margin: 0 0 0 14em;
196 }
197
198 #p-cactions div.pBody {
199 margin: 0 0 0 0;
200 padding: 0 0 0 0;
201 }
202
203 #p-cactions a,
204 #p-cactions a:hover {
205 color: black;
206 text-decoration: none;
207 }
208
209 #p-cactions ul {
210 display: inline;
211 margin: 0 0 0 0;
212 padding: 0 0 0 0;
213 }
214
215 #p-cactions li {
216 margin: 0 0.5em 0 0.5em;
217 padding: 0 0.2em 0 0.2em;
218 display: block;
219 float: left;
220 height: 1.5em;
221 text-transform: lowercase;
222 }
223
224 #p-cactions li.selected {
225 background-color: #bbbbbb;
226 }
227
228 #p-cactions li a,
229 #p-cactions li a:hover,
230 #p-cactions li a:visited {
231 text-decoration: underline;
232 color: #003366;
233 }
234
235 #p-cactions li.selected a,
236 #p-cactions li.selected a:hover,
237 #p-cactions li.selected a:visited {
238 text-decoration: none;
239 color: white;
240 }
241
242 #p-cactions h5 {
243 display: none;
244 }
245
246 #siteSub {
247 display: none;
248 }
249
250 #footer {
251 background-color: #f0f0f0;
252 /* @embed */
253 background: url(footer-grad.png) repeat-x 0 0;
254 padding: 10px 1em 1em 1em;
255 clear:both;
256 color: #444444;
257 }
258
259 #footer a,
260 #footer a:hover,
261 #footer a:visited {
262 color: #444444;
263 text-decoration: underline;
264 }
265
266 img {
267 border: none;
268 }
269
270 #footer li {
271 display: inline;
272 list-style-type: none;
273 padding: 0 0 0 0;
274 margin: 0 0 0 0;
275 }
276
277 #footer ul {
278 padding: 0 0 0 0;
279 margin: 0 0 0 0;
280 }
281
282 div.printfooter {
283 display: none;
284 }
285
286 p {
287 margin: 1em 0 1em 0;
288 }
289
290 hr {
291 height: 1px;
292 color: #aaa;
293 background-color: #aaa;
294 border: 0;
295 margin: .2em 0 .2em 0;
296 }
297
298 #contentSub {
299 color: #888;
300 font-size: small;
301 padding-left: 2em;
302 }
303
304 #mw_portlets form {
305 margin: 0 0 0 0;
306 padding: 0 0 0 0;
307 }
308
309 a {
310 text-decoration: none;
311 color: #003366;
312 background: none;
313 }
314 a:visited {
315 color: #5a3696;
316 }
317 a:active {
318 color: #faa700;
319 }
320 a:hover {
321 text-decoration: underline;
322 }
323 a.stub {
324 color: #772233;
325 }
326 a.new {
327 color: #ba0000;
328 }
329 a.new:visited {
330 color: #a55858;
331 }
332
333 span.editsection {
334 font-size: small;
335 }
336
337 h1, h2 {
338 border-bottom: solid 1px #003366;
339 }
340
341 h1, h2, h3, h4, h5, h6 {
342 overflow: hidden;
343 }
344
345 #preftoc {
346 width: 100%;
347 margin: 0 0 0 0;
348 padding: 0 0 0 0;
349 height: 1.5em;
350 clear: right;
351 }
352
353 #preftoc li {
354 margin: 0 0.5em 0 0.5em;
355 padding: 0 0.2em 0 0.2em;
356 display: block;
357 float: left;
358 height: 1.5em;
359 text-transform: lowercase;
360 }
361
362 #preferences {
363 margin: 0 0 0 0;
364 padding: 0em 1em 1em 1em;
365 border: solid 1px #bbbbbb;
366 clear: left; /* Multi-line toc should not push data to horizontally */
367 }
368
369 #preferences fieldset {
370 margin-top: 0;
371 border: none;
372 }
373
374 #preferences h2 {
375 }
376
377 .mainLegend {
378 display: none;
379 }
380
381 .htmlform-tip {
382 font-size: x-small;
383 padding: .2em 2em;
384 color: #666;
385 }
386
387 .prefsection legend {
388 font-weight: bold;
389 }
390
391 #preftoc li.selected {
392 background-color: #bbbbbb;
393 }
394
395 #preftoc li a,
396 #preftoc li a:hover,
397 #preftoc li a:visited {
398 text-decoration: underline;
399 color: #003366;
400 }
401
402 #preftoc li.selected a,
403 #preftoc li.selected a:hover,
404 #preftoc li.selected a:visited {
405 text-decoration: none;
406 color: white;
407 }
408
409 #mw-pref-clear {
410 clear: both;
411 }
412
413 #mw_content a.external,
414 #mw_content a.external[href ^="gopher://"] {
415 /* @embed */
416 background: url(external.png) center right no-repeat;
417 padding-right: 13px;
418 }
419 #mw_content a.external[href ^="https://"],
420 .link-https {
421 /* @embed */
422 background: url(lock_icon.gif) center right no-repeat;
423 padding-right: 16px;
424 }
425 #mw_content a.external[href ^="mailto:"],
426 .link-mailto {
427 /* @embed */
428 background: url(mail_icon.gif) center right no-repeat;
429 padding-right: 18px;
430 }
431 #mw_content a.external[href ^="news://"] {
432 /* @embed */
433 background: url(news_icon.png) center right no-repeat;
434 padding-right: 18px;
435 }
436 #mw_content a.external[href ^="ftp://"],
437 .link-ftp {
438 /* @embed */
439 background: url(file_icon.gif) center right no-repeat;
440 padding-right: 18px;
441 }
442 #mw_content a.external[href ^="irc://"],
443 #mw_content a.external[href ^="ircs://"],
444 .link-irc {
445 /* @embed */
446 background: url(discussionitem_icon.gif) center right no-repeat;
447 padding-right: 18px;
448 }
449
450 #mw_content a.external[href $=".ogg"], #mw_content a.external[href $=".OGG"],
451 #mw_content a.external[href $=".mid"], #mw_content a.external[href $=".MID"],
452 #mw_content a.external[href $=".midi"], #mw_content a.external[href $=".MIDI"],
453 #mw_content a.external[href $=".mp3"], #mw_content a.external[href $=".MP3"],
454 #mw_content a.external[href $=".wav"], #mw_content a.external[href $=".WAV"],
455 #mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"],
456 .link-audio {
457 /* @embed */
458 background: url("audio.png") center right no-repeat;
459 padding-right: 13px;
460 }
461 #mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"],
462 #mw_content a.external[href $=".avi"], #mw_content a.external[href $=".AVI"],
463 #mw_content a.external[href $=".mpeg"], #mw_content a.external[href $=".MPEG"],
464 #mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"],
465 .link-video {
466 /* @embed */
467 background: url("video.png") center right no-repeat;
468 padding-right: 13px;
469 }
470 #mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"],
471 #mw_content a.external[href *=".pdf#"], #mw_content a.external[href *=".PDF#"],
472 #mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"],
473 .link-document {
474 /* @embed */
475 background: url("document.png") center right no-repeat;
476 padding-right: 12px;
477 }
478
479 /* images */
480 /* @noflip */div.floatright, table.floatright {
481 margin: 0 0 .5em .5em;
482 border: 0;
483 /*
484 border: .5em solid white;
485 border-width: .5em 0 .8em 1.4em;
486 */
487 }
488 div.floatright p { font-style: italic; }
489 /* @noflip */div.floatleft, table.floatleft {
490 margin: 0 .5em .5em 0;
491 border: 0;
492 /*
493 margin: .3em .5em .5em 0;
494 border: .5em solid white;
495 border-width: .5em 1.4em .8em 0;
496 */
497 }
498 div.floatleft p { font-style: italic; }
499 /* thumbnails */
500 div.thumb {
501 margin-bottom: .5em;
502 width: auto;
503 }
504 div.thumbinner {
505 border: 1px solid #ccc;
506 padding: 3px !important;
507 background-color: #f9f9f9;
508 font-size: 94%;
509 text-align: center;
510 overflow: hidden;
511 }
512 html .thumbimage {
513 border: 1px solid #ccc;
514 }
515 html .thumbcaption {
516 border: none;
517 text-align: left;
518 line-height: 1.4em;
519 padding: 3px !important;
520 font-size: 94%;
521 }
522 div.magnify {
523 float: right;
524 border: none !important;
525 background: none !important;
526 }
527 div.magnify a, div.magnify img {
528 display: block;
529 border: none !important;
530 background: none !important;
531 }
532 /* @noflip */div.tright {
533 margin: .5em 0 .8em 1.4em;
534 }
535 /* @noflip */div.tleft {
536 margin: .5em 1.4em .8em 0;
537 }
538 img.thumbborder {
539 border: 1px solid #dddddd;
540 }
541 .mw-warning {
542 border: 1px solid #aaa;
543 background-color: #f9f9f9;
544 padding: 5px;
545 font-size: 95%;
546 }
547
548 #toc,
549 .toc {
550 margin: 0 0 0 0;
551 padding: 0 0 0 0;
552 border-spacing: 0;
553 background-color: #f0f0f0;
554 border: solid 1px #bbbbbb;
555 }
556
557 #toc tr, #toc td {
558 margin: 0 0 0 0;
559 padding: 0 0 0 0;
560 }
561
562 #toctitle {
563 border-bottom: solid 1px #3c78b5;
564 background-color: #dddddd;
565 margin: 0 0 0 0;
566 }
567
568 #toc h2,
569 .toc h2 {
570 display: inline;
571 border: none;
572 padding: 0;
573 font-size: 100%;
574 font-weight: bold;
575 }
576 #toc #toctitle,
577 .toc #toctitle,
578 #toc .toctitle,
579 .toc .toctitle {
580 text-align: center;
581 }
582
583 #toc ul,
584 .toc ul {
585 list-style-type: none;
586 list-style-image: none;
587 margin: 0 1em 0 1em;
588 padding: 0;
589 text-align: left;
590 }
591
592 #toc ul ul,
593 .toc ul ul {
594 margin: 0 0 0 2em;
595 }
596
597 #toc .toctoggle,
598 .toc .toctoggle {
599 font-size: 94%;
600 }
601
602 .mw-warning {
603 margin-left: 50px;
604 margin-right: 50px;
605 text-align: center;
606 }
607
608 .catlinks {
609 border: solid 1px #bbbbbb;
610 background-color: #f0f0f0;
611 padding: 0.1em 0.3em 0.1em 0.3em;
612 margin: 0 0 0 0;
613 }
614
615 #mw_header h1,
616 #p-personal,
617 #p-cactions {
618 overflow: hidden;
619 }
620
621 /* disable interwiki styling */
622 #mw_content a.extiw,
623 #mw_content a.extiw:active {
624 color: #36b;
625 }
626 #mw_content a.external {
627 color: #36b;
628 }
629
630
631 .redirectText {
632 font-size: 150%;
633 margin: 5px;
634 }
635
636 .printfooter {
637 display: none;
638 }
639
640 .sharedUploadNotice {
641 font-style: italic;
642 }
643
644 span.updatedmarker {
645 color: black;
646 background-color: #0f0;
647 }
648
649 .previewnote {
650 text-indent: 3em;
651 color: #c00;
652 border-bottom: 1px solid #aaa;
653 padding-bottom: 1em;
654 margin-bottom: 1em;
655 }
656
657 .previewnote p {
658 margin: 0;
659 padding: 0;
660 }
661
662 .editExternally {
663 border: 1px solid gray;
664 background-color: #ffffff;
665 padding: 3px;
666 margin-top: 0.5em;
667 float: left;
668 font-size: small;
669 text-align: center;
670 }
671 .editExternallyHelp {
672 font-style: italic;
673 color: gray;
674 }
675
676 .toggle {
677 margin-left: 2em;
678 text-indent: -2em;
679 }
680
681 table.collapsed tr.collapsable {
682 display: none;
683 }
684
685 input#wpSummary {
686 width: 80%;
687 }
688
689 /* @bug 1714 */
690 input#wpSave, input#wpDiff {
691 margin-right: 0.33em;
692 }
693
694 #wpSave {
695 font-weight: bold;
696 }
697
698 /* noarticletext */
699 div.noarticletext {
700 border: 1px solid #ccc;
701 background: #fff;
702 padding: .2em 1em;
703 color: #000;
704 }
705
706 div#searchTargetContainer {
707 left: 10px;
708 top: 10px;
709 width: 90%;
710 background: white;
711 }
712
713 div#searchTarget {
714 padding: 3px;
715 margin: 5px;
716 background: #F0F0F0;
717 border: solid 1px blue;
718 }
719
720 div#searchTarget ul li {
721 list-style: none;
722 }
723
724 div#searchTarget ul li:before {
725 color: orange;
726 content: "\00BB \0020";
727 }
728
729 div#searchTargetHide {
730 float: right;
731 border: solid 1px black;
732 background: #DCDCDC;
733 padding: 2px;
734 }
735
736 div.multipageimagenavbox {
737 border: solid 1px silver;
738 padding: 4px;
739 margin: 1em;
740 background: #f0f0f0;
741 }
742
743 div.multipageimagenavbox div.thumb {
744 border: none;
745 margin-left: 2em;
746 margin-right: 2em;
747 }
748
749 div.multipageimagenavbox hr {
750 margin: 6px;
751 }
752
753 table.multipageimage td {
754 text-align: center;
755 }
756
757 .templatesUsed { margin-top: 1.5em; }
758
759 .mw-summary-preview {
760 margin: 0.1em 0;
761 }
762
763 /* Friendlier slave lag warnings */
764 div.mw-lag-warn-normal,
765 div.mw-lag-warn-high {
766 padding: 3px;
767 text-align: center;
768 margin: 3px auto;
769 }
770 div.mw-lag-warn-normal {
771 border: 1px solid #FFCC66;
772 background-color: #FFFFCC;
773 }
774 div.mw-lag-warn-high {
775 font-weight: bold;
776 border: 2px solid #FF0033;
777 background-color: #FFCCCC;
778 }
779
780 .MediaTransformError {
781 background-color: #ccc;
782 padding: 0.1em;
783 }
784 .MediaTransformError td {
785 text-align: center;
786 vertical-align: middle;
787 font-size: 90%;
788 }
789 ul {
790 line-height: 1.5em;
791 list-style-type: square;
792 margin: .3em 0 0 1.5em;
793 padding: 0;
794 /* @embed */
795 list-style-image: url(bullet.gif);
796 }
797 ol {
798 line-height: 1.5em;
799 margin: .3em 0 0 3.2em;
800 padding: 0;
801 list-style-image: none;
802 }
803 li {
804 margin-bottom: .1em;
805 }
806 dt {
807 font-weight: bold;
808 margin-bottom: .1em;
809 }
810 dl {
811 margin-top: .2em;
812 margin-bottom: .5em;
813 }
814
815 #p-cactions li.new a {
816 color: #cc2200;
817 }
818
819 span.subpages {
820 font-size: 80%;
821 display: block;
822 }
823
824 pre {
825 border: solid 1px #3c78b5;
826 padding: 0.4em;
827 background-color: #f0f0f0;
828 }
829
830 .usermessage {
831 background-color: #dadaff;
832 }
833
834 .mw-topboxes {
835 border-collapse: collapse;
836 margin: 0 -1em 1em -1em;
837 padding: 0 0 8px 0;
838 /* @embed */
839 background: url(footer-grad.png) repeat-x bottom left;
840 }
841
842 .mw-topbox p {
843 padding: 0 0 0 0;
844 margin: 0 0 0 0;
845 }
846
847 .mw-topbox {
848 color: black;
849 font-weight: bold;
850 margin: 0 0 0 0;
851 padding: 0 1em 0 1em;
852 vertical-align: middle;
853 border-collapse: collapse;
854 border-bottom: solid 1px #bbbbbb;
855 }
856
857 #siteSub {
858 background-color: #dddddd;
859 }
860
861 /* emulate center */
862 .center {
863 width: 100%;
864 text-align: center;
865 }
866 *.center * {
867 margin-left: auto;
868 margin-right: auto;
869 }
870
871 /* table standards */
872 .toccolours {
873 border: 1px solid #bbbbbb;
874 background-color: #f0f0f0;
875 border-spacing: 0pt;
876 margin: 0pt;
877 padding: 0pt;
878 }
879
880 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
881 .tipsy {
882 font-size: 130%;
883 }
884
885 /**
886 * Lists:
887 * The following lines don't have a visible effect on non-Gecko browsers
888 * They fix a problem ith Gecko browsers rendering lists to the right of
889 * left-floated objects in an RTL layout.
890 */
891 /* @noflip */
892 html > body.rtl div#mw_contentholder ul {
893 display: table;
894 }
895
896 /* @noflip */
897 html > body.rtl div#mw_contentholder ul#filetoc {
898 display: block;
899 }