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