port rtl specific parts of modern RTL css to main.css
[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[href ^="gopher://"] {
415 /* @embed */
416 background: url(external.png) center right no-repeat;
417 padding-right: 13px;
418 }
419 #mw_content a[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[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[href ^="news://"] {
432 /* @embed */
433 background: url(news_icon.png) center right no-repeat;
434 padding-right: 18px;
435 }
436 #mw_content a[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[href ^="irc://"],
443 #mw_content a.extiw[href ^="irc://"],
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 */
481 div.floatright, table.floatright {
482 clear: right;
483 float: right;
484 position: relative;
485 margin: 0 0 .5em .5em;
486 border: 0;
487 /*
488 border: .5em solid white;
489 border-width: .5em 0 .8em 1.4em;
490 */
491 }
492 div.floatright p { font-style: italic; }
493 /* @noflip */
494 div.floatleft, table.floatleft {
495 float: left;
496 clear: left;
497 position: relative;
498 margin: 0 .5em .5em 0;
499 border: 0;
500 /*
501 margin: .3em .5em .5em 0;
502 border: .5em solid white;
503 border-width: .5em 1.4em .8em 0;
504 */
505 }
506 div.floatleft p { font-style: italic; }
507 /* thumbnails */
508 div.thumb {
509 margin-bottom: .5em;
510 width: auto;
511 }
512 div.thumbinner {
513 border: 1px solid #ccc;
514 padding: 3px !important;
515 background-color: #f9f9f9;
516 font-size: 94%;
517 text-align: center;
518 overflow: hidden;
519 }
520 html .thumbimage {
521 border: 1px solid #ccc;
522 }
523 html .thumbcaption {
524 border: none;
525 text-align: left;
526 line-height: 1.4em;
527 padding: 3px !important;
528 font-size: 94%;
529 }
530 div.magnify {
531 float: right;
532 border: none !important;
533 background: none !important;
534 }
535 div.magnify a, div.magnify img {
536 display: block;
537 border: none !important;
538 background: none !important;
539 }
540 /* @noflip */
541 div.tright {
542 clear: right;
543 float: right;
544 margin: .5em 0 .8em 1.4em;
545 }
546 /* @noflip */
547 div.tleft {
548 float: left;
549 clear: left;
550 margin: .5em 1.4em .8em 0;
551 }
552 img.thumbborder {
553 border: 1px solid #dddddd;
554 }
555 .hiddenStructure {
556 display: none;
557 }
558 .mw-warning {
559 border: 1px solid #aaa;
560 background-color: #f9f9f9;
561 padding: 5px;
562 font-size: 95%;
563 }
564
565 #toc,
566 .toc {
567 margin: 0 0 0 0;
568 padding: 0 0 0 0;
569 border-spacing: 0;
570 background-color: #f0f0f0;
571 border: solid 1px #bbbbbb;
572 }
573
574 #toc tr, #toc td {
575 margin: 0 0 0 0;
576 padding: 0 0 0 0;
577 }
578
579 #toctitle {
580 border-bottom: solid 1px #3c78b5;
581 background-color: #dddddd;
582 margin: 0 0 0 0;
583 }
584
585 #toc h2,
586 .toc h2 {
587 display: inline;
588 border: none;
589 padding: 0;
590 font-size: 100%;
591 font-weight: bold;
592 }
593 #toc #toctitle,
594 .toc #toctitle,
595 #toc .toctitle,
596 .toc .toctitle {
597 text-align: center;
598 }
599
600 #toc ul,
601 .toc ul {
602 list-style-type: none;
603 list-style-image: none;
604 margin: 0 1em 0 1em;
605 padding-left: 0;
606 text-align: left;
607 }
608
609 #toc ul ul,
610 .toc ul ul {
611 margin: 0 0 0 2em;
612 }
613
614 #toc .toctoggle,
615 .toc .toctoggle {
616 font-size: 94%;
617 }
618
619 .mw-warning {
620 margin-left: 50px;
621 margin-right: 50px;
622 text-align: center;
623 }
624
625 .catlinks {
626 border: solid 1px #bbbbbb;
627 background-color: #f0f0f0;
628 padding: 0.1em 0.3em 0.1em 0.3em;
629 margin: 0 0 0 0;
630 }
631
632 #mw_header h1,
633 #p-personal,
634 #p-cactions {
635 overflow: hidden;
636 }
637
638 /* disable interwiki styling */
639 #mw_content a.extiw,
640 #mw_content a.extiw:active {
641 color: #36b;
642 background: none;
643 padding: 0;
644 }
645 #mw_content a.external {
646 color: #36b;
647 }
648
649
650
651 .redirectText {
652 font-size: 150%;
653 margin: 5px;
654 }
655
656 .printfooter {
657 display: none;
658 }
659
660 .sharedUploadNotice {
661 font-style: italic;
662 }
663
664 span.updatedmarker {
665 color: black;
666 background-color: #0f0;
667 }
668
669 .previewnote {
670 text-indent: 3em;
671 color: #c00;
672 border-bottom: 1px solid #aaa;
673 padding-bottom: 1em;
674 margin-bottom: 1em;
675 }
676
677 .previewnote p {
678 margin: 0;
679 padding: 0;
680 }
681
682 .editExternally {
683 border: 1px solid gray;
684 background-color: #ffffff;
685 padding: 3px;
686 margin-top: 0.5em;
687 float: left;
688 font-size: small;
689 text-align: center;
690 }
691 .editExternallyHelp {
692 font-style: italic;
693 color: gray;
694 }
695
696 .toggle {
697 margin-left: 2em;
698 text-indent: -2em;
699 }
700
701 table.collapsed tr.collapsable {
702 display: none;
703 }
704
705 input#wpSummary {
706 width: 80%;
707 }
708
709 /* @bug 1714 */
710 input#wpSave, input#wpDiff {
711 margin-right: 0.33em;
712 }
713
714 #wpSave {
715 font-weight: bold;
716 }
717
718 /* noarticletext */
719 div.noarticletext {
720 border: 1px solid #ccc;
721 background: #fff;
722 padding: .2em 1em;
723 color: #000;
724 }
725
726 div#searchTargetContainer {
727 left: 10px;
728 top: 10px;
729 width: 90%;
730 background: white;
731 }
732
733 div#searchTarget {
734 padding: 3px;
735 margin: 5px;
736 background: #F0F0F0;
737 border: solid 1px blue;
738 }
739
740 div#searchTarget ul li {
741 list-style: none;
742 }
743
744 div#searchTarget ul li:before {
745 color: orange;
746 content: "\00BB \0020";
747 }
748
749 div#searchTargetHide {
750 float: right;
751 border: solid 1px black;
752 background: gainsboro;
753 padding: 2px;
754 }
755
756 div.multipageimagenavbox {
757 border: solid 1px silver;
758 padding: 4px;
759 margin: 1em;
760 background: #f0f0f0;
761 }
762
763 div.multipageimagenavbox div.thumb {
764 border: none;
765 margin-left: 2em;
766 margin-right: 2em;
767 }
768
769 div.multipageimagenavbox hr {
770 margin: 6px;
771 }
772
773 table.multipageimage td {
774 text-align: center;
775 }
776
777 .templatesUsed { margin-top: 1.5em; }
778
779 .mw-summary-preview {
780 margin: 0.1em 0;
781 }
782
783 /* Friendlier slave lag warnings */
784 div.mw-lag-warn-normal,
785 div.mw-lag-warn-high {
786 padding: 3px;
787 text-align: center;
788 margin: 3px auto;
789 }
790 div.mw-lag-warn-normal {
791 border: 1px solid #FFCC66;
792 background-color: #FFFFCC;
793 }
794 div.mw-lag-warn-high {
795 font-weight: bold;
796 border: 2px solid #FF0033;
797 background-color: #FFCCCC;
798 }
799
800 .MediaTransformError {
801 background-color: #ccc;
802 padding: 0.1em;
803 }
804 .MediaTransformError td {
805 text-align: center;
806 vertical-align: middle;
807 font-size: 90%;
808 }
809 ul {
810 line-height: 1.5em;
811 list-style-type: square;
812 margin: .3em 0 0 1.5em;
813 padding: 0;
814 /* @embed */
815 list-style-image: url(bullet.gif);
816 }
817 ol {
818 line-height: 1.5em;
819 margin: .3em 0 0 3.2em;
820 padding: 0;
821 list-style-image: none;
822 }
823 li {
824 margin-bottom: .1em;
825 }
826 dt {
827 font-weight: bold;
828 margin-bottom: .1em;
829 }
830 dl {
831 margin-top: .2em;
832 margin-bottom: .5em;
833 }
834
835 #p-cactions li.new a {
836 color: #cc2200;
837 }
838
839 span.subpages {
840 font-size: 80%;
841 display: block;
842 }
843
844 pre {
845 border: solid 1px #3c78b5;
846 padding: 0.4em;
847 background-color: #f0f0f0;
848 }
849
850 .usermessage {
851 background-color: #dadaff;
852 }
853
854 .mw-topboxes {
855 border-collapse: collapse;
856 margin: 0 -1em 1em -1em;
857 padding: 0 0 8px 0;
858 /* @embed */
859 background: url(footer-grad.png) repeat-x bottom left;
860 }
861
862 .mw-topbox p {
863 padding: 0 0 0 0;
864 margin: 0 0 0 0;
865 }
866
867 .mw-topbox {
868 color: black;
869 font-weight: bold;
870 margin: 0 0 0 0;
871 padding: 0 1em 0 1em;
872 vertical-align: middle;
873 border-collapse: collapse;
874 border-bottom: solid 1px #bbbbbb;
875 }
876
877 #siteSub {
878 background-color: #dddddd;
879 }
880
881 /* emulate center */
882 .center {
883 width: 100%;
884 text-align: center;
885 }
886 *.center * {
887 margin-left: auto;
888 margin-right: auto;
889 }
890
891 /* table standards */
892 .toccolours {
893 border: 1px solid #bbbbbb;
894 background-color: #f0f0f0;
895 border-spacing: 0pt;
896 margin: 0pt;
897 padding: 0pt;
898 }
899
900 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
901 .tipsy {
902 font-size: 130%;
903 }
904
905 /**
906 * Lists:
907 * The following lines don't have a visible effect on non-Gecko browsers
908 * They fix a problem ith Gecko browsers rendering lists to the right of
909 * left-floated objects in an RTL layout.
910 */
911 /* @noflip */
912 html > body.rtl div#mw_contentholder ul {
913 display: table;
914 }
915
916 /* @noflip */
917 html > body.rtl div#mw_contentholder ul#filetoc {
918 display: block;
919 }