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