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