Merge "Add ss_active_users in SiteStats::isSane"
[mediawiki.git] / skins / modern / main.css
blob7e7758a697f74148b526138704fd5dcabc424883
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 #p-personal h5 {
63 display: none;
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;
74 #p-personal li {
75 display: block;
76 float: left;
77 height: 1.5em;
78 margin: 0 0 0 0;
79 vertical-align: middle;
81 font-weight: bold;
82 text-transform: lowercase;
85 #p-personal li a {
86 text-decoration: none;
87 color: white;
88 padding: 0 1em 0 1em;
91 #p-personal li a:hover {
92 text-decoration: none;
93 color: white;
96 #p-personal li:hover {
97 background-color: #003366;
100 #jump-to-nav {
101 display: none;
104 #mw_contentwrapper {
105 width: 100%;
106 margin: 0 0 0 -15em;
107 float: right;
110 #mw_content {
111 margin: 0 0 0 14em;
113 background-color: white;
114 border-top: solid 1px #bbbbbb;
115 border-left: solid 1px #bbbbbb;
116 border-bottom: solid 1px #bbbbbb;
118 line-height: 1.5em;
119 padding: 0 1em 1em 1em;
122 #mw_portlets {
123 width: 14em;
125 border-right: solid 1px #bbbbbb;
126 background-color: #f0f0f0;
129 /* Hide, but keep accessible for screen-readers */
130 #mw_portlets h2 {
131 position: absolute;
132 top: -9999px;
135 #mw_main {
136 padding: 0 0 0 0;
137 margin: 0 0 0 0;
138 margin-top: 3.5em;
141 div.mw_clear {
142 margin: 0 0 0 0;
143 padding: 0 0 0 0;
144 clear: both;
147 .portlet {
148 padding: 0 0 0 0;
149 margin: 0 0 0 0;
152 .portlet div.pBody {
153 padding: 0em 0 0.5em 0;
156 textarea {
157 width: 100%;
158 padding: .1em;
160 #editform textarea {
161 -moz-box-sizing: border-box;
162 -webkit-box-sizing: border-box;
163 box-sizing: border-box;
166 #searchBody {
167 text-align: center;
170 #searchInput {
171 width: 85%;
172 margin-left: auto;
173 margin-right: auto;
176 #p-search #searchform div div {
177 margin-top: .4em;
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;
191 .portlet ul {
192 margin: 0 0 0 1.5em;
193 padding: 0 0 0 0;
196 #mw_portlets .portlet ul {
197 line-height: 1.4em;
200 ul {
201 /* @embed */
202 list-style-image: url(bullet.gif);
205 #p-cactions {
206 height: 1.5em;
207 padding: 0 0 0 0;
208 margin: 0 0 0 14em;
211 #p-cactions div.pBody {
212 margin: 0 0 0 0;
213 padding: 0 0 0 0;
216 #p-cactions a,
217 #p-cactions a:hover {
218 color: black;
219 text-decoration: none;
222 #p-cactions ul {
223 display: inline;
224 margin: 0 0 0 0;
225 padding: 0 0 0 0;
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;
237 #p-cactions li.selected {
238 background-color: #bbbbbb;
241 #p-cactions li a,
242 #p-cactions li a:hover,
243 #p-cactions li a:visited {
244 text-decoration: underline;
245 color: #003366;
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;
255 #p-cactions h3,
256 #p-cactions h5 {
257 display: none;
260 #siteSub {
261 display: none;
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;
273 #footer a,
274 #footer a:hover,
275 #footer a:visited {
276 color: #444444;
277 text-decoration: underline;
280 img {
281 border: none;
284 #footer li {
285 display: inline;
286 list-style-type: none;
287 padding: 0 0 0 0;
288 margin: 0 0 0 0;
291 #footer ul {
292 padding: 0 0 0 0;
293 margin: 0 0 0 0;
297 margin: 1em 0 1em 0;
300 hr {
301 height: 1px;
302 color: #aaa;
303 background-color: #aaa;
304 border: 0;
305 margin: .2em 0 .2em 0;
308 #contentSub {
309 color: #888;
310 font-size: small;
311 padding-left: 2em;
314 #mw_portlets form {
315 margin: 0 0 0 0;
316 padding: 0 0 0 0;
320 text-decoration: none;
321 color: #003366;
322 background: none;
324 a:visited {
325 color: #5a3696;
327 a:active {
328 color: #faa700;
330 a:hover {
331 text-decoration: underline;
333 a.stub {
334 color: #772233;
336 a.new {
337 color: #ba0000;
339 a.new:visited {
340 color: #a55858;
343 span.editsection {
344 font-size: small;
347 h1, h2 {
348 border-bottom: solid 1px #003366;
351 h1, h2, h3, h4, h5, h6 {
352 overflow: hidden;
355 #preftoc {
356 width: 100%;
357 margin: 0 0 0 0;
358 padding: 0 0 0 0;
359 height: 1.5em;
360 clear: right;
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;
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 */
379 #preferences fieldset {
380 margin-top: 0;
381 border: none;
384 .mainLegend {
385 display: none;
388 .htmlform-tip {
389 font-size: x-small;
390 padding: .2em 2em;
391 color: #666;
394 .prefsection legend {
395 font-weight: bold;
398 #preftoc li.selected {
399 background-color: #bbbbbb;
402 #preftoc li a,
403 #preftoc li a:hover,
404 #preftoc li a:visited {
405 text-decoration: underline;
406 color: #003366;
409 #preftoc li.selected a,
410 #preftoc li.selected a:hover,
411 #preftoc li.selected a:visited {
412 text-decoration: none;
413 color: white;
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;
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;
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;
433 #mw_content a.external[href ^="news:"] {
434 /* @embed */
435 background: url(news_icon.png) center right no-repeat;
436 padding-right: 18px;
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;
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;
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;
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;
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;
481 /* images */
482 /* @noflip */div.floatright, table.floatright {
483 margin: 0 0 .5em .5em;
484 border: 0;
486 div.floatright p {
487 font-style: italic;
489 /* @noflip */div.floatleft, table.floatleft {
490 margin: 0 .5em .5em 0;
491 border: 0;
493 div.floatleft p {
494 font-style: italic;
497 /* thumbnails */
498 div.thumb {
499 margin-bottom: .5em;
500 width: auto;
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;
510 html .thumbimage {
511 border: 1px solid #ccc;
513 html .thumbcaption {
514 border: none;
515 text-align: left;
516 line-height: 1.4em;
517 padding: 3px !important;
518 font-size: 94%;
520 div.magnify {
521 float: right;
522 border: none !important;
523 background: none !important;
525 div.magnify a, div.magnify img {
526 display: block;
527 border: none !important;
528 background: none !important;
530 /* @noflip */div.tright {
531 margin: .5em 0 .8em 1.4em;
533 /* @noflip */div.tleft {
534 margin: .5em 1.4em .8em 0;
536 img.thumbborder {
537 border: 1px solid #dddddd;
539 .mw-warning {
540 border: 1px solid #aaa;
541 background-color: #f9f9f9;
542 padding: 5px;
543 font-size: 95%;
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;
555 #toc tr, #toc td {
556 margin: 0 0 0 0;
557 padding: 0 0 0 0;
560 #toctitle {
561 border-bottom: solid 1px #3c78b5;
562 background-color: #dddddd;
563 margin: 0 0 0 0;
566 #toc h2,
567 .toc h2 {
568 display: inline;
569 border: none;
570 padding: 0;
571 font-size: 100%;
572 font-weight: bold;
574 #toc #toctitle,
575 .toc #toctitle,
576 #toc .toctitle,
577 .toc .toctitle {
578 text-align: center;
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;
590 #toc ul ul,
591 .toc ul ul {
592 margin: 0 0 0 2em;
595 #toc .toctoggle,
596 .toc .toctoggle {
597 font-size: 94%;
600 .mw-warning {
601 margin-left: 50px;
602 margin-right: 50px;
603 text-align: center;
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;
613 #mw_header h1,
614 #p-personal,
615 #p-cactions {
616 overflow: hidden;
619 /* disable interwiki styling */
620 #mw_content a.extiw,
621 #mw_content a.extiw:active {
622 color: #36b;
624 #mw_content a.external {
625 color: #36b;
629 .redirectText {
630 font-size: 150%;
631 margin: 5px;
634 .printfooter {
635 display: none;
638 .sharedUploadNotice {
639 font-style: italic;
642 span.updatedmarker {
643 color: black;
644 background-color: #0f0;
647 .previewnote {
648 text-indent: 3em;
649 color: #c00;
650 border-bottom: 1px solid #aaa;
651 padding-bottom: 1em;
652 margin-bottom: 1em;
655 .previewnote p {
656 margin: 0;
657 padding: 0;
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;
669 .editExternallyHelp {
670 font-style: italic;
671 color: gray;
674 .toggle {
675 margin-left: 2em;
676 text-indent: -2em;
679 table.collapsed tr.collapsable {
680 display: none;
683 input#wpSummary {
684 width: 80%;
687 /* @bug 1714 */
688 input#wpSave, input#wpDiff {
689 margin-right: 0.33em;
692 #wpSave {
693 font-weight: bold;
696 /* noarticletext */
697 div.noarticletext {
698 border: 1px solid #ccc;
699 background: #fff;
700 padding: .2em 1em;
701 color: #000;
704 div#searchTargetContainer {
705 left: 10px;
706 top: 10px;
707 width: 90%;
708 background: white;
711 div#searchTarget {
712 padding: 3px;
713 margin: 5px;
714 background: #F0F0F0;
715 border: solid 1px blue;
718 div#searchTarget ul li {
719 list-style: none;
722 div#searchTarget ul li:before {
723 color: orange;
724 content: "\00BB \0020";
727 div#searchTargetHide {
728 float: right;
729 border: solid 1px black;
730 background: #DCDCDC;
731 padding: 2px;
734 div.multipageimagenavbox {
735 border: solid 1px silver;
736 padding: 4px;
737 margin: 1em;
738 background: #f0f0f0;
741 div.multipageimagenavbox div.thumb {
742 border: none;
743 margin-left: 2em;
744 margin-right: 2em;
747 div.multipageimagenavbox hr {
748 margin: 6px;
751 table.multipageimage td {
752 text-align: center;
755 .templatesUsed {
756 margin-top: 1.5em;
759 .mw-summary-preview {
760 margin: 0.1em 0;
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;
770 div.mw-lag-warn-normal {
771 border: 1px solid #FFCC66;
772 background-color: #FFFFCC;
774 div.mw-lag-warn-high {
775 font-weight: bold;
776 border: 2px solid #FF0033;
777 background-color: #FFCCCC;
780 .MediaTransformError {
781 background-color: #ccc;
782 padding: 0.1em;
784 .MediaTransformError td {
785 text-align: center;
786 vertical-align: middle;
787 font-size: 90%;
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);
797 ol {
798 line-height: 1.5em;
799 margin: .3em 0 0 3.2em;
800 padding: 0;
801 list-style-image: none;
803 li {
804 margin-bottom: .1em;
806 dt {
807 font-weight: bold;
808 margin-bottom: .1em;
810 dl {
811 margin-top: .2em;
812 margin-bottom: .5em;
815 #p-cactions li.new a {
816 color: #cc2200;
819 span.subpages {
820 font-size: 80%;
821 display: block;
824 pre, .mw-code {
825 border: solid 1px #3c78b5;
826 padding: 0.4em;
827 background-color: #f0f0f0;
830 .usermessage {
831 background-color: #dadaff;
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;
842 .mw-topbox p {
843 padding: 0 0 0 0;
844 margin: 0 0 0 0;
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;
857 #siteSub {
858 background-color: #dddddd;
861 /* emulate center */
862 .center {
863 width: 100%;
864 text-align: center;
866 *.center * {
867 margin-left: auto;
868 margin-right: auto;
871 /* table standards */
872 .toccolours {
873 border: 1px solid #bbbbbb;
874 background-color: #f0f0f0;
875 border-spacing: 0pt;
876 margin: 0pt;
877 padding: 0pt;
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%;
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.
891 /* @noflip */
892 html > body.rtl div#mw_contentholder ul {
893 display: table;
896 /* @noflip */
897 html > body.rtl div#mw_contentholder ul#filetoc {
898 display: block;