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