Localisation updates from http://translatewiki.net.
[mediawiki.git] / skins / modern / main.css
bloba42845a18628f7b04cc9ba02e1d6119b25d0dc48
1 body {
2 margin: 0 0 0 0;
3 padding: 0 0 0 0;
4 font-size: x-small;
7 font-family: sans-serif;
8 color: black;
9 background-color: #f0f0f0;
11 direction: ltr;
12 unicode-bidi: embed;
15 #mw_main,
16 #p-personal,
17 #mw_header,
18 .os-suggest {
19 font-size: 130%;
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%;
32 background-color: #003366;
33 color: white;
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%;
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%;
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;
61 #p-personal h3 {
62 display: none;
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;
73 #p-personal li {
74 display: block;
75 float: left;
76 height: 1.5em;
77 margin: 0 0 0 0;
78 vertical-align: middle;
80 font-weight: bold;
81 text-transform: lowercase;
84 #p-personal li a {
85 text-decoration: none;
86 color: white;
87 padding: 0 1em 0 1em;
90 #p-personal li a:hover {
91 text-decoration: none;
92 color: white;
95 #p-personal li:hover {
96 background-color: #003366;
99 #jump-to-nav {
100 display: none;
103 #mw_contentwrapper {
104 width: 100%;
105 margin: 0 0 0 -15em;
106 float: right;
109 #mw_content {
110 margin: 0 0 0 14em;
112 background-color: white;
113 border-top: solid 1px #bbbbbb;
114 border-left: solid 1px #bbbbbb;
115 border-bottom: solid 1px #bbbbbb;
117 line-height: 1.5em;
118 padding: 0 1em 1em 1em;
121 #mw_portlets {
122 width: 14em;
124 border-right: solid 1px #bbbbbb;
125 background-color: #f0f0f0;
128 /* Hide, but keep accessible for screen-readers */
129 #mw_portlets h2 {
130 position: absolute;
131 top: -9999px;
134 #mw_main {
135 padding: 0 0 0 0;
136 margin: 0 0 0 0;
137 margin-top: 3.5em;
140 div.mw_clear {
141 margin: 0 0 0 0;
142 padding: 0 0 0 0;
143 clear: both;
146 .portlet {
147 padding: 0 0 0 0;
148 margin: 0 0 0 0;
151 .portlet div.pBody {
152 padding: 0em 0 0.5em 0;
155 textarea {
156 width: 100%;
157 padding: .1em;
159 #editform textarea {
160 -moz-box-sizing: border-box;
161 -webkit-box-sizing: border-box;
162 box-sizing: border-box;
165 #searchBody {
166 text-align: center;
169 #searchInput {
170 width: 85%;
171 margin-left: auto;
172 margin-right: auto;
175 #p-search #searchform div div {
176 margin-top: .4em;
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;
189 .portlet ul {
190 margin: 0 0 0 1.5em;
191 padding: 0 0 0 0;
194 #mw_portlets .portlet ul {
195 line-height: 1.4em;
198 ul {
199 /* @embed */
200 list-style-image: url(bullet.gif);
203 #p-cactions {
204 height: 1.5em;
205 padding: 0 0 0 0;
206 margin: 0 0 0 14em;
209 #p-cactions div.pBody {
210 margin: 0 0 0 0;
211 padding: 0 0 0 0;
214 #p-cactions a,
215 #p-cactions a:hover {
216 color: black;
217 text-decoration: none;
220 #p-cactions ul {
221 display: inline;
222 margin: 0 0 0 0;
223 padding: 0 0 0 0;
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;
235 #p-cactions li.selected {
236 background-color: #bbbbbb;
239 #p-cactions li a,
240 #p-cactions li a:hover,
241 #p-cactions li a:visited {
242 text-decoration: underline;
243 color: #003366;
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;
253 #p-cactions h3 {
254 display: none;
257 #siteSub {
258 display: none;
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;
270 #footer a,
271 #footer a:hover,
272 #footer a:visited {
273 color: #444444;
274 text-decoration: underline;
277 img {
278 border: none;
281 #footer li {
282 display: inline;
283 list-style-type: none;
284 padding: 0 0 0 0;
285 margin: 0 0 0 0;
288 #footer ul {
289 padding: 0 0 0 0;
290 margin: 0 0 0 0;
294 margin: 1em 0 1em 0;
297 hr {
298 height: 1px;
299 color: #aaa;
300 background-color: #aaa;
301 border: 0;
302 margin: .2em 0 .2em 0;
305 #contentSub {
306 color: #888;
307 font-size: small;
308 padding-left: 2em;
311 #mw_portlets form {
312 margin: 0 0 0 0;
313 padding: 0 0 0 0;
317 text-decoration: none;
318 color: #003366;
319 background: none;
321 a:visited {
322 color: #5a3696;
324 a:active {
325 color: #faa700;
327 a:hover {
328 text-decoration: underline;
330 a.stub {
331 color: #772233;
333 a.new {
334 color: #ba0000;
336 a.new:visited {
337 color: #a55858;
340 h1, h2 {
341 border-bottom: solid 1px #003366;
344 h1, h2, h3, h4, h5, h6 {
345 overflow: hidden;
348 #preftoc {
349 width: 100%;
350 margin: 0 0 0 0;
351 padding: 0 0 0 0;
352 height: 1.5em;
353 clear: right;
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;
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 */
372 #preferences fieldset {
373 margin-top: 0;
374 border: none;
377 .mainLegend {
378 display: none;
381 .htmlform-tip {
382 font-size: x-small;
383 padding: .2em 2em;
384 color: #666;
387 .prefsection legend {
388 font-weight: bold;
391 #preftoc li.selected {
392 background-color: #bbbbbb;
395 #preftoc li a,
396 #preftoc li a:hover,
397 #preftoc li a:visited {
398 text-decoration: underline;
399 color: #003366;
402 #preftoc li.selected a,
403 #preftoc li.selected a:hover,
404 #preftoc li.selected a:visited {
405 text-decoration: none;
406 color: white;
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;
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;
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;
426 #mw_content a.external[href ^="news:"] {
427 /* @embed */
428 background: url(news_icon.png) center right no-repeat;
429 padding-right: 18px;
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;
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;
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;
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;
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;
474 /* images */
475 /* @noflip */div.floatright, table.floatright {
476 margin: 0 0 .5em .5em;
477 border: 0;
479 div.floatright p {
480 font-style: italic;
482 /* @noflip */div.floatleft, table.floatleft {
483 margin: 0 .5em .5em 0;
484 border: 0;
486 div.floatleft p {
487 font-style: italic;
490 /* thumbnails */
491 div.thumb {
492 margin-bottom: .5em;
493 width: auto;
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;
503 html .thumbimage {
504 border: 1px solid #ccc;
506 html .thumbcaption {
507 border: none;
508 text-align: left;
509 line-height: 1.4em;
510 padding: 3px !important;
511 font-size: 94%;
513 div.magnify {
514 float: right;
515 border: none !important;
516 background: none !important;
518 div.magnify a, div.magnify img {
519 display: block;
520 border: none !important;
521 background: none !important;
523 /* @noflip */div.tright {
524 margin: .5em 0 .8em 1.4em;
526 /* @noflip */div.tleft {
527 margin: .5em 1.4em .8em 0;
529 img.thumbborder {
530 border: 1px solid #dddddd;
532 .mw-warning {
533 border: 1px solid #aaa;
534 background-color: #f9f9f9;
535 padding: 5px;
536 font-size: 95%;
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;
553 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
554 table#toc,
555 table.toc {
556 border-collapse: collapse;
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;
565 #toc tr, #toc td {
566 margin: 0 0 0 0;
567 padding: 0 0 0 0;
570 #toctitle {
571 border-bottom: solid 1px #3c78b5;
572 background-color: #dddddd;
573 margin: 0 0 0 0;
576 #toc h2,
577 .toc h2 {
578 display: inline;
579 border: none;
580 padding: 0;
581 font-size: 100%;
582 font-weight: bold;
584 #toc #toctitle,
585 .toc #toctitle,
586 #toc .toctitle,
587 .toc .toctitle {
588 text-align: center;
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;
600 #toc ul ul,
601 .toc ul ul {
602 margin: 0 0 0 2em;
605 #toc .toctoggle,
606 .toc .toctoggle {
607 font-size: 94%;
610 .mw-warning {
611 margin-left: 50px;
612 margin-right: 50px;
613 text-align: center;
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;
623 #mw_header h1,
624 #p-personal,
625 #p-cactions {
626 overflow: hidden;
629 /* disable interwiki styling */
630 #mw_content a.extiw,
631 #mw_content a.extiw:active {
632 color: #36b;
634 #mw_content a.external {
635 color: #36b;
639 .redirectText {
640 font-size: 150%;
641 margin: 5px;
644 .printfooter {
645 display: none;
648 .sharedUploadNotice {
649 font-style: italic;
652 span.updatedmarker {
653 color: black;
654 background-color: #0f0;
657 .previewnote {
658 text-indent: 3em;
659 color: #c00;
660 border-bottom: 1px solid #aaa;
661 padding-bottom: 1em;
662 margin-bottom: 1em;
665 .previewnote p {
666 margin: 0;
667 padding: 0;
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;
679 .editExternallyHelp {
680 font-style: italic;
681 color: gray;
684 .toggle {
685 margin-left: 2em;
686 text-indent: -2em;
689 table.collapsed tr.collapsable {
690 display: none;
693 input#wpSummary {
694 width: 80%;
697 /* @bug 1714 */
698 input#wpSave, input#wpDiff {
699 margin-right: 0.33em;
702 #wpSave {
703 font-weight: bold;
706 /* noarticletext */
707 div.noarticletext {
708 border: 1px solid #ccc;
709 background: #fff;
710 padding: .2em 1em;
711 color: #000;
714 div#searchTargetContainer {
715 left: 10px;
716 top: 10px;
717 width: 90%;
718 background: white;
721 div#searchTarget {
722 padding: 3px;
723 margin: 5px;
724 background: #F0F0F0;
725 border: solid 1px blue;
728 div#searchTarget ul li {
729 list-style: none;
732 div#searchTarget ul li:before {
733 color: orange;
734 content: "\00BB \0020";
737 div#searchTargetHide {
738 float: right;
739 border: solid 1px black;
740 background: #DCDCDC;
741 padding: 2px;
744 div.multipageimagenavbox {
745 border: solid 1px silver;
746 padding: 4px;
747 margin: 1em;
748 background: #f0f0f0;
751 div.multipageimagenavbox div.thumb {
752 border: none;
753 margin-left: 2em;
754 margin-right: 2em;
757 div.multipageimagenavbox hr {
758 margin: 6px;
761 table.multipageimage td {
762 text-align: center;
765 .templatesUsed {
766 margin-top: 1.5em;
769 .mw-summary-preview {
770 margin: 0.1em 0;
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;
780 div.mw-lag-warn-normal {
781 border: 1px solid #FFCC66;
782 background-color: #FFFFCC;
784 div.mw-lag-warn-high {
785 font-weight: bold;
786 border: 2px solid #FF0033;
787 background-color: #FFCCCC;
790 .MediaTransformError {
791 background-color: #ccc;
792 padding: 0.1em;
794 .MediaTransformError td {
795 text-align: center;
796 vertical-align: middle;
797 font-size: 90%;
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);
807 ol {
808 line-height: 1.5em;
809 margin: .3em 0 0 3.2em;
810 padding: 0;
811 list-style-image: none;
813 li {
814 margin-bottom: .1em;
816 dt {
817 font-weight: bold;
818 margin-bottom: .1em;
820 dl {
821 margin-top: .2em;
822 margin-bottom: .5em;
825 #p-cactions li.new a {
826 color: #cc2200;
829 span.subpages {
830 font-size: 80%;
831 display: block;
834 pre, .mw-code {
835 border: solid 1px #3c78b5;
836 padding: 0.4em;
837 background-color: #f0f0f0;
840 .usermessage {
841 background-color: #dadaff;
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;
852 .mw-topbox p {
853 padding: 0 0 0 0;
854 margin: 0 0 0 0;
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;
867 #siteSub {
868 background-color: #dddddd;
871 /* emulate center */
872 .center {
873 width: 100%;
874 text-align: center;
876 *.center * {
877 margin-left: auto;
878 margin-right: auto;
881 /* table standards */
882 .toccolours {
883 border: 1px solid #bbbbbb;
884 background-color: #f0f0f0;
885 border-spacing: 0pt;
886 margin: 0pt;
887 padding: 0pt;
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%;
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.
901 /* @noflip */
902 html > body.rtl div#mw_contentholder ul {
903 display: table;
906 /* @noflip */
907 html > body.rtl div#mw_contentholder ul#filetoc {
908 display: block;