Merge "Rename $usableSkins to $allowedSkins"
[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 span.editsection {
344 font-size: small;
345 }
346
347 h1, h2 {
348 border-bottom: solid 1px #003366;
349 }
350
351 h1, h2, h3, h4, h5, h6 {
352 overflow: hidden;
353 }
354
355 #preftoc {
356 width: 100%;
357 margin: 0 0 0 0;
358 padding: 0 0 0 0;
359 height: 1.5em;
360 clear: right;
361 }
362
363 #preftoc li {
364 margin: 0 0.5em 0 0.5em;
365 padding: 0 0.2em 0 0.2em;
366 display: block;
367 float: left;
368 height: 1.5em;
369 text-transform: lowercase;
370 }
371
372 #preferences {
373 margin: 0 0 0 0;
374 padding: 0em 1em 1em 1em;
375 border: solid 1px #bbbbbb;
376 clear: left; /* Multi-line toc should not push data to horizontally */
377 }
378
379 #preferences fieldset {
380 margin-top: 0;
381 border: none;
382 }
383
384 .mainLegend {
385 display: none;
386 }
387
388 .htmlform-tip {
389 font-size: x-small;
390 padding: .2em 2em;
391 color: #666;
392 }
393
394 .prefsection legend {
395 font-weight: bold;
396 }
397
398 #preftoc li.selected {
399 background-color: #bbbbbb;
400 }
401
402 #preftoc li a,
403 #preftoc li a:hover,
404 #preftoc li a:visited {
405 text-decoration: underline;
406 color: #003366;
407 }
408
409 #preftoc li.selected a,
410 #preftoc li.selected a:hover,
411 #preftoc li.selected a:visited {
412 text-decoration: none;
413 color: white;
414 }
415 #mw_content a.external,
416 #mw_content a.external[href ^="gopher://"] {
417 /* @embed */
418 background: url(external.png) center right no-repeat;
419 padding-right: 13px;
420 }
421 #mw_content a.external[href ^="https://"],
422 .link-https {
423 /* @embed */
424 background: url(lock_icon.gif) center right no-repeat;
425 padding-right: 16px;
426 }
427 #mw_content a.external[href ^="mailto:"],
428 .link-mailto {
429 /* @embed */
430 background: url(mail_icon.gif) center right no-repeat;
431 padding-right: 18px;
432 }
433 #mw_content a.external[href ^="news:"] {
434 /* @embed */
435 background: url(news_icon.png) center right no-repeat;
436 padding-right: 18px;
437 }
438 #mw_content a.external[href ^="ftp://"],
439 .link-ftp {
440 /* @embed */
441 background: url(file_icon.gif) center right no-repeat;
442 padding-right: 18px;
443 }
444 #mw_content a.external[href ^="irc://"],
445 #mw_content a.external[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 div.floatright p {
487 font-style: italic;
488 }
489 /* @noflip */div.floatleft, table.floatleft {
490 margin: 0 .5em .5em 0;
491 border: 0;
492 }
493 div.floatleft p {
494 font-style: italic;
495 }
496
497 /* thumbnails */
498 div.thumb {
499 margin-bottom: .5em;
500 width: auto;
501 }
502 div.thumbinner {
503 border: 1px solid #ccc;
504 padding: 3px !important;
505 background-color: #f9f9f9;
506 font-size: 94%;
507 text-align: center;
508 overflow: hidden;
509 }
510 html .thumbimage {
511 border: 1px solid #ccc;
512 }
513 html .thumbcaption {
514 border: none;
515 text-align: left;
516 line-height: 1.4em;
517 padding: 3px !important;
518 font-size: 94%;
519 }
520 div.magnify {
521 float: right;
522 border: none !important;
523 background: none !important;
524 }
525 div.magnify a, div.magnify img {
526 display: block;
527 border: none !important;
528 background: none !important;
529 }
530 /* @noflip */div.tright {
531 margin: .5em 0 .8em 1.4em;
532 }
533 /* @noflip */div.tleft {
534 margin: .5em 1.4em .8em 0;
535 }
536 img.thumbborder {
537 border: 1px solid #dddddd;
538 }
539 .mw-warning {
540 border: 1px solid #aaa;
541 background-color: #f9f9f9;
542 padding: 5px;
543 font-size: 95%;
544 }
545
546 #toc,
547 .toc {
548 margin: 0 0 0 0;
549 padding: 0 0 0 0;
550 border-spacing: 0;
551 background-color: #f0f0f0;
552 border: solid 1px #bbbbbb;
553 }
554
555 #toc tr, #toc td {
556 margin: 0 0 0 0;
557 padding: 0 0 0 0;
558 }
559
560 #toctitle {
561 border-bottom: solid 1px #3c78b5;
562 background-color: #dddddd;
563 margin: 0 0 0 0;
564 }
565
566 #toc h2,
567 .toc h2 {
568 display: inline;
569 border: none;
570 padding: 0;
571 font-size: 100%;
572 font-weight: bold;
573 }
574 #toc #toctitle,
575 .toc #toctitle,
576 #toc .toctitle,
577 .toc .toctitle {
578 text-align: center;
579 }
580
581 #toc ul,
582 .toc ul {
583 list-style-type: none;
584 list-style-image: none;
585 margin: 0 1em 0 1em;
586 padding: 0;
587 text-align: left;
588 }
589
590 #toc ul ul,
591 .toc ul ul {
592 margin: 0 0 0 2em;
593 }
594
595 #toc .toctoggle,
596 .toc .toctoggle {
597 font-size: 94%;
598 }
599
600 .mw-warning {
601 margin-left: 50px;
602 margin-right: 50px;
603 text-align: center;
604 }
605
606 .catlinks {
607 border: solid 1px #bbbbbb;
608 background-color: #f0f0f0;
609 padding: 0.1em 0.3em 0.1em 0.3em;
610 margin: 0 0 0 0;
611 }
612
613 #mw_header h1,
614 #p-personal,
615 #p-cactions {
616 overflow: hidden;
617 }
618
619 /* disable interwiki styling */
620 #mw_content a.extiw,
621 #mw_content a.extiw:active {
622 color: #36b;
623 }
624 #mw_content a.external {
625 color: #36b;
626 }
627
628
629 .redirectText {
630 font-size: 150%;
631 margin: 5px;
632 }
633
634 .printfooter {
635 display: none;
636 }
637
638 .sharedUploadNotice {
639 font-style: italic;
640 }
641
642 span.updatedmarker {
643 color: black;
644 background-color: #0f0;
645 }
646
647 .previewnote {
648 text-indent: 3em;
649 color: #c00;
650 border-bottom: 1px solid #aaa;
651 padding-bottom: 1em;
652 margin-bottom: 1em;
653 }
654
655 .previewnote p {
656 margin: 0;
657 padding: 0;
658 }
659
660 .editExternally {
661 border: 1px solid gray;
662 background-color: #ffffff;
663 padding: 3px;
664 margin-top: 0.5em;
665 float: left;
666 font-size: small;
667 text-align: center;
668 }
669 .editExternallyHelp {
670 font-style: italic;
671 color: gray;
672 }
673
674 .toggle {
675 margin-left: 2em;
676 text-indent: -2em;
677 }
678
679 table.collapsed tr.collapsable {
680 display: none;
681 }
682
683 input#wpSummary {
684 width: 80%;
685 }
686
687 /* @bug 1714 */
688 input#wpSave, input#wpDiff {
689 margin-right: 0.33em;
690 }
691
692 #wpSave {
693 font-weight: bold;
694 }
695
696 /* noarticletext */
697 div.noarticletext {
698 border: 1px solid #ccc;
699 background: #fff;
700 padding: .2em 1em;
701 color: #000;
702 }
703
704 div#searchTargetContainer {
705 left: 10px;
706 top: 10px;
707 width: 90%;
708 background: white;
709 }
710
711 div#searchTarget {
712 padding: 3px;
713 margin: 5px;
714 background: #F0F0F0;
715 border: solid 1px blue;
716 }
717
718 div#searchTarget ul li {
719 list-style: none;
720 }
721
722 div#searchTarget ul li:before {
723 color: orange;
724 content: "\00BB \0020";
725 }
726
727 div#searchTargetHide {
728 float: right;
729 border: solid 1px black;
730 background: #DCDCDC;
731 padding: 2px;
732 }
733
734 div.multipageimagenavbox {
735 border: solid 1px silver;
736 padding: 4px;
737 margin: 1em;
738 background: #f0f0f0;
739 }
740
741 div.multipageimagenavbox div.thumb {
742 border: none;
743 margin-left: 2em;
744 margin-right: 2em;
745 }
746
747 div.multipageimagenavbox hr {
748 margin: 6px;
749 }
750
751 table.multipageimage td {
752 text-align: center;
753 }
754
755 .templatesUsed {
756 margin-top: 1.5em;
757 }
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, .mw-code {
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 }