Room around thumbs should be margin, not a transparent border.
[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: 10pt;*/
5 font-size: x-small;
6
7
8 font-family: sans-serif;
9 color: black;
10 background-color: #f0f0f0;
11 }
12
13 #mw_main,
14 #p-personal,
15 #mw_header,
16 .os-suggest {
17 font-size: 130%;
18 }
19
20 #mw_header {
21 position: absolute;
22 top: 0;
23 left: 0;
24 margin: 0 0 0 0;
25 padding: 0 0em 0 0em;
26 border: none;
27 height: 2em;
28 width: 100%;
29
30 background-color: #003366;
31 color: white;
32 }
33
34 #mw_header h1 {
35 margin: 0 0 0 0.5em;
36 padding: 0 0 0 0;
37 text-decoration: none;
38 font-size: 150%;
39 }
40
41 #p-personal {
42 position: absolute;
43 top: 2em;
44 left: 0;
45 height: 1.5em;
46 margin: 0 0 0 0;
47 padding: 0 0 0 0;
48 width: 100%;
49
50 }
51
52 #p-personal div.pBody {
53 margin: 0 0 0 0;
54 padding: 0 0 0 0;
55 height: 1.5em;
56 font-variant: small-caps;
57 }
58
59 #p-personal h5 {
60 display: none;
61 }
62
63 #p-personal ul {
64 margin: 0 0 0 0;
65 padding: 0 0 0 0;
66 display: block;
67 height: 1.5em;
68 background-color: #3c78b5;
69 }
70
71 #p-personal li {
72 display: block;
73 float: left;
74 height: 1.5em;
75 margin: 0 0 0 0;
76 vertical-align: middle;
77
78 font-weight: bold;
79 text-transform: lowercase;
80 }
81
82 #p-personal li a {
83 text-decoration: none;
84 color: white;
85 padding: 0 1em 0 1em;
86 }
87
88 #p-personal li a:hover {
89 text-decoration: none;
90 color: white;
91 }
92
93 #p-personal li:hover {
94 background-color: #003366;
95 }
96
97 #jump-to-nav {
98 display: none;
99 }
100
101 #mw_contentwrapper {
102 width: 100%;
103 margin: 0 0 0 -15em;
104 float: right;
105 }
106
107 #mw_content {
108 margin: 0 0 0 14em;
109
110 background-color: white;
111 border-top: solid 1px #bbbbbb;
112 border-left: solid 1px #bbbbbb;
113 border-bottom: solid 1px #bbbbbb;
114
115 line-height: 1.5em;
116 padding: 0 1em 1em 1em;
117 }
118
119 #mw_portlets {
120 width: 14em;
121
122 border-right: solid 1px #bbbbbb;
123 background-color: #f0f0f0;
124 }
125
126 #mw_main {
127 padding: 0 0 0 0;
128 margin: 0 0 0 0;
129 margin-top: 3.5em;
130 }
131
132 div.mw_clear {
133 margin: 0 0 0 0;
134 padding: 0 0 0 0;
135 clear: both;
136 }
137
138 .portlet {
139 padding: 0 0 0 0;
140 margin: 0 0 0 0;
141 }
142
143 .portlet div.pBody {
144 padding: 0em 0 0.5em 0;
145 }
146
147 textarea {
148 width: 100%;
149 padding: .1em;
150 }
151
152 #searchBody {
153 text-align: center;
154 }
155
156 #searchInput {
157 width: 85%;
158 margin-left: auto;
159 margin-right: auto;
160 }
161
162 #p-search #searchform div div {
163 margin-top: .4em;
164 }
165
166 .portlet h5 {
167 padding: 0.1em 0 0.3em 1em;
168 margin: 0 0 0 0;
169 background-color: #dddddd;
170 font-weight: bold;
171 border-bottom: solid 1px #3c78b5;
172 height: 1.1em;
173 }
174
175 .portlet ul {
176 margin: 0 0 0 1.5em;
177 padding: 0 0 0 0;
178 }
179
180 #mw_portlets .portlet ul {
181 line-height: 1.4em;
182 }
183
184 ul {
185 list-style-image: url(bullet.gif);
186 }
187
188 #p-cactions {
189 height: 1.5em;
190 padding: 0 0 0 0;
191 margin: 0 0 0 14em;
192 }
193
194 #p-cactions div.pBody {
195 margin: 0 0 0 0;
196 padding: 0 0 0 0;
197 }
198
199 #p-cactions a,
200 #p-cactions a:hover {
201 color: black;
202 text-decoration: none;
203 }
204
205 #p-cactions ul {
206 display: inline;
207 margin: 0 0 0 0;
208 padding: 0 0 0 0;
209 }
210
211 #p-cactions li {
212 margin: 0 0.5em 0 0.5em;
213 padding: 0 0.2em 0 0.2em;
214 display: block;
215 float: left;
216 height: 1.5em;
217 text-transform: lowercase;
218 }
219
220 #p-cactions li.selected {
221 background-color: #bbbbbb;
222 }
223
224 #p-cactions li a,
225 #p-cactions li a:hover,
226 #p-cactions li a:visited {
227 text-decoration: underline;
228 color: #003366;
229 }
230
231 #p-cactions li.selected a,
232 #p-cactions li.selected a:hover,
233 #p-cactions li.selected a:visited {
234 text-decoration: none;
235 color: white;
236 }
237
238 #p-cactions h5 {
239 display: none;
240 }
241
242 #siteSub {
243 display: none;
244 }
245
246 #footer {
247 background-color: #f0f0f0;
248 background: url(footer-grad.png) repeat-x 0 0;
249 padding: 10px 1em 1em 1em;
250 clear:both;
251 color: #444444;
252 }
253
254 #footer a,
255 #footer a:hover,
256 #footer a:visited {
257 color: #444444;
258 text-decoration: underline;
259 }
260
261 img {
262 border: none;
263 }
264
265 #footer li {
266 display: inline;
267 list-style-type: none;
268 padding: 0 0 0 0;
269 margin: 0 0 0 0;
270 }
271
272 #footer ul {
273 padding: 0 0 0 0;
274 margin: 0 0 0 0;
275 }
276
277 div.printfooter {
278 display: none;
279 }
280
281 p {
282 margin: 1em 0 1em 0;
283 }
284
285 hr {
286 height: 1px;
287 color: #aaa;
288 background-color: #aaa;
289 border: 0;
290 margin: .2em 0 .2em 0;
291 }
292
293 #contentSub {
294 color: #888;
295 font-size: small;
296 padding-left: 2em;
297 }
298
299 #mw_portlets form {
300 margin: 0 0 0 0;
301 padding: 0 0 0 0;
302 }
303
304 a {
305 text-decoration: none;
306 color: #003366;
307 background: none;
308 }
309 a:visited {
310 color: #5a3696;
311 }
312 a:active {
313 color: #faa700;
314 }
315 a:hover {
316 text-decoration: underline;
317 }
318 a.stub {
319 color: #772233;
320 }
321 a.new {
322 color: #ba0000;
323 }
324 a.new:visited {
325 color: #a55858;
326 }
327
328 span.editsection {
329 font-size: small;
330 }
331
332 h1, h2 {
333 border-bottom: solid 1px #003366;
334 }
335
336 #preftoc {
337 width: 100%;
338 margin: 0 0 0 0;
339 padding: 0 0 0 0;
340 height: 1.5em;
341 clear: right;
342 }
343
344 #preftoc li {
345 margin: 0 0.5em 0 0.5em;
346 padding: 0 0.2em 0 0.2em;
347 display: block;
348 float: left;
349 height: 1.5em;
350 text-transform: lowercase;
351 }
352
353 #preferences {
354 margin: 0 0 0 0;
355 padding: 0em 1em 1em 1em;
356 border: solid 1px #bbbbbb;
357 clear: left; /* Multi-line toc should not push data to horizontally */
358 }
359
360 #preferences fieldset {
361 margin-top: 0;
362 border: none;
363 }
364
365 #preferences h2 {
366 }
367
368 .mainLegend {
369 display: none;
370 }
371
372 .htmlform-tip {
373 font-size: x-small;
374 padding: .2em 2em;
375 color: #666;
376 }
377
378 .prefsection legend {
379 font-weight: bold;
380 }
381
382 #preftoc li.selected {
383 background-color: #bbbbbb;
384 }
385
386 #preftoc li a,
387 #preftoc li a:hover,
388 #preftoc li a:visited {
389 text-decoration: underline;
390 color: #003366;
391 }
392
393 #preftoc li.selected a,
394 #preftoc li.selected a:hover,
395 #preftoc li.selected a:visited {
396 text-decoration: none;
397 color: white;
398 }
399
400 #mw-pref-clear {
401 clear: both;
402 }
403
404 #mw_content a.external,
405 #mw_content a[href ^="gopher://"] {
406 background: url(external.png) center right no-repeat;
407 padding-right: 13px;
408 }
409 #mw_content a[href ^="https://"],
410 .link-https {
411 background: url(lock_icon.gif) center right no-repeat;
412 padding-right: 16px;
413 }
414 #mw_content a[href ^="mailto:"],
415 .link-mailto {
416 background: url(mail_icon.gif) center right no-repeat;
417 padding-right: 18px;
418 }
419 #mw_content a[href ^="news://"] {
420 background: url(news_icon.png) center right no-repeat;
421 padding-right: 18px;
422 }
423 #mw_content a[href ^="ftp://"],
424 .link-ftp {
425 background: url(file_icon.gif) center right no-repeat;
426 padding-right: 18px;
427 }
428 #mw_content a[href ^="irc://"],
429 #mw_content a.extiw[href ^="irc://"],
430 .link-irc {
431 background: url(discussionitem_icon.gif) center right no-repeat;
432 padding-right: 18px;
433 }
434
435 #mw_content a.external[href $=".ogg"], #mw_content a.external[href $=".OGG"],
436 #mw_content a.external[href $=".mid"], #mw_content a.external[href $=".MID"],
437 #mw_content a.external[href $=".midi"], #mw_content a.external[href $=".MIDI"],
438 #mw_content a.external[href $=".mp3"], #mw_content a.external[href $=".MP3"],
439 #mw_content a.external[href $=".wav"], #mw_content a.external[href $=".WAV"],
440 #mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"],
441 .link-audio {
442 background: url("audio.png") center right no-repeat;
443 padding-right: 13px;
444 }
445 #mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"],
446 #mw_content a.external[href $=".avi"], #mw_content a.external[href $=".AVI"],
447 #mw_content a.external[href $=".mpeg"], #mw_content a.external[href $=".MPEG"],
448 #mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"],
449 .link-video {
450 background: url("video.png") center right no-repeat;
451 padding-right: 13px;
452 }
453 #mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"],
454 #mw_content a.external[href *=".pdf#"], #mw_content a.external[href *=".PDF#"],
455 #mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"],
456 .link-document {
457 background: url("document.png") center right no-repeat;
458 padding-right: 12px;
459 }
460
461 /* images */
462 div.floatright, table.floatright {
463 clear: right;
464 float: right;
465 position: relative;
466 margin: 0 0 .5em .5em;
467 border: 0;
468 /*
469 border: .5em solid white;
470 border-width: .5em 0 .8em 1.4em;
471 */
472 }
473 div.floatright p { font-style: italic; }
474 div.floatleft, table.floatleft {
475 float: left;
476 clear: left;
477 position: relative;
478 margin: 0 .5em .5em 0;
479 border: 0;
480 /*
481 margin: .3em .5em .5em 0;
482 border: .5em solid white;
483 border-width: .5em 1.4em .8em 0;
484 */
485 }
486 div.floatleft p { font-style: italic; }
487 /* thumbnails */
488 div.thumb {
489 margin-bottom: .5em;
490 width: auto;
491 }
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;
499 }
500 html .thumbimage {
501 border: 1px solid #ccc;
502 }
503 html .thumbcaption {
504 border: none;
505 text-align: left;
506 line-height: 1.4em;
507 padding: 3px !important;
508 font-size: 94%;
509 }
510 div.magnify {
511 float: right;
512 border: none !important;
513 background: none !important;
514 }
515 div.magnify a, div.magnify img {
516 display: block;
517 border: none !important;
518 background: none !important;
519 }
520 div.tright {
521 clear: right;
522 float: right;
523 margin: .5em 0 .8em 1.4em;
524 }
525 div.tleft {
526 float: left;
527 clear: left;
528 margin: .5em 1.9em .8em 0;
529 }
530 img.thumbborder {
531 border: 1px solid #dddddd;
532 }
533 .hiddenStructure {
534 display: none;
535 }
536 .mw-warning {
537 border: 1px solid #aaa;
538 background-color: #f9f9f9;
539 padding: 5px;
540 font-size: 95%;
541 }
542
543 #toc,
544 .toc {
545 margin: 0 0 0 0;
546 padding: 0 0 0 0;
547 border-spacing: 0;
548 background-color: #f0f0f0;
549 border: solid 1px #bbbbbb;
550 }
551
552 #toc tr, #toc td {
553 margin: 0 0 0 0;
554 padding: 0 0 0 0;
555 }
556
557 #toctitle {
558 border-bottom: solid 1px #3c78b5;
559 background-color: #dddddd;
560 margin: 0 0 0 0;
561 }
562
563 #toc h2,
564 .toc h2 {
565 display: inline;
566 border: none;
567 padding: 0;
568 font-size: 100%;
569 font-weight: bold;
570 }
571 #toc #toctitle,
572 .toc #toctitle,
573 #toc .toctitle,
574 .toc .toctitle {
575 text-align: center;
576 }
577
578 #toc ul,
579 .toc ul {
580 list-style-type: none;
581 list-style-image: none;
582 margin: 0 1em 0 1em;
583 padding-left: 0;
584 text-align: left;
585 }
586
587 #toc ul ul,
588 .toc ul ul {
589 margin: 0 0 0 2em;
590 }
591
592 #toc .toctoggle,
593 .toc .toctoggle {
594 font-size: 94%;
595 }
596
597 .mw-warning {
598 margin-left: 50px;
599 margin-right: 50px;
600 text-align: center;
601 }
602
603 .catlinks {
604 border: solid 1px #bbbbbb;
605 background-color: #f0f0f0;
606 padding: 0.1em 0.3em 0.1em 0.3em;
607 margin: 0 0 0 0;
608 }
609
610 #mw_header h1,
611 #p-personal,
612 #p-cactions {
613 overflow: hidden;
614 }
615
616 /* disable interwiki styling */
617 #mw_content a.extiw,
618 #mw_content a.extiw:active {
619 color: #36b;
620 background: none;
621 padding: 0;
622 }
623 #mw_content a.external {
624 color: #36b;
625 }
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: gainsboro;
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 { margin-top: 1.5em; }
756
757 .mw-summary-preview {
758 margin: 0.1em 0;
759 }
760
761 /* Friendlier slave lag warnings */
762 div.mw-lag-warn-normal,
763 div.mw-lag-warn-high {
764 padding: 3px;
765 text-align: center;
766 margin: 3px auto;
767 }
768 div.mw-lag-warn-normal {
769 border: 1px solid #FFCC66;
770 background-color: #FFFFCC;
771 }
772 div.mw-lag-warn-high {
773 font-weight: bold;
774 border: 2px solid #FF0033;
775 background-color: #FFCCCC;
776 }
777
778 .MediaTransformError {
779 background-color: #ccc;
780 padding: 0.1em;
781 }
782 .MediaTransformError td {
783 text-align: center;
784 vertical-align: middle;
785 font-size: 90%;
786 }
787 ul {
788 line-height: 1.5em;
789 list-style-type: square;
790 margin: .3em 0 0 1.5em;
791 padding: 0;
792 list-style-image: url(bullet.gif);
793 }
794 ol {
795 line-height: 1.5em;
796 margin: .3em 0 0 3.2em;
797 padding: 0;
798 list-style-image: none;
799 }
800 li {
801 margin-bottom: .1em;
802 }
803 dt {
804 font-weight: bold;
805 margin-bottom: .1em;
806 }
807 dl {
808 margin-top: .2em;
809 margin-bottom: .5em;
810 }
811
812 #p-cactions li.new a {
813 color: #cc2200;
814 }
815
816 span.subpages {
817 font-size: 80%;
818 display: block;
819 }
820
821 pre {
822 border: solid 1px #3c78b5;
823 padding: 0.4em;
824 background-color: #f0f0f0;
825 }
826
827 .usermessage {
828 background-color: #dadaff;
829 }
830
831 .mw-topboxes {
832 border-collapse: collapse;
833 margin: 0 -1em 1em -1em;
834 padding: 0 0 8px 0;
835 background: url(footer-grad.png) repeat-x bottom left;
836 }
837
838 .mw-topbox p {
839 padding: 0 0 0 0;
840 margin: 0 0 0 0;
841 }
842
843 .mw-topbox {
844 color: black;
845 font-weight: bold;
846 margin: 0 0 0 0;
847 padding: 0 1em 0 1em;
848 vertical-align: middle;
849 border-collapse: collapse;
850 border-bottom: solid 1px #bbbbbb;
851 }
852
853 #siteSub {
854 background-color: #dddddd;
855 }
856
857 /* emulate center */
858 .center {
859 width: 100%;
860 text-align: center;
861 }
862 *.center * {
863 margin-left: auto;
864 margin-right: auto;
865 }
866
867 /* table standards */
868 .toccolours {
869 border: 1px solid #bbbbbb;
870 background-color: #f0f0f0;
871 border-spacing: 0pt;
872 margin: 0pt;
873 padding: 0pt;
874 }
875
876 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
877 .tipsy {
878 font-size: 130%;
879 }