(bug 7020) Provisional stylesheet for handhelds (currently Monobook-only). Basically...
[lhc/web/wiklou.git] / skins / monobook / handheld.css
1 /*
2 ** MediaWiki 'monobook' handheld style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke - http://wikidev.net/
4 ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
5 **
6 ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
7 ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
8 ** Michael Zeltner and Geir Bækholt)
9 ** All you guys rock :)
10 */
11
12 #content {
13 background: white;
14 color: black;
15 border: 1px solid #aaa;
16 border-right: none;
17 }
18 /* the left column width is specified in class .portlet */
19
20 /* Font size:
21 ** We take advantage of keyword scaling- browsers won't go below 9px
22 ** More at http://www.w3.org/2003/07/30-font-size
23 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
24 */
25
26 body {
27 font: x-small sans-serif;
28 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
29 color: black;
30 margin: 0;
31 padding: 0;
32 }
33
34 /* scale back up to a sane default */
35 #globalWrapper {
36 font-size: 127%;
37 width: 100%;
38 margin: 0;
39 padding: 0;
40 }
41 .visualClear {
42 clear: both;
43 }
44
45 /* general styles */
46
47 table {
48 font-size: 100%;
49 color: black;
50 /* we don't want the bottom borders of <h2>s to be visible through
51 floated tables */
52 background-color: white;
53 }
54 a {
55 text-decoration: none;
56 color: #002bb8;
57 background: none;
58 }
59 a:visited {
60 color: #5a3696;
61 }
62 a:active {
63 color: #faa700;
64 }
65 a:hover {
66 text-decoration: underline;
67 }
68 a.stub {
69 color: #772233;
70 }
71 a.new, #p-personal a.new {
72 color: #ba0000;
73 }
74 a.new:visited, #p-personal a.new:visited {
75 color: #a55858;
76 }
77
78 img {
79 border: none;
80 vertical-align: middle;
81 }
82 p img {
83 margin: 0;
84 }
85
86 hr {
87 height: 1px;
88 color: #aaa;
89 background-color: #aaa;
90 border: 0;
91 margin: .2em 0 .2em 0;
92 }
93
94 h1, h2, h3, h4, h5, h6 {
95 color: black;
96 background: none;
97 font-weight: normal;
98 margin: 0;
99 padding-top: .5em;
100 padding-bottom: .17em;
101 border-bottom: 1px solid #aaa;
102 }
103 h1 { font-size: 188%; }
104 h1 .editsection { font-size: 53%; }
105 h2 { font-size: 150%; }
106 h2 .editsection { font-size: 67%; }
107 h3, h4, h5, h6 {
108 border-bottom: none;
109 font-weight: bold;
110 }
111 h3 { font-size: 132%; }
112 h3 .editsection { font-size: 76%; font-weight: normal; }
113 h4 { font-size: 116%; }
114 h4 .editsection { font-size: 86%; font-weight: normal; }
115 h5 { font-size: 100%; }
116 h5 .editsection { font-weight: normal; }
117 h6 { font-size: 80%; }
118 h6 .editsection { font-size: 125%; font-weight: normal; }
119
120 .editsection {
121 float: right;
122 }
123
124 ul {
125 list-style-type: square;
126 margin: .3em 0 0 1.5em;
127 padding: 0;
128 list-style-image: url(bullet.gif);
129 }
130 ol {
131 margin: .3em 0 0 3.2em;
132 padding: 0;
133 list-style-image: none;
134 }
135 li {
136 margin-bottom: .1em;
137 }
138 dt {
139 font-weight: bold;
140 margin-bottom: .1em;
141 }
142 dl {
143 margin-top: .2em;
144 margin-bottom: .5em;
145 }
146 dd {
147 margin-left: 2em;
148 margin-bottom: .1em;
149 }
150
151 fieldset {
152 border: 1px solid #2f6fab;
153 margin: 1em 0 1em 0;
154 padding: 0 1em 1em;
155 }
156 legend {
157 padding: .5em;
158 font-size: 95%;
159 }
160 form {
161 border: none;
162 margin: 0;
163 }
164
165 textarea {
166 width: 100%;
167 padding: .1em;
168 }
169
170 input.historysubmit {
171 padding: 0 .3em .3em .3em !important;
172 font-size: 94%;
173 cursor: pointer;
174 height: 1.7em !important;
175 margin-left: 1.6em;
176 }
177 select {
178 vertical-align: top;
179 }
180 abbr, acronym, .explain {
181 border-bottom: 1px dotted black;
182 color: black;
183 background: none;
184 cursor: help;
185 }
186 q {
187 font-family: Times, "Times New Roman", serif;
188 font-style: italic;
189 }
190 /* disabled for now
191 blockquote {
192 font-family: Times, "Times New Roman", serif;
193 font-style: italic;
194 }*/
195 code {
196 background-color: #f9f9f9;
197 }
198 pre {
199 padding: 1em;
200 border: 1px dashed #2f6fab;
201 color: black;
202 background-color: #f9f9f9;
203 line-height: 1.1em;
204 }
205
206 /*
207 ** the main content area
208 */
209
210 #siteSub {
211 display: none;
212 }
213
214 #contentSub, #contentSub2 {
215 font-size: 84%;
216 margin: 0 0 1.4em 1em;
217 color: #7d7d7d;
218 width: auto;
219 }
220 span.subpages {
221 display: block;
222 }
223
224 /* Some space under the headers in the content area */
225 #bodyContent h1, #bodyContent h2 {
226 margin-bottom: .6em;
227 }
228 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
229 margin-bottom: .3em;
230 }
231 .firstHeading {
232 margin-bottom: .1em;
233 }
234
235 /* user notification thing */
236 .usermessage {
237 background-color: #ffce7b;
238 border: 1px solid #ffa500;
239 color: black;
240 font-weight: bold;
241 margin: 2em 0 1em;
242 padding: .5em 1em;
243 vertical-align: middle;
244 }
245 #siteNotice {
246 text-align: center;
247 font-size: 95%;
248 padding: 0 .9em;
249 }
250 #siteNotice p {
251 margin: 0;
252 padding: 0;
253 }
254 /* Use this to kill big bulky things so the notice
255 * doesn't take up half the screen */
256 #siteNotice .nonessential {
257 display: none;
258 }
259 .error {
260 color: red;
261 font-size: larger;
262 }
263 .errorbox, .successbox {
264 font-size: larger;
265 border: 2px solid;
266 padding: .5em 1em;
267 margin-bottom: 2em;
268 color: #000;
269 }
270 .errorbox {
271 border-color: red;
272 background-color: #fff2f2;
273 }
274 .successbox {
275 border-color: green;
276 background-color: #dfd;
277 }
278 .errorbox h2, .successbox h2 {
279 font-size: 1em;
280 font-weight: bold;
281 margin: 0 .5em 0 0;
282 border: none;
283 }
284
285 #catlinks {
286 border: 1px solid #aaa;
287 background-color: #f9f9f9;
288 padding: 5px;
289 margin-top: 1em;
290 clear: both;
291 }
292 /* currently unused, intended to be used by a metadata box
293 in the bottom-right corner of the content area */
294 .documentDescription {
295 /* The summary text describing the document */
296 font-weight: bold;
297 margin: 1em 0;
298 line-height: 1.5em;
299 }
300 .documentByLine {
301 text-align: right;
302 font-size: 90%;
303 clear: both;
304 font-weight: normal;
305 color: #76797c;
306 }
307
308 /* emulate center */
309 .center {
310 width: 100%;
311 text-align: center;
312 }
313 *.center * {
314 margin-left: auto;
315 margin-right: auto;
316 }
317 /* small for tables and similar */
318 .small, .small * {
319 font-size: 94%;
320 }
321 table.small {
322 font-size: 100%;
323 }
324
325 /*
326 ** content styles
327 */
328
329 #toc,
330 .toc,
331 .mw-warning {
332 border: 1px solid #aaa;
333 background-color: #f9f9f9;
334 padding: 5px;
335 font-size: 95%;
336 }
337 #toc h2,
338 .toc h2 {
339 border: none;
340 padding: 0;
341 font-size: 100%;
342 font-weight: bold;
343 }
344 #toc #toctitle,
345 .toc #toctitle,
346 #toc .toctitle,
347 .toc .toctitle {
348 text-align: center;
349 }
350 #toc ul,
351 .toc ul {
352 list-style-type: none;
353 list-style-image: none;
354 margin-left: 0;
355 padding-left: 0;
356 text-align: left;
357 }
358 #toc ul ul,
359 .toc ul ul {
360 margin: 0 0 0 2em;
361 }
362 #toc .toctoggle,
363 .toc .toctoggle {
364 font-size: 94%;
365 }
366
367 .mw-warning {
368 margin-left: 50px;
369 margin-right: 50px;
370 text-align: center;
371 }
372
373 /* images */
374 div.floatright, table.floatright {
375 position: relative;
376 margin: 0 0 .5em .5em;
377 border: 0;
378 /*
379 border: .5em solid white;
380 border-width: .5em 0 .8em 1.4em;
381 */
382 }
383 div.floatright p { font-style: italic; }
384 div.floatleft, table.floatleft {
385 position: relative;
386 margin: 0 .5em .5em 0;
387 border: 0;
388 /*
389 margin: .3em .5em .5em 0;
390 border: .5em solid white;
391 border-width: .5em 1.4em .8em 0;
392 */
393 }
394 div.floatleft p { font-style: italic; }
395 /* thumbnails */
396 div.thumb {
397 margin-bottom: .5em;
398 border-style: solid;
399 border-color: white;
400 width: auto;
401 }
402 div.thumb div,
403 div.thumbinner {
404 border: 1px solid #ccc;
405 padding: 3px !important;
406 background-color: #f9f9f9;
407 font-size: 94%;
408 text-align: center;
409 overflow: hidden;
410 }
411 div.thumb div a img,
412 html .thumbimage {
413 border: 1px solid #ccc;
414 }
415 div.thumb div div.thumbcaption,
416 html .thumbcaption {
417 border: none;
418 text-align: left;
419 line-height: 1.4em;
420 padding: 3px !important;
421 font-size: 94%;
422 }
423 div.magnify {
424 float: right;
425 border: none !important;
426 background: none !important;
427 }
428 div.magnify a, div.magnify img {
429 border: none !important;
430 background: none !important;
431 }
432 div.tright {
433 border-width: .5em 0 .8em 1.4em;
434 }
435 div.tleft {
436 margin-right: .5em;
437 border-width: .5em 1.4em .8em 0;
438 }
439
440 .hiddenStructure {
441 display: none;
442 speak: none;
443 }
444 img.tex {
445 vertical-align: middle;
446 }
447 span.texhtml {
448 font-family: serif;
449 }
450
451 /*
452 ** classes for special content elements like town boxes
453 ** intended to be referenced directly from the wiki src
454 */
455
456 /*
457 ** User styles
458 */
459 /* table standards */
460 table.rimage {
461 position: relative;
462 margin-left: 1em;
463 margin-bottom: 1em;
464 text-align: center;
465 }
466 .toccolours {
467 border: 1px solid #aaa;
468 background-color: #f9f9f9;
469 padding: 5px;
470 font-size: 95%;
471 }
472 div.townBox {
473 position: relative;
474 background: white;
475 margin-left: 1em;
476 border: 1px solid gray;
477 padding: .3em;
478 width: 200px;
479 overflow: hidden;
480 }
481 div.townBox dl {
482 padding: 0;
483 margin: 0 0 .3em;
484 font-size: 96%;
485 }
486 div.townBox dl dt {
487 background: none;
488 margin: .4em 0 0;
489 }
490 div.townBox dl dd {
491 margin: .1em 0 0 1.1em;
492 background-color: #f3f3f3;
493 }
494
495 /*
496 ** edit views etc
497 */
498 .special li {
499 line-height: 1.4em;
500 margin: 0;
501 padding: 0;
502 }
503
504 /* Page history styling */
505 /* the auto-generated edit comments */
506 .autocomment {
507 color: gray;
508 }
509 #pagehistory span.user {
510 margin-left: 1.4em;
511 margin-right: .4em;
512 }
513 #pagehistory span.minor {
514 font-weight: bold;
515 }
516 #pagehistory li {
517 border: 1px solid white;
518 }
519 #pagehistory li.selected {
520 background-color: #f9f9f9;
521 border: 1px dashed #aaa;
522 }
523
524 /*
525 ** Diff rendering
526 */
527 table.diff, td.diff-otitle, td.diff-ntitle {
528 background-color: white;
529 }
530 td.diff-addedline {
531 background: #cfc;
532 font-size: smaller;
533 }
534 td.diff-deletedline {
535 background: #ffa;
536 font-size: smaller;
537 }
538 td.diff-context {
539 background: #eee;
540 font-size: smaller;
541 }
542 span.diffchange {
543 color: red;
544 font-weight: bold;
545 }
546
547 /*
548 ** keep the whitespace in front of the ^=, hides rule from konqueror
549 ** this is css3, the validator doesn't like it when validating as css2
550 */
551 #bodyContent a.external,
552 #bodyContent a[href ^="gopher://"] {
553 background: url(external.png) center right no-repeat;
554 padding-right: 13px;
555 }
556 #bodyContent a[href ^="https://"],
557 .link-https {
558 background: url(lock_icon.gif) center right no-repeat;
559 padding-right: 16px;
560 }
561 #bodyContent a[href ^="mailto:"],
562 .link-mailto {
563 background: url(mail_icon.gif) center right no-repeat;
564 padding-right: 18px;
565 }
566 #bodyContent a[href ^="news://"] {
567 background: url(news_icon.png) center right no-repeat;
568 padding-right: 18px;
569 }
570 #bodyContent a[href ^="ftp://"],
571 .link-ftp {
572 background: url(file_icon.gif) center right no-repeat;
573 padding-right: 18px;
574 }
575 #bodyContent a[href ^="irc://"],
576 .link-irc {
577 background: url(discussionitem_icon.gif) center right no-repeat;
578 padding-right: 18px;
579 }
580 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
581 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
582 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
583 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
584 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
585 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
586 .link-audio {
587 background: url("audio.png") center right no-repeat;
588 padding-right: 13px;
589 }
590 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
591 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
592 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
593 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
594 .link-video {
595 background: url("video.png") center right no-repeat;
596 padding-right: 13px;
597 }
598 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
599 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
600 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
601 .link-document {
602 background: url("document.png") center right no-repeat;
603 padding-right: 12px;
604 }
605
606 /* disable interwiki styling */
607 #bodyContent a.extiw,
608 #bodyContent a.extiw:active {
609 color: #36b;
610 background: none;
611 padding: 0;
612 }
613 #bodyContent a.external {
614 color: #36b;
615 }
616 /* this can be used in the content area to switch off
617 special external link styling */
618 #bodyContent .plainlinks a {
619 background: none !important;
620 padding: 0 !important;
621 }
622 /*
623 ** Structural Elements
624 */
625
626 /*
627 ** general portlet styles (elements in the quickbar)
628 */
629 .portlet {
630 border: none;
631 margin: 0 0 .5em;
632 padding: 0;
633 width: 11.6em;
634 overflow: hidden;
635 }
636 .portlet h4 {
637 font-size: 95%;
638 font-weight: normal;
639 }
640 .portlet h5 {
641 background: transparent;
642 padding: 0 1em 0 .5em;
643 height: 1em;
644 text-transform: lowercase;
645 font-size: 91%;
646 font-weight: normal;
647 }
648 .portlet h6 {
649 background: #ffae2e;
650 border: 1px solid #2f6fab;
651 border-style: solid solid none solid;
652 padding: 0 1em 0 1em;
653 text-transform: lowercase;
654 font-size: 1em;
655 height: 1.2em;
656 font-weight: normal;
657 }
658 .pBody {
659 font-size: 95%;
660 background-color: white;
661 color: black;
662 border-collapse: collapse;
663 border: 1px solid #aaa;
664 padding: 0 .8em .3em .5em;
665 }
666 .portlet h1,
667 .portlet h2,
668 .portlet h3,
669 .portlet h4 {
670 margin: 0;
671 padding: 0;
672 }
673 .portlet ul {
674 line-height: 1.5em;
675 list-style-type: square;
676 list-style-image: url(bullet.gif);
677 font-size: 95%;
678 }
679 .portlet li {
680 padding: 0;
681 margin: 0;
682 }
683
684 /*
685 ** Logo properties
686 */
687
688 #p-logo {
689 z-index: 3;
690 position: absolute; /*needed to use z-index */
691 top: 0;
692 left: 0;
693 height: 155px;
694 width: 12em;
695 overflow: visible;
696 }
697 #p-logo h5 {
698 display: none;
699 }
700 #p-logo a,
701 #p-logo a:hover {
702 height: 155px;
703 width: 12.2em;
704 background-repeat: no-repeat;
705 background-position: 35% 50% !important;
706 text-decoration: none;
707 }
708
709 /*
710 ** the navigation portlet
711 */
712
713 #p-navigation {
714 position: relative;
715 z-index: 3;
716 }
717
718 #p-navigation .pBody {
719 padding-right: 0;
720 }
721
722 #p-navigation li.active a, #p-navigation li.active a:hover {
723 text-decoration: none;
724 font-weight: bold;
725 }
726
727
728 /*
729 ** Search portlet
730 */
731 #p-search {
732 position: relative;
733 z-index: 3;
734 }
735 input.searchButton {
736 margin-top: 1px;
737 font-size: 95%;
738 }
739 #searchGoButton {
740 padding-left: .5em;
741 padding-right: .5em;
742 font-weight: bold;
743 }
744 #searchInput {
745 width: 10.9em;
746 margin: 0;
747 font-size: 95%;
748 }
749 #p-search .pBody {
750 padding: .5em .4em .4em .4em;
751 text-align: center;
752 }
753
754 /*
755 ** the personal toolbar
756 */
757
758 #p-personal {
759 width: 100%;
760 padding: 0;
761 margin: 0;
762 position: absolute;
763 left: 0;
764 top: 0;
765 z-index: 0;
766 border: none;
767 background: none;
768 line-height: 1.2em;
769 }
770
771 #p-personal h5 {
772 display: none;
773 }
774 #p-personal .portlet,
775 #p-personal .pBody {
776 padding: 0;
777 margin: 0;
778 border: none;
779 z-index: 0;
780 overflow: visible;
781 background: none;
782 }
783 /* this is the ul contained in the portlet */
784 #p-personal ul {
785 border: none;
786 line-height: 1.4em;
787 color: #2f6fab;
788 padding: 0 2em 0 3em;
789 margin: 0;
790 text-align: right;
791 text-transform: lowercase;
792 list-style: none;
793 background: none;
794 cursor: default;
795 }
796 #p-personal li {
797 border: none;
798 padding: 0;
799 color: #2f6fab;
800 margin-left: 1em;
801 line-height: 1.2em;
802 background: none;
803 }
804 #p-personal li.active {
805 font-weight: bold;
806 }
807 #p-personal li a {
808 text-decoration: none;
809 color: #005896;
810 padding-bottom: .2em;
811 background: none;
812 }
813 #p-personal li a:hover {
814 background-color: white;
815 padding-bottom: .2em;
816 text-decoration: none;
817 }
818 #p-personal li.active a:hover {
819 background-color: transparent;
820 }
821 /* the icon in front of the user name, single quotes
822 in bg url to hide it from iemac */
823 li#pt-userpage,
824 li#pt-anonuserpage,
825 li#pt-login {
826 background: url(user.gif) top left no-repeat;
827 padding-left: 20px;
828 text-transform: none;
829 }
830
831 /*
832 ** the page-related actions- page/talk, edit etc
833 */
834 #p-cactions {
835 margin: 0;
836 background: none;
837 border-collapse: collapse;
838 padding-left: 1em;
839 list-style: none;
840 font-size: 95%;
841 }
842 #p-cactions .hiddenStructure {
843 display: none;
844 }
845 #p-cactions ul {
846 list-style: none;
847 }
848 #p-cactions li {
849 border: 1px solid #aaa;
850 border-bottom: none;
851 padding: 0 0 .1em 0;
852 margin: 0 .3em 0 0;
853 background: white;
854 }
855 #p-cactions li.selected {
856 border-color: #fabd23;
857 padding: 0 0 .2em 0;
858 font-weight: bold;
859 }
860 #p-cactions li a {
861 background-color: #fbfbfb;
862 color: #002bb8;
863 border: none;
864 padding: 0 .8em .3em;
865 text-decoration: none;
866 text-transform: lowercase;
867 margin: 0;
868 }
869 #p-cactions li.selected a {
870 background-color: #fff;
871 padding: 0 1em .2em!important;
872 }
873 #p-cactions .new a {
874 color: #ba0000;
875 }
876 #p-cactions li a:hover {
877 text-decoration: none;
878 background-color: #fff;
879 }
880 #p-cactions h5 {
881 display: none;
882 }
883 #p-cactions li.istalk {
884 margin-right: 0;
885 }
886 #p-cactions li.istalk a {
887 padding-right: .5em;
888 }
889 #p-cactions #ca-addsection a {
890 padding-left: .4em;
891 padding-right: .4em;
892 }
893 /* offsets to distinguish the tab groups */
894 li#ca-talk {
895 margin-right: 1.6em;
896 }
897 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
898 margin-left: 1.6em;
899 }
900
901 /* TODO: #t-iscite is only used by the Cite extension, come up with some
902 * system which allows extensions to add to this file on the fly
903 */
904 #t-ispermalink, #t-iscite {
905 color: #999;
906 }
907 /*
908 ** footer
909 */
910 #footer {
911 background-color: white;
912 border-top: 1px solid #fabd23;
913 border-bottom: 1px solid #fabd23;
914 margin: .6em 0 1em 0;
915 padding: .4em 0 1.2em 0;
916 text-align: center;
917 font-size: 90%;
918 }
919 #footer li {
920 margin: 0 1.3em;
921 }
922 /* hide from incapable browsers */
923 head:first-child+body #footer li { white-space: nowrap; }
924 #f-poweredbyico, #f-copyrightico {
925 margin: 0 8px;
926 }
927 #f-poweredbyico {
928 height: 1%;
929 }
930 #f-copyrightico {
931 height: 1%;
932 }
933
934 /* js pref toc */
935 #preftoc {
936 margin: 0;
937 padding: 0;
938 width: 100%;
939 clear: both;
940 }
941 #preftoc li {
942 margin: 1px -2px 1px 2px;
943 padding: 2px 0 3px 0;
944 background-color: #f0f0f0;
945 color: #000;
946 border: 1px solid #fff;
947 border-right-color: #716f64;
948 border-bottom: 0;
949 position: relative;
950 list-style-type: none;
951 list-style-image: none;
952 }
953 #preftoc li.selected {
954 font-weight: bold;
955 background-color: #f9f9f9;
956 border: 1px solid #aaa;
957 border-bottom: none;
958 cursor: default;
959 padding-top: 2px;
960 margin-right: -3px;
961 }
962 #preftoc a,
963 #preftoc a:active {
964 color: #000;
965 padding: 0 .7em;
966 text-decoration: none;
967 }
968 #preftoc li.selected a {
969 cursor: default;
970 text-decoration: none;
971 }
972 #prefcontrol {
973 padding-top: 2em;
974 clear: both;
975 }
976 #preferences {
977 margin: 0;
978 border: 1px solid #aaa;
979 clear: both;
980 padding: 1.5em;
981 background-color: #F9F9F9;
982 }
983 .prefsection {
984 border: none;
985 padding: 0;
986 margin: 0;
987 }
988 .prefsection fieldset {
989 border: 1px solid #aaa;
990 margin-right: 2em;
991 }
992 .prefsection legend {
993 font-weight: bold;
994 }
995 .prefsection table, .prefsection legend {
996 background-color: #F9F9F9;
997 }
998 .mainLegend {
999 display: none;
1000 }
1001 div.prefsectiontip {
1002 font-size: 95%;
1003 margin-top: 0;
1004 background-color: #FFC1C1;
1005 padding: .2em .7em;
1006 clear: both;
1007 }
1008 .btnSavePrefs {
1009 font-weight: bold;
1010 padding-left: .3em;
1011 padding-right: .3em;
1012 }
1013
1014 .preferences-login {
1015 clear: both;
1016 margin-bottom: 1.5em;
1017 }
1018
1019 .prefcache {
1020 font-size: 90%;
1021 margin-top: 2em;
1022 }
1023
1024 div#userloginForm form,
1025 div#userlogin form#userlogin2 {
1026 margin: 0 3em 1em 0;
1027 border: 1px solid #aaa;
1028 clear: both;
1029 padding: 1.5em 2em;
1030 background-color: #f9f9f9;
1031 }
1032
1033 div#userloginForm table,
1034 div#userlogin form#userlogin2 table {
1035 background-color: #f9f9f9;
1036 }
1037
1038 div#userloginForm h2,
1039 div#userlogin form#userlogin2 h2 {
1040 padding-top: 0;
1041 }
1042
1043 div#userlogin .captcha {
1044 border: 1px solid #bbb;
1045 padding: 1.5em 2em;
1046 width: 400px;
1047 background-color: white;
1048 }
1049
1050
1051 #userloginprompt, #languagelinks {
1052 font-size: 85%;
1053 }
1054
1055 #login-sectiontip {
1056 font-size: 85%;
1057 line-height: 1.2;
1058 padding-top: 2em;
1059 }
1060
1061 #userlogin .loginText, #userlogin .loginPassword {
1062 width: 12em;
1063 }
1064
1065 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1066 font-weight: bold;
1067 }
1068
1069 /*
1070 ** IE/Mac fixes, hope to find a validating way to move this
1071 ** to a separate stylesheet. This would work but doesn't validate:
1072 ** @import("IEMacFixes.css");
1073 */
1074 /* tabs: border on the a, not the div */
1075 * > html #p-cactions li { border: none; }
1076 * > html #p-cactions li a {
1077 border: 1px solid #aaa;
1078 border-bottom: none;
1079 }
1080 * > html #p-cactions li.selected a { border-color: #fabd23; }
1081 /* footer icons need a fixed width */
1082 * > html #f-poweredbyico,
1083 * > html #f-copyrightico { width: 88px; }
1084 * > html #bodyContent,
1085 * > html #bodyContent pre {
1086 overflow-x: auto;
1087 width: 100%;
1088 padding-bottom: 25px;
1089 }
1090
1091 /* more IE fixes */
1092 /* float/negative margin brokenness */
1093 * html #footer {margin-top: 0;}
1094 * html #column-content {
1095 margin-bottom: 0;
1096 }
1097 * html div.editsection { font-size: smaller; }
1098 #pagehistory li.selected { position: relative; }
1099
1100 /* Mac IE 5.0 fix; floated content turns invisible */
1101 * > html #column-content {
1102 float: none;
1103 }
1104 * > html #column-one {
1105 position: absolute;
1106 left: 0;
1107 top: 0;
1108 }
1109 * > html #footer {
1110 margin-left: 13.2em;
1111 }
1112 .redirectText {
1113 font-size: 150%;
1114 margin: 5px;
1115 }
1116
1117 .printfooter {
1118 display: none;
1119 }
1120
1121 .not-patrolled {
1122 background-color: #ffa;
1123 }
1124 div.patrollink {
1125 font-size: 75%;
1126 text-align: right;
1127 }
1128 span.newpage, span.minor, span.searchmatch, span.bot {
1129 font-weight: bold;
1130 }
1131 span.unpatrolled {
1132 font-weight: bold;
1133 color: red;
1134 }
1135
1136 span.searchmatch {
1137 color: red;
1138 }
1139 .sharedUploadNotice {
1140 font-style: italic;
1141 }
1142
1143 span.updatedmarker {
1144 color: black;
1145 background-color: #0f0;
1146 }
1147 span.newpageletter {
1148 font-weight: bold;
1149 color: black;
1150 background-color: yellow;
1151 }
1152 span.minoreditletter {
1153 color: black;
1154 background-color: #c5ffe6;
1155 }
1156
1157 table.gallery {
1158 border: 1px solid #ccc;
1159 margin: 2px;
1160 padding: 2px;
1161 background-color: white;
1162 }
1163
1164 table.gallery tr {
1165 vertical-align: top;
1166 }
1167
1168 table.gallery td {
1169 vertical-align: top;
1170 background-color: #f9f9f9;
1171 border: solid 2px white;
1172 }
1173
1174 table.gallery td.galleryheader {
1175 text-align: center;
1176 font-weight: bold;
1177 }
1178
1179 div.gallerybox {
1180 margin: 2px;
1181 width: 150px;
1182 }
1183
1184 div.gallerybox div.thumb {
1185 text-align: center;
1186 border: 1px solid #ccc;
1187 margin: 2px;
1188 }
1189
1190 div.gallerytext {
1191 font-size: 94%;
1192 padding: 2px 4px;
1193 }
1194
1195 span.comment {
1196 font-style: italic;
1197 }
1198
1199 span.changedby {
1200 font-size: 95%;
1201 }
1202
1203 .previewnote {
1204 text-indent: 3em;
1205 color: #c00;
1206 border-bottom: 1px solid #aaa;
1207 padding-bottom: 1em;
1208 margin-bottom: 1em;
1209 }
1210
1211 .previewnote p {
1212 margin: 0;
1213 padding: 0;
1214 }
1215
1216 .editExternally {
1217 border: 1px solid gray;
1218 background-color: #ffffff;
1219 padding: 3px;
1220 margin-top: 0.5em;
1221 font-size: small;
1222 text-align: center;
1223 }
1224 .editExternallyHelp {
1225 font-style: italic;
1226 color: gray;
1227 }
1228
1229 li span.deleted, span.history-deleted {
1230 text-decoration: line-through;
1231 color: #888;
1232 font-style: italic;
1233 }
1234
1235 .toggle {
1236 margin-left: 2em;
1237 text-indent: -2em;
1238 }
1239
1240 /* Classes for EXIF data display */
1241 table.mw_metadata {
1242 font-size: 0.8em;
1243 margin-left: 0.5em;
1244 margin-bottom: 0.5em;
1245 width: 300px;
1246 }
1247
1248 table.mw_metadata caption {
1249 font-weight: bold;
1250 }
1251
1252 table.mw_metadata th {
1253 font-weight: normal;
1254 }
1255
1256 table.mw_metadata td {
1257 padding: 0.1em;
1258 }
1259
1260 table.mw_metadata {
1261 border: none;
1262 border-collapse: collapse;
1263 }
1264
1265 table.mw_metadata td, table.mw_metadata th {
1266 text-align: center;
1267 border: 1px solid #aaaaaa;
1268 padding-left: 0.1em;
1269 padding-right: 0.1em;
1270 }
1271
1272 table.mw_metadata th {
1273 background-color: #f9f9f9;
1274 }
1275
1276 table.mw_metadata td {
1277 background-color: #fcfcfc;
1278 }
1279
1280 table.collapsed tr.collapsable {
1281 display: none;
1282 }
1283
1284
1285 /* filetoc */
1286 ul#filetoc {
1287 text-align: center;
1288 border: 1px solid #aaaaaa;
1289 background-color: #f9f9f9;
1290 padding: 5px;
1291 font-size: 95%;
1292 margin-bottom: 0.5em;
1293 margin-left: 0;
1294 margin-right: 0;
1295 }
1296
1297 #filetoc li {
1298 list-style-type: none;
1299 padding-right: 2em;
1300 }
1301
1302 input#wpSummary {
1303 width: 80%;
1304 }
1305
1306 /* @bug 1714 */
1307 input#wpSave, input#wpDiff {
1308 margin-right: 0.33em;
1309 }
1310
1311 #wpSave {
1312 font-weight: bold;
1313 }
1314
1315 /* Classes for article validation */
1316
1317 table.revisionform_default {
1318 border: 1px solid #000000;
1319 }
1320
1321 table.revisionform_focus {
1322 border: 1px solid #000000;
1323 background-color:#00BBFF;
1324 }
1325
1326 tr.revision_tr_default {
1327 background-color:#EEEEEE;
1328 }
1329
1330 tr.revision_tr_first {
1331 background-color:#DDDDDD;
1332 }
1333
1334 p.revision_saved {
1335 color: green;
1336 font-weight:bold;
1337 }
1338
1339 #mw_trackbacks {
1340 border: solid 1px #bbbbff;
1341 background-color: #eeeeff;
1342 padding: 0.2em;
1343 }
1344
1345
1346 /* Allmessages table */
1347
1348 #allmessagestable th {
1349 background-color: #b2b2ff;
1350 }
1351
1352 #allmessagestable tr.orig {
1353 background-color: #ffe2e2;
1354 }
1355
1356 #allmessagestable tr.new {
1357 background-color: #e2ffe2;
1358 }
1359
1360 #allmessagestable tr.def {
1361 background-color: #f0f0ff;
1362 }
1363
1364
1365 /* noarticletext */
1366 div.noarticletext {
1367 border: 1px solid #ccc;
1368 background: #fff;
1369 padding: .2em 1em;
1370 color: #000;
1371 }
1372
1373 div#searchTargetContainer {
1374 left: 10px;
1375 top: 10px;
1376 width: 90%;
1377 background: white;
1378 }
1379
1380 div#searchTarget {
1381 padding: 3px;
1382 margin: 5px;
1383 background: #F0F0F0;
1384 border: solid 1px blue;
1385 }
1386
1387 div#searchTarget ul li {
1388 list-style: none;
1389 }
1390
1391 div#searchTarget ul li:before {
1392 color: orange;
1393 content: "\00BB \0020";
1394 }
1395
1396 div.multipageimagenavbox {
1397 border: solid 1px silver;
1398 padding: 4px;
1399 margin: 1em;
1400 -moz-border-radius: 6px;
1401 background: #f0f0f0;
1402 }
1403
1404 div.multipageimagenavbox div.thumb {
1405 border: none;
1406 margin-left: 2em;
1407 margin-right: 2em;
1408 }
1409
1410 div.multipageimagenavbox hr {
1411 margin: 6px;
1412 }
1413
1414 table.multipageimage td {
1415 text-align: center;
1416 }
1417
1418 /*
1419 Table pager (e.g. Special:Imagelist)
1420 - remove underlines from the navigation link
1421 - collapse borders
1422 - set the borders to outsets (similar to Special:Allmessages)
1423 - remove line wrapping for all td and th, set background color
1424 - restore line wrapping for the last two table cells (description and size)
1425 */
1426 .TablePager_nav a { text-decoration: none; }
1427 .TablePager { border-collapse: collapse; }
1428 .TablePager, .TablePager td, .TablePager th {
1429 border: 0.15em solid #777777;
1430 padding: 0 0.15em 0 0.15em;
1431 }
1432 .TablePager th { background-color: #eeeeff }
1433 .TablePager td { background-color: #ffffff }
1434 .TablePager tr:hover td { background-color: #eeeeff }
1435
1436 .imagelist td, .imagelist th { white-space: nowrap }
1437 .imagelist .TablePager_col_links { background-color: #eeeeff }
1438 .imagelist .TablePager_col_img_description { white-space: normal }
1439 .imagelist th.TablePager_sort { background-color: #ccccff }
1440
1441 .templatesUsed { margin-top: 1.5em; }
1442
1443 .mw-summary-preview {
1444 margin: 0.1em 0;
1445 }
1446 #toolbar { clear: both; }
1447
1448 .mw-plusminus-null { color: #aaa; }