Localisation updates from http://translatewiki.net.
[mediawiki.git] / skins / modern / main.css
blob5d6eb0b73d52306dc4ef74e900c8f13d12adfc27
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 h5 {
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 #mw_main {
129 padding: 0 0 0 0;
130 margin: 0 0 0 0;
131 margin-top: 3.5em;
134 div.mw_clear {
135 margin: 0 0 0 0;
136 padding: 0 0 0 0;
137 clear: both;
140 .portlet {
141 padding: 0 0 0 0;
142 margin: 0 0 0 0;
145 .portlet div.pBody {
146 padding: 0em 0 0.5em 0;
149 textarea {
150 width: 100%;
151 padding: .1em;
154 #searchBody {
155 text-align: center;
158 #searchInput {
159 width: 85%;
160 margin-left: auto;
161 margin-right: auto;
164 #p-search #searchform div div {
165 margin-top: .4em;
168 .portlet h5 {
169 padding: 0.1em 0 0.3em 1em;
170 margin: 0 0 0 0;
171 background-color: #dddddd;
172 font-weight: bold;
173 border-bottom: solid 1px #3c78b5;
174 height: 1.1em;
177 .portlet ul {
178 margin: 0 0 0 1.5em;
179 padding: 0 0 0 0;
182 #mw_portlets .portlet ul {
183 line-height: 1.4em;
186 ul {
187 /* @embed */
188 list-style-image: url(bullet.gif);
191 #p-cactions {
192 height: 1.5em;
193 padding: 0 0 0 0;
194 margin: 0 0 0 14em;
197 #p-cactions div.pBody {
198 margin: 0 0 0 0;
199 padding: 0 0 0 0;
202 #p-cactions a,
203 #p-cactions a:hover {
204 color: black;
205 text-decoration: none;
208 #p-cactions ul {
209 display: inline;
210 margin: 0 0 0 0;
211 padding: 0 0 0 0;
214 #p-cactions li {
215 margin: 0 0.5em 0 0.5em;
216 padding: 0 0.2em 0 0.2em;
217 display: block;
218 float: left;
219 height: 1.5em;
220 text-transform: lowercase;
223 #p-cactions li.selected {
224 background-color: #bbbbbb;
227 #p-cactions li a,
228 #p-cactions li a:hover,
229 #p-cactions li a:visited {
230 text-decoration: underline;
231 color: #003366;
234 #p-cactions li.selected a,
235 #p-cactions li.selected a:hover,
236 #p-cactions li.selected a:visited {
237 text-decoration: none;
238 color: white;
241 #p-cactions h5 {
242 display: none;
245 #siteSub {
246 display: none;
249 #footer {
250 background-color: #f0f0f0;
251 /* @embed */
252 background: url(footer-grad.png) repeat-x 0 0;
253 padding: 10px 1em 1em 1em;
254 clear:both;
255 color: #444444;
258 #footer a,
259 #footer a:hover,
260 #footer a:visited {
261 color: #444444;
262 text-decoration: underline;
265 img {
266 border: none;
269 #footer li {
270 display: inline;
271 list-style-type: none;
272 padding: 0 0 0 0;
273 margin: 0 0 0 0;
276 #footer ul {
277 padding: 0 0 0 0;
278 margin: 0 0 0 0;
282 margin: 1em 0 1em 0;
285 hr {
286 height: 1px;
287 color: #aaa;
288 background-color: #aaa;
289 border: 0;
290 margin: .2em 0 .2em 0;
293 #contentSub {
294 color: #888;
295 font-size: small;
296 padding-left: 2em;
299 #mw_portlets form {
300 margin: 0 0 0 0;
301 padding: 0 0 0 0;
305 text-decoration: none;
306 color: #003366;
307 background: none;
309 a:visited {
310 color: #5a3696;
312 a:active {
313 color: #faa700;
315 a:hover {
316 text-decoration: underline;
318 a.stub {
319 color: #772233;
321 a.new {
322 color: #ba0000;
324 a.new:visited {
325 color: #a55858;
328 span.editsection {
329 font-size: small;
332 h1, h2 {
333 border-bottom: solid 1px #003366;
336 h1, h2, h3, h4, h5, h6 {
337 overflow: hidden;
340 #preftoc {
341 width: 100%;
342 margin: 0 0 0 0;
343 padding: 0 0 0 0;
344 height: 1.5em;
345 clear: right;
348 #preftoc li {
349 margin: 0 0.5em 0 0.5em;
350 padding: 0 0.2em 0 0.2em;
351 display: block;
352 float: left;
353 height: 1.5em;
354 text-transform: lowercase;
357 #preferences {
358 margin: 0 0 0 0;
359 padding: 0em 1em 1em 1em;
360 border: solid 1px #bbbbbb;
361 clear: left; /* Multi-line toc should not push data to horizontally */
364 #preferences fieldset {
365 margin-top: 0;
366 border: none;
369 .mainLegend {
370 display: none;
373 .htmlform-tip {
374 font-size: x-small;
375 padding: .2em 2em;
376 color: #666;
379 .prefsection legend {
380 font-weight: bold;
383 #preftoc li.selected {
384 background-color: #bbbbbb;
387 #preftoc li a,
388 #preftoc li a:hover,
389 #preftoc li a:visited {
390 text-decoration: underline;
391 color: #003366;
394 #preftoc li.selected a,
395 #preftoc li.selected a:hover,
396 #preftoc li.selected a:visited {
397 text-decoration: none;
398 color: white;
401 #mw-pref-clear {
402 clear: both;
405 #mw_content a.external,
406 #mw_content a.external[href ^="gopher://"] {
407 /* @embed */
408 background: url(external.png) center right no-repeat;
409 padding-right: 13px;
411 #mw_content a.external[href ^="https://"],
412 .link-https {
413 /* @embed */
414 background: url(lock_icon.gif) center right no-repeat;
415 padding-right: 16px;
417 #mw_content a.external[href ^="mailto:"],
418 .link-mailto {
419 /* @embed */
420 background: url(mail_icon.gif) center right no-repeat;
421 padding-right: 18px;
423 #mw_content a.external[href ^="news:"] {
424 /* @embed */
425 background: url(news_icon.png) center right no-repeat;
426 padding-right: 18px;
428 #mw_content a.external[href ^="ftp://"],
429 .link-ftp {
430 /* @embed */
431 background: url(file_icon.gif) center right no-repeat;
432 padding-right: 18px;
434 #mw_content a.external[href ^="irc://"],
435 #mw_content a.external[href ^="ircs://"],
436 .link-irc {
437 /* @embed */
438 background: url(discussionitem_icon.gif) center right no-repeat;
439 padding-right: 18px;
442 #mw_content a.external[href $=".ogg"], #mw_content a.external[href $=".OGG"],
443 #mw_content a.external[href $=".mid"], #mw_content a.external[href $=".MID"],
444 #mw_content a.external[href $=".midi"], #mw_content a.external[href $=".MIDI"],
445 #mw_content a.external[href $=".mp3"], #mw_content a.external[href $=".MP3"],
446 #mw_content a.external[href $=".wav"], #mw_content a.external[href $=".WAV"],
447 #mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"],
448 .link-audio {
449 /* @embed */
450 background: url(audio.png) center right no-repeat;
451 padding-right: 13px;
453 #mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"],
454 #mw_content a.external[href $=".avi"], #mw_content a.external[href $=".AVI"],
455 #mw_content a.external[href $=".mpeg"], #mw_content a.external[href $=".MPEG"],
456 #mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"],
457 .link-video {
458 /* @embed */
459 background: url(video.png) center right no-repeat;
460 padding-right: 13px;
462 #mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"],
463 #mw_content a.external[href *=".pdf#"], #mw_content a.external[href *=".PDF#"],
464 #mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"],
465 .link-document {
466 /* @embed */
467 background: url(document.png) center right no-repeat;
468 padding-right: 12px;
471 /* images */
472 /* @noflip */div.floatright, table.floatright {
473 margin: 0 0 .5em .5em;
474 border: 0;
476 div.floatright p {
477 font-style: italic;
479 /* @noflip */div.floatleft, table.floatleft {
480 margin: 0 .5em .5em 0;
481 border: 0;
483 div.floatleft p {
484 font-style: italic;
487 /* thumbnails */
488 div.thumb {
489 margin-bottom: .5em;
490 width: auto;
492 div.thumbinner {
493 border: 1px solid #ccc;
494 padding: 3px !important;
495 background-color: #f9f9f9;
496 font-size: 94%;
497 text-align: center;
498 overflow: hidden;
500 html .thumbimage {
501 border: 1px solid #ccc;
503 html .thumbcaption {
504 border: none;
505 text-align: left;
506 line-height: 1.4em;
507 padding: 3px !important;
508 font-size: 94%;
510 div.magnify {
511 float: right;
512 border: none !important;
513 background: none !important;
515 div.magnify a, div.magnify img {
516 display: block;
517 border: none !important;
518 background: none !important;
520 /* @noflip */div.tright {
521 margin: .5em 0 .8em 1.4em;
523 /* @noflip */div.tleft {
524 margin: .5em 1.4em .8em 0;
526 img.thumbborder {
527 border: 1px solid #dddddd;
529 .mw-warning {
530 border: 1px solid #aaa;
531 background-color: #f9f9f9;
532 padding: 5px;
533 font-size: 95%;
536 #toc,
537 .toc {
538 margin: 0 0 0 0;
539 padding: 0 0 0 0;
540 border-spacing: 0;
541 background-color: #f0f0f0;
542 border: solid 1px #bbbbbb;
545 #toc tr, #toc td {
546 margin: 0 0 0 0;
547 padding: 0 0 0 0;
550 #toctitle {
551 border-bottom: solid 1px #3c78b5;
552 background-color: #dddddd;
553 margin: 0 0 0 0;
556 #toc h2,
557 .toc h2 {
558 display: inline;
559 border: none;
560 padding: 0;
561 font-size: 100%;
562 font-weight: bold;
564 #toc #toctitle,
565 .toc #toctitle,
566 #toc .toctitle,
567 .toc .toctitle {
568 text-align: center;
571 #toc ul,
572 .toc ul {
573 list-style-type: none;
574 list-style-image: none;
575 margin: 0 1em 0 1em;
576 padding: 0;
577 text-align: left;
580 #toc ul ul,
581 .toc ul ul {
582 margin: 0 0 0 2em;
585 #toc .toctoggle,
586 .toc .toctoggle {
587 font-size: 94%;
590 .mw-warning {
591 margin-left: 50px;
592 margin-right: 50px;
593 text-align: center;
596 .catlinks {
597 border: solid 1px #bbbbbb;
598 background-color: #f0f0f0;
599 padding: 0.1em 0.3em 0.1em 0.3em;
600 margin: 0 0 0 0;
603 #mw_header h1,
604 #p-personal,
605 #p-cactions {
606 overflow: hidden;
609 /* disable interwiki styling */
610 #mw_content a.extiw,
611 #mw_content a.extiw:active {
612 color: #36b;
614 #mw_content a.external {
615 color: #36b;
619 .redirectText {
620 font-size: 150%;
621 margin: 5px;
624 .printfooter {
625 display: none;
628 .sharedUploadNotice {
629 font-style: italic;
632 span.updatedmarker {
633 color: black;
634 background-color: #0f0;
637 .previewnote {
638 text-indent: 3em;
639 color: #c00;
640 border-bottom: 1px solid #aaa;
641 padding-bottom: 1em;
642 margin-bottom: 1em;
645 .previewnote p {
646 margin: 0;
647 padding: 0;
650 .editExternally {
651 border: 1px solid gray;
652 background-color: #ffffff;
653 padding: 3px;
654 margin-top: 0.5em;
655 float: left;
656 font-size: small;
657 text-align: center;
659 .editExternallyHelp {
660 font-style: italic;
661 color: gray;
664 .toggle {
665 margin-left: 2em;
666 text-indent: -2em;
669 table.collapsed tr.collapsable {
670 display: none;
673 input#wpSummary {
674 width: 80%;
677 /* @bug 1714 */
678 input#wpSave, input#wpDiff {
679 margin-right: 0.33em;
682 #wpSave {
683 font-weight: bold;
686 /* noarticletext */
687 div.noarticletext {
688 border: 1px solid #ccc;
689 background: #fff;
690 padding: .2em 1em;
691 color: #000;
694 div#searchTargetContainer {
695 left: 10px;
696 top: 10px;
697 width: 90%;
698 background: white;
701 div#searchTarget {
702 padding: 3px;
703 margin: 5px;
704 background: #F0F0F0;
705 border: solid 1px blue;
708 div#searchTarget ul li {
709 list-style: none;
712 div#searchTarget ul li:before {
713 color: orange;
714 content: "\00BB \0020";
717 div#searchTargetHide {
718 float: right;
719 border: solid 1px black;
720 background: #DCDCDC;
721 padding: 2px;
724 div.multipageimagenavbox {
725 border: solid 1px silver;
726 padding: 4px;
727 margin: 1em;
728 background: #f0f0f0;
731 div.multipageimagenavbox div.thumb {
732 border: none;
733 margin-left: 2em;
734 margin-right: 2em;
737 div.multipageimagenavbox hr {
738 margin: 6px;
741 table.multipageimage td {
742 text-align: center;
745 .templatesUsed {
746 margin-top: 1.5em;
749 .mw-summary-preview {
750 margin: 0.1em 0;
753 /* Friendlier slave lag warnings */
754 div.mw-lag-warn-normal,
755 div.mw-lag-warn-high {
756 padding: 3px;
757 text-align: center;
758 margin: 3px auto;
760 div.mw-lag-warn-normal {
761 border: 1px solid #FFCC66;
762 background-color: #FFFFCC;
764 div.mw-lag-warn-high {
765 font-weight: bold;
766 border: 2px solid #FF0033;
767 background-color: #FFCCCC;
770 .MediaTransformError {
771 background-color: #ccc;
772 padding: 0.1em;
774 .MediaTransformError td {
775 text-align: center;
776 vertical-align: middle;
777 font-size: 90%;
779 ul {
780 line-height: 1.5em;
781 list-style-type: square;
782 margin: .3em 0 0 1.5em;
783 padding: 0;
784 /* @embed */
785 list-style-image: url(bullet.gif);
787 ol {
788 line-height: 1.5em;
789 margin: .3em 0 0 3.2em;
790 padding: 0;
791 list-style-image: none;
793 li {
794 margin-bottom: .1em;
796 dt {
797 font-weight: bold;
798 margin-bottom: .1em;
800 dl {
801 margin-top: .2em;
802 margin-bottom: .5em;
805 #p-cactions li.new a {
806 color: #cc2200;
809 span.subpages {
810 font-size: 80%;
811 display: block;
814 pre {
815 border: solid 1px #3c78b5;
816 padding: 0.4em;
817 background-color: #f0f0f0;
820 .usermessage {
821 background-color: #dadaff;
824 .mw-topboxes {
825 border-collapse: collapse;
826 margin: 0 -1em 1em -1em;
827 padding: 0 0 8px 0;
828 /* @embed */
829 background: url(footer-grad.png) repeat-x bottom left;
832 .mw-topbox p {
833 padding: 0 0 0 0;
834 margin: 0 0 0 0;
837 .mw-topbox {
838 color: black;
839 font-weight: bold;
840 margin: 0 0 0 0;
841 padding: 0 1em 0 1em;
842 vertical-align: middle;
843 border-collapse: collapse;
844 border-bottom: solid 1px #bbbbbb;
847 #siteSub {
848 background-color: #dddddd;
851 /* emulate center */
852 .center {
853 width: 100%;
854 text-align: center;
856 *.center * {
857 margin-left: auto;
858 margin-right: auto;
861 /* table standards */
862 .toccolours {
863 border: 1px solid #bbbbbb;
864 background-color: #f0f0f0;
865 border-spacing: 0pt;
866 margin: 0pt;
867 padding: 0pt;
870 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
871 .tipsy {
872 font-size: 130%;
876 * Lists:
877 * The following lines don't have a visible effect on non-Gecko browsers
878 * They fix a problem ith Gecko browsers rendering lists to the right of
879 * left-floated objects in an RTL layout.
881 /* @noflip */
882 html > body.rtl div#mw_contentholder ul {
883 display: table;
886 /* @noflip */
887 html > body.rtl div#mw_contentholder ul#filetoc {
888 display: block;