]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MonoBook/main.css
Use p with id=toctitle instead of h4 for TOC (easier to style)
[SourceForge/phpwiki.git] / themes / MonoBook / main.css
1 /*
2 ** MediaWiki 'monobook' 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 ** Added phpwiki integration: Reini Urban, based on the phpwiki.css 
11 ** by Jeff Dairiki
12 */
13
14 #column-content {
15         width: 100%;
16         float: right;
17         margin: 0 0 .6em -12.2em;
18         padding: 0;
19         height: 1%;
20 }
21 #content {
22         position: relative;
23         z-index: 2;
24         margin: 2.8em 0 0 12.2em;
25         padding: 0 1em 1.5em 1em;
26         background: white;
27         color: black;
28         border: 1px solid #aaa;
29         border-right: none;
30         line-height: 1.5em;
31 }
32 #column-one {
33         position: absolute;
34         /*z-index: 3;*/
35         padding-top: 160px;
36         top: 0;
37         left: 0;
38 }
39 /* the left column width is specified in class .portlet */
40
41 /* Font size:
42 ** We take advantage of keyword scaling- browsers won't go below 9px
43 ** More at http://www.w3.org/2003/07/30-font-size
44 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
45 */
46
47 body {
48         font: small sans-serif;
49         background: #f9f9f9 url("images/headbg.jpg") 0 0 no-repeat;
50         color: black;
51         margin: 0;
52         padding: 0;
53 }
54
55 /* scale back up to a sane default */
56 #globalWrapper {
57         font-size: 127%;
58         width: 100%;
59         margin: 0;
60         padding: 0;
61 }
62 .visualClear {
63         clear: both;
64 }
65
66 /* general styles */
67
68 table {
69         font-size: 100%;
70         color: black;
71 }
72 a {
73         text-decoration: none;
74         color: #002bb8;
75         background: none;
76 }
77 a:visited {
78         color: #5a3696;
79 }
80 a:active {
81         color: #faa700;
82 }
83 a:hover {
84         text-decoration: underline;
85 }
86 a.stub {
87         color: #772233;
88 }
89 a.new, #p-personal a.new {
90         color: #ba0000;
91 }
92 a.new:visited, #p-personal a.new:visited {
93         color: #a55858;
94 }
95
96 img {
97         border: none;
98         vertical-align: middle;
99 }
100 p {
101         margin: .4em 0 .5em 0;
102         line-height: 1.5em;
103 }
104 p img {
105         margin: 0;
106 }
107
108 hr {
109         height: 1px;
110         color: #aaa;
111         background-color: #aaa;
112         border: 0;
113         margin: .2em 0 .2em 0;
114 }
115
116 h1, h2, h3, h4, h5, h6 {
117         color: black;
118         background: none;
119         font-weight: bold;
120         font-family: Tahoma, sans-serif;
121         margin: 0;
122         padding-top: 0.5em;
123         padding-bottom: 0.17em;
124         border-bottom: 1px solid #aaa;
125 }
126 h1 { font-size: 188%; }
127 h2 { font-size: 150%; }
128 h3 { font-size: 132%; }
129 h4 { font-size: 116%; }
130 h5 { font-size: 100%; }
131 h6 { font-size: 80%;  }
132 h4, h5, h6 { 
133         border-bottom: none;
134         font-weight: normal;
135 }
136 ul { 
137         line-height: 1.5em;
138         list-style-type: square;
139         margin: 0.3em 0 0 1.5em;
140         padding:0;
141         list-style-image: url("images/bullet.png");
142 }
143 ol {
144         line-height: 1.5em;
145         margin: 0.3em 0 0 3.2em;
146         padding:0;
147         list-style-image: none;
148 }
149 li {    margin-bottom: 0.1em; }
150 dt { 
151         font-weight: bold; 
152         margin-bottom: .1em;
153 }
154 dl {
155         margin-top: .2em;
156         margin-bottom: .5em;
157 }
158 dd {
159         line-height: 1.5em;
160         margin-left: 2em;
161         margin-bottom: .1em;
162 }
163
164 fieldset {
165         border: 1px solid #2f6fab;
166         margin: 1em 0 1em 0;
167         padding: 0 1em 1em 1em;
168         line-height: 1.5em;
169 }
170 legend {
171         /*background: white;*/
172         padding: 0.5em;
173         font-size: 95%;
174 }
175 form {
176         border: none;
177         margin: 0;
178 }
179
180 textarea {
181         width: 100%;
182         padding: .1em;
183 }
184
185 input.historysubmit {
186         padding: 0 0.3em 0.3em 0.3em !important;
187         font-size: 94%;
188         cursor: pointer;
189         height: 1.7em !important;
190         margin-left: 1.6em;
191 }
192 select {
193         vertical-align: top;
194 }
195 abbr, acronym, .explain {
196         border-bottom: 1px dotted black;
197         color: black;
198         background: none;
199         cursor: help;
200 }
201 q {
202         font-family: Times, "Times New Roman", serif;
203         font-style: italic;
204 }
205 /* disabled for now
206 blockquote {
207         font-family: Times, "Times New Roman", serif;
208         font-style: italic;
209 }*/
210 code {
211         background-color: #f9f9f9;
212 }
213 pre {
214         padding: 1em;
215         border: 1px dashed #2f6fab;
216         color: black;
217         background-color: #f9f9f9;
218         line-height: 1.1em;
219 }
220
221 /*
222 ** the main content area
223 */
224
225 #siteSub { display: none; }
226 #jump-to-nav {
227         display: none;
228 }
229 #contentSub {
230         font-size: 84%;
231         line-height: 1.2em;
232         margin: 0 0 1.4em 1em;
233         color: #7d7d7d;
234         width: auto;
235 }
236 span.subpages { display: block; }
237
238 /* Some space under the headers in the content area */
239 #bodyContent h1, #bodyContent h2 {
240         margin-bottom: .6em;
241 }
242 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
243         margin-bottom: .3em;
244 }
245 .firstHeading { margin-bottom:0.1em; }
246
247 /* user notification thing */
248 .usermessage {
249         background-color: #ffce7b;
250         border: 1px solid #ffa500;
251         color: black;
252         font-weight: bold;
253         margin: 2em 0 1em;
254         padding: .5em 1em;
255         vertical-align: middle;
256 }
257 #siteNotice {
258         text-align: center;
259         font-size: 95%;
260         padding: 0 .9em;
261 }
262 #siteNotice p {
263         margin: 0;
264         padding: 0;
265 }
266 .error {
267         color: red;
268         font-size: larger;
269 }
270 .errorbox, .successbox {
271         font-size: larger;
272         border: 2px solid;
273         padding: .5em 1em;
274         float: left;
275         margin-bottom: 2em;
276         color: #000;
277 }
278 .errorbox {
279         border-color: red;
280         background-color: #fff2f2;
281 }
282 .successbox {
283         border-color: green;
284         background-color: #dfd;
285 }
286 .errorbox h2, .successbox h2 {
287         font-size: 1em;
288         font-weight: bold;
289         display: inline;
290         margin: 0 .5em 0 0;
291         border: none;
292 }
293
294 #catlinks {
295         border: 1px solid #aaa;
296         background-color: #f9f9f9;
297         padding: 5px;
298         margin-top: 1em;
299         clear: both;
300 }
301 /* currently unused, intended to be used by a metadata box
302 in the bottom-right corner of the content area */
303 .documentDescription {
304         /* The summary text describing the document */
305         font-weight: bold;
306         display: block;
307         margin: 1em 0;
308         line-height: 1.5em;
309 }
310 .documentByLine {
311         text-align: right;
312         font-size: 90%;
313         clear: both;
314         font-weight: normal;
315         color: #76797c;
316 }
317
318 /* emulate center */
319 .center {
320         width: 100%;
321         text-align: center;
322 }
323 *.center * {
324         margin-left: auto;
325         margin-right: auto;
326 }
327 /* small for tables and similar */
328 .small, .small * {
329         font-size: 94%;
330 }
331 table.small {
332         font-size: 100%;
333 }
334
335 /*
336 ** content styles
337 */
338 #toc,
339 .toc {
340         width: 200px;
341         border: 1px solid #aaa;
342         background-color: #f9f9f9;
343         padding: 5px;
344         font-size: 95%;
345         float: right;
346         clear: right;
347 }
348 #toc #toctitle,
349 .toc #toctitle {
350         display: inline;
351         border: none;
352         padding: 0;
353         font-size: 110%;
354         font-weight: bold;
355 }
356 .toc #toclist {
357         width: auto;
358         border: none;
359 }
360 #toc #toctitle,
361 .toc #toctitle,
362 #toc .toctitle,
363 .toc .toctitle {
364         text-align: center;
365 }
366 /*
367 #toc ul,
368 .toc ul {
369         list-style-type: none;
370         list-style-image: none;
371         margin-left: 0;
372         padding-left: 0;
373         text-align: left;
374 }
375 */
376 #toc ul,
377 .toc ul {
378         width: auto;
379         border: none;
380         line-height: 1.5em;
381         list-style-type: square;
382         list-style-image: url("images/bullet.png");
383         font-size: 95%;
384         margin-left: 5px;
385         padding-left: 5px;
386 }
387 #toc ul ul,
388 .toc ul ul {
389         margin: 0 0 0 2em;
390 }
391 #toc .toctoggle,
392 .toc .toctoggle {
393         font-size: 94%;
394 }
395
396 .mw-warning {
397         border: 1px solid #aaa;
398         background-color: #f9f9f9;
399         padding: 5px;
400         font-size: 95%;
401 }
402 .mw-warning {
403         margin-left: 50px;
404         margin-right: 50px;
405         text-align: center;
406 }
407
408 /* images */
409 div.floatright, table.floatright {
410         clear: right;
411         float: right;
412         position: relative;
413         margin: 0 0 .5em .5em;
414         border: 0;
415 /*
416         border: .5em solid white;
417         border-width: .5em 0 .8em 1.4em;
418 */
419 }
420 div.floatright p { font-style: italic; }
421 div.floatleft, table.floatleft {
422         float: left;
423         position: relative;
424         margin: 0 .5em .5em 0;
425         border: 0;
426 /*
427         margin: .3em .5em .5em 0;
428         border: .5em solid white;
429         border-width: .5em 1.4em .8em 0;
430 */
431 }
432 div.floatleft p { font-style: italic; }
433 /* thumbnails */
434 div.thumb {
435         margin-bottom: .5em;
436         border-style: solid;
437         border-color: white;
438         width: auto;
439 }
440 div.thumb div {
441         border: 1px solid #ccc;
442         padding: 3px !important;
443         background-color: #f9f9f9;
444         font-size: 94%;
445         text-align: center;
446         overflow: hidden;
447 }
448 div.thumb div a img {
449         border: 1px solid #ccc;
450 }
451 div.thumb div div.thumbcaption {
452         border: none;
453         text-align: left;
454         line-height: 1.4em;
455         padding: .3em 0 .1em 0;
456 }
457 div.magnify {
458         float: right;
459         border: none !important;
460         background: none !important;
461 }
462 div.magnify a, div.magnify img {
463         display: block;
464         border: none !important;
465         background: none !important;
466 }
467 div.tright {
468         clear: right;
469         float: right;
470         border-width: .5em 0 .8em 1.4em;
471 }
472 div.tleft {
473         float: left;
474         margin-right: .5em;
475         border-width: .5em 1.4em .8em 0;
476 }
477
478 .hiddenStructure {
479         display: none;
480         speak: none;
481 }
482 img.tex {
483         vertical-align: middle;
484 }
485 span.texhtml {
486         font-family: serif;
487 }
488
489 /*
490 ** classes for special content elements like town boxes
491 ** intended to be referenced directly from the wiki src
492 */
493
494 /*
495 ** User styles
496 */
497 /* table standards */
498 table.rimage {
499         float: right;
500         position: relative;
501         margin-left: 1em;
502         margin-bottom: 1em;
503         text-align: center;
504 }
505 .toccolours {
506         border: 1px solid #aaa;
507         background-color: #f9f9f9;
508         padding: 5px;
509         font-size: 95%;
510 }
511 div.townBox {
512         position: relative;
513         float: right;
514         background: white;
515         margin-left: 1em;
516         border: 1px solid gray;
517         padding: .3em;
518         width: 200px;
519         overflow: hidden;
520         clear: right;
521 }
522 div.townBox dl {
523         padding: 0;
524         margin: 0 0 .3em;
525         font-size: 96%;
526 }
527 div.townBox dl dt {
528         background: none;
529         margin: .4em 0 0;
530 }
531 div.townBox dl dd {
532         margin: .1em 0 0 1.1em;
533         background-color: #f3f3f3;
534 }
535
536 /*
537 ** edit views etc
538 */
539 .special li {
540         line-height: 1.4em;
541         margin: 0;
542         padding: 0;
543 }
544
545 /*
546 ** RecentChanges
547 */
548 .pageinfo-majoredit { 
549         font-weight: normal; /*bold;*/
550 }
551 .wiki-summary {
552                 font-size: 94%;
553                 font-style: italic;
554 }
555
556 /* Page history styling */
557 /* the auto-generated edit comments */
558 .autocomment {
559         color: gray;
560 }
561 #pagehistory span.user {
562         margin-left: 1.4em;
563         margin-right: .4em;
564 }
565 #pagehistory span.minor {
566         font-weight: bold;
567 }
568 #pagehistory li {
569         border: 1px solid white;
570 }
571 #pagehistory li.selected {
572         background-color: #f9f9f9;
573         border: 1px dashed #aaa;
574 }
575
576 /*
577 ** Diff rendering (unused)
578 */
579 table.diff, td.diff-otitle, td.diff-ntitle {
580         background-color: white;
581 }
582 td.diff-addedline {
583         background: #cfc;
584         font-size: smaller;
585 }
586 td.diff-deletedline {
587         background: #ffa;
588         font-size: smaller;
589 }
590 td.diff-context {
591         background: #eee;
592         font-size: smaller;
593 }
594 span.diffchange {
595         color: red;
596         font-weight: bold;
597 }
598
599 /**
600  * Diff Output
601  */
602 /* main box */
603 .diff {
604         margin-top:    1ex;
605         margin-bottom: 0.5ex;
606         background: white;
607         /* Netscape 4 requires this 1px border.
608          Without it, the paper borders below cause
609          the white background to disappear. */
610         border: 1px #ccc solid;
611         color: black;
612         border-top: 1px solid #494f5d;
613         border-left:  1px solid #494f5d;
614         border-bottom:  1px solid #c6d2de;
615         border-right: 1px solid #c6d2de;
616         padding-top:    1px;
617         padding-bottom: 1px;
618         padding-left:  .125em;
619         padding-right: .125em;
620         padding: 0;
621         /* "paper" borders */
622         /*border-top: 2px #d2d2d2 solid;
623         border-left:  2px #b2b2b2 solid;
624         border-bottom:  2px #e8e6df solid;
625         border-right: 2px #e8e6df solid;*/
626 /*  border-style: inset;*/
627         /*This breaks Netscape 4: (display does not go full width).
628          * width: auto;
629          */
630         /* I'm not sure what the intent of this was, but it's
631          *  not valid CSS: */
632         /* display: editarea; */
633         clear: both;
634 }
635 .diff .block {
636         background: #ddd;
637         padding-left: 1em;
638         /* for NS4 */
639         /*border: none;*/
640 }
641
642 /* individual blocks */
643 .diff .context {
644         background: white;
645         /* for NS4 */
646         border: none;
647 }
648 /* entire difftextblock */
649 .difftext {
650         margin-top:    0;
651         margin-bottom: 0;
652         background: white;
653         /* Netscape 4 requires this 1px border.
654          Without it, the paper borders below cause
655          the white background to disappear. */
656         border: 1px black solid;
657         /* "paper" borders */
658         border-top:  1px #e8e6df solid;
659         border-left: 1px #e8e6df solid;
660         border-bottom: 1px #d2d2d2 solid;
661         border-right:  1px #b2b2b2 solid;
662         padding-left:  0em; 
663         padding-right: 0em;
664         padding-top:    0ex;
665         padding-bottom: 0ex;
666         /*This breaks Netscape 4: (display does not go full width).
667          * width: auto;
668          */
669         clear: both;
670 }
671 /* + - line prefix */
672 .diff .block tt {
673         font-weight: normal;
674         font-family: monospace;
675         color: black;
676         /* for NS4 */
677         margin-left: 0;
678         border: none;
679 }
680 /* changed words */
681 .diff del, .diff ins {
682         font-weight: bold;
683         text-decoration: none;
684 }
685
686 /* blocks containing deleted or added words */
687 .diff .original, .diff .deleted,
688 .diff .final, .diff .added {
689         background: white;
690 }
691 /* blocks containing deleted words */
692 .diff .original, .diff .deleted {
693         background: #fcc;
694         /* for NS4 */
695         border: none;
696 }
697 /* blocks containing added words */
698 .diff .final, .diff .added {
699         background: #cfc;
700         /* for NS4 */
701         border: none;
702 }
703
704 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
705 /* deleted words */
706 .diff del { background: #f99; }
707 /* added words */
708 .diff ins { background: #9f9; }
709
710 /**
711  * PageHistory, Info
712  */
713 td.pageinfo { font-weight: bold; }
714 .pageinfo-minoredit, .pageinfo-authorid {
715         font-size: smaller;
716         font-style: oblique;
717 }
718
719 /**
720  * Calendar plugin
721  */
722 table.cal {
723         border: 1px outset gray;
724         background: white;
725         margin: 0.5ex 0.5em;
726         padding: 1px;
727         /* For Mozilla */
728         empty-cells: hide;
729
730
731 /* cells */
732 table.cal td {
733         background: white;
734         text-align: right;
735
736
737 /* Month-name header */
738 table.cal-header { font-size: larger; }
739 table.cal-header tr, table.cal-header td { text-align: center; }
740 .cal-arrow {
741         font-weight: bold;
742         text-decoration: none;
743 }
744
745 /* Day-names header */
746 table.cal tbody tr .cal-dayname {  }
747 .cal-dayname td {
748         text-align: center;
749         font-size: smaller;
750         text-decoration: underline;
751 }
752
753 /* Individual days */
754 a.cal-hide { text-decoration: none; }
755
756 /* Today */
757  /* cell */
758 table.cal td.cal-today {
759         margin: 1px;
760         border: 1px solid gray;
761 }
762  /* text */
763 table.cal td.cal-today a.cal-hide {  }
764
765 /* 
766 ** keep the whitespace in front of the ^=, hides rule from konqueror
767 ** this is css3, the validator doesn't like it when validating as css2 
768 */
769 #bodyContent a.external,
770 #bodyContent a[href ^="gopher://"] {
771         background: url("images/url.png") center right no-repeat;
772         padding-right: 13px;
773 }
774 #bodyContent a[href ^="https://"],
775 .link-https {
776         background: url("images/lock_icon.png") center right no-repeat;
777         padding-right: 16px;
778 }
779 #bodyContent a[href ^="mailto:"],
780 .link-mailto {
781         background: url("images/mail_icon.png") center right no-repeat;
782         padding-right: 18px;
783 }
784 #bodyContent a[href ^="news://"] {
785         background: url("images/news_icon.png") center right no-repeat;
786         padding-right: 18px;
787 }
788 #bodyContent a[href ^="ftp://"],
789 .link-ftp {
790         background: url("images/file_icon.png") center right no-repeat;
791         padding-right: 18px;
792 }
793 #bodyContent a[href ^="irc://"],
794 .link-irc {
795         background: url("images/discussionitem_icon.png")  center right no-repeat;
796         padding-right: 18px;
797 }
798 /* disable interwiki styling */
799 #bodyContent a.extiw,
800 #bodyContent a.extiw:active {
801         color: #36b;
802         background: none;
803         padding: 0;
804 }
805 #bodyContent a.external {
806         color: #36b;
807 }
808 /* this can be used in the content area to switch off
809 special external link styling */
810 #bodyContent .plainlinks a {
811         background: none !important;
812         padding: 0 !important;
813 }
814 /*
815 ** Structural Elements
816 */
817
818 /*
819 ** general portlet styles (elements in the quickbar)
820 */
821 .portlet {
822         border: none;
823         margin: 0 0 .5em;
824         padding: 0;
825         float: none;
826         width: 11.6em;
827         overflow: hidden;
828 }
829 .portlet h4 {
830         font-size: 95%;
831         font-weight: normal;
832         white-space: nowrap;
833 }
834 .portlet h5 { 
835         background: transparent;
836         padding: 0em 1em 0em 0.5em;
837         text-transform: lowercase;
838         display: inline;
839         font-size: 91%;
840         height: 1em;
841         font-weight: normal;
842         white-space: nowrap;
843 }
844 .portlet h6 { 
845         background: #ffae2e;
846         border: 1px solid #2f6fab;
847         border-style: solid solid none solid;
848         padding: 0em 1em 0em 1em;
849         text-transform: lowercase;
850         display: block;
851         font-size: 1em;
852         height: 1.2em;
853         font-weight: normal;
854         white-space: nowrap;
855 }
856 .pBody {
857         font-size: 95%;
858         background-color: white;
859         color: black;
860         border-collapse: collapse;
861         border: 1px solid #aaa;
862         padding: 0 .8em .3em .5em;
863 }
864 .portlet h1,
865 .portlet h2,
866 .portlet h3,
867 .portlet h4 {
868         margin: 0;
869         padding: 0;
870 }
871 .portlet ul {
872         line-height: 1.5em;
873         list-style-type: square;
874         list-style-image: url("images/bullet.png");
875         font-size:95%;
876 }
877 .portlet li {
878         padding:0;
879         margin: 0 0 0 0;
880         margin-bottom: 0;
881 }
882
883 /* 
884 ** Logo properties 
885  * Optionally at the right also an image
886 */
887
888 #p-logo {
889         position: absolute; /*needed to use z-index */
890         z-index: 3;
891         top: 0;
892         left: 0;
893         height: 155px;
894         width: 12em;
895         overflow: visible;
896 }
897 #p-logo h5 {
898         display: none;
899 }
900 #p-logo a,
901 #p-logo a:hover {
902         display: block;
903         height: 155px;
904         width: 12.2em;
905         background-repeat: no-repeat;
906         background-position: 35% 50% !important;
907         text-decoration: none;
908 }
909 /* At the right we put a small "wiki star" */
910 #img-logo-right {
911         position: absolute;
912         z-index: 4;
913         top:  0;
914         right: 0;
915         height: 86px;
916         width: 86px;
917         background: url("images/wiki_stamp.png") left no-repeat;
918         background-repeat: no-repeat;
919         overflow: visible;
920 }
921
922 /*
923 ** the navigation portlet
924 */
925
926 #p-navigation {
927         position: relative;
928         z-index: 3;
929 }
930 #p-navigation .pBody {
931         padding-right: 0;
932 }
933
934 #p-navigation a {
935         display: block;
936 }
937
938 #p-navigation li.active a, #p-navigation li.active a:hover {
939         text-decoration: none;
940         display: inline;
941         font-weight: bold;
942 }
943
944
945 /*
946 ** Search portlet
947 */
948 #p-search {
949         position:relative;
950         z-index: 3;
951 }
952 input.searchButton {
953         margin-top:1px;
954         padding: 0 0.4em !important;
955         font-size: 95%;
956         cursor: pointer;
957         background-color: White;
958         border: 1px solid #2f6fab;
959 }
960 #searchGoButton {
961         padding-left: .5em;
962         padding-right: .5em;
963         font-weight: bold;
964 }
965 /*#searchInput, */
966 #livesearch, #p-search input.dropdown {
967         text-align: left;
968         width: 9.9em;
969         /*margin: 0;*/
970         font-size: 95%;
971 }
972 #p-search .pBody {
973         padding: .5em .4em .4em .4em;
974         text-align: center;
975 }
976
977 /*
978 ** the personal toolbar
979 */
980
981 #p-personal {
982         position:absolute;
983         z-index: 4;
984         width:40em;
985         white-space:nowrap;
986         padding:0 0 0 0;
987         margin:0;
988         right: 90px;
989         top:0.1em;
990         border: none;
991         overflow: visible;
992         color: black;
993         line-height: 1.2em;
994 }
995
996 #p-personal h5 {
997         display:none;
998 }
999 #p-personal .portlet,
1000 #p-personal .pBody {
1001         z-index: 0;
1002         padding:0;
1003         margin:0;
1004         border: none;
1005         overflow: visible;
1006         background: none;
1007 }
1008 /* this is the ul contained in the portlet */
1009 #p-personal ul {
1010         z-index: 0;
1011         border: none;
1012         line-height: 1.5em;
1013         color: #2f6fab;
1014         padding: 0em 2em 0 3em;
1015         margin: 0;
1016         text-align: right;
1017         /*text-transform: lowercase;*/
1018         list-style: none;
1019         background: none;
1020         cursor: default;
1021 }
1022 #p-personal li {
1023         z-index: 0;
1024         border:none;
1025         padding:0;
1026         display: inline;
1027         color: #2f6fab;
1028         margin-left: 1em;
1029         line-height: 1.2em;
1030         background: none;
1031 }
1032 #p-personal li.active {
1033         font-weight: bold;
1034 }
1035 #p-personal li a {
1036         text-decoration: none;
1037         color: #005896;
1038         padding-bottom: 0.2em;
1039         background: none;
1040 }
1041 #p-personal li a:hover {
1042         background-color: white;
1043         padding-bottom: .2em;
1044         text-decoration: none;
1045 }
1046 #p-personal li.active a:hover {
1047         background-color: transparent;
1048 }
1049 /* the icon in front of the user name, single quotes
1050 in bg url to hide it from iemac */
1051 li#pt-userpage,
1052 li#pt-anonuserpage,
1053 li#pt-login {
1054         /*background:  url('images/wikiuser.png') top left bottom no-repeat;*/
1055         background:  url('images/wikiuser.png') left no-repeat;
1056         background-repeat: no-repeat;
1057         padding-left: 20px;
1058         text-transform: none;
1059 }
1060 #p-personal a.new { color:#ba0000; }
1061
1062 /*
1063 ** the page-related actions- page/talk, edit etc
1064 */
1065 #p-cactions {
1066         position: absolute;
1067         /*z-index: 1;*/ /* important! */
1068         top: 1.3em;
1069         left: 11.5em;
1070         margin: 0;
1071         white-space: nowrap;
1072         width: 76%;
1073         line-height: 1.1em;
1074         overflow: visible;
1075         background: none;
1076         border-collapse: collapse;
1077         padding-left: 1em;
1078         list-style: none;
1079         font-size: 95%;
1080 }
1081 #p-cactions .hiddenStructure {
1082         display: none;
1083 }
1084 #p-cactions ul {
1085         list-style: none;
1086 }
1087 #p-cactions li {
1088         display: inline;
1089         border: 1px solid #aaa;
1090         border-bottom: none;
1091         padding: 0 0 .1em 0;
1092         margin: 0 .3em 0 0;
1093         overflow: visible;
1094         background: white;
1095 }
1096 #p-cactions li.selected {
1097         border-color: #fabd23;
1098         padding: 0 0 0.2em 0 !important;
1099 }
1100 #p-cactions li a {
1101         position: relative;
1102         z-index: 0;
1103         background-color: #fbfbfb;
1104         color: #002bb8;
1105         border: none;
1106         padding: 0 .8em .3em;
1107         text-decoration: none;
1108         /*text-transform: lowercase;*/
1109         margin: 0;
1110 }
1111 #p-cactions li.selected a {
1112         z-index: 3;
1113         background-color: #fff;
1114         padding: 0 1em 0.2em;
1115 }
1116 #p-cactions .new a {
1117         color: #ba0000;
1118 }
1119 #p-cactions li a:hover {
1120         z-index: 3;
1121         text-decoration: none;
1122         background-color: #dedede;
1123 }
1124 /* http://www.aboutus.org/UniversalWikiEditButton */
1125 #p-cactions li a#btn-edit {
1126         background:  url('images/Edit-chalk-10gs.png') top left no-repeat;
1127         background-repeat: no-repeat;
1128         padding-left: 20px !important;
1129         text-transform: none;
1130 }
1131 #p-cactions li a#btn-edit:hover {
1132         z-index: 3;
1133         text-decoration: none;
1134         background-color: #fff;
1135         /*padding-bottom: 0.3em !important;*/
1136 }
1137 #p-cactions h5 {
1138         display: none;
1139 }
1140 #p-cactions li.istalk {
1141         margin-right: 0;
1142 }
1143 #p-cactions li.istalk a {
1144         padding-right: .5em;
1145 }
1146 #p-cactions #ca-addsection a {
1147         padding-left: .4em;
1148         padding-right: .4em;
1149 }
1150 /* offsets to distinguish the tab groups */
1151 li#ca-talk {
1152         margin-right: 1.6em;
1153 }
1154 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
1155         margin-left: 1.6em;
1156 }
1157
1158 /*
1159 ** the remaining portlets
1160 */
1161 #p-tbx,
1162 #p-lang {
1163         position: relative;
1164         z-index: 3;
1165 }
1166
1167 /*
1168 ** footer
1169 */
1170 #footer {
1171         background-color: white;
1172         border-top: 1px solid #fabd23;
1173         border-bottom: 1px solid #fabd23;
1174         margin: .6em 0 1em 0;
1175         border-left: 1px solid #fabd23;
1176         margin-left: 13.6em;
1177         padding: .4em 0 1.2em 0;
1178         text-align: center;
1179         font-size: 90%;
1180 }
1181 #footer li {
1182         display: inline;
1183         margin: 0 1.3em;
1184 }
1185 /* hide from incapable browsers */
1186 head:first-child+body #footer li { white-space: nowrap; }
1187 #f-poweredbyico, #f-copyrightico {
1188         margin: 0 8px;
1189         /*vertical-align: middle;*/
1190         height: 31px;
1191         position: relative;
1192         top: -31px; /* Bump it up just a tad */
1193 }
1194 #f-poweredbyico {
1195         float: right;
1196 }
1197 #f-copyrightico {
1198         float: left;
1199 }
1200
1201 /* js pref toc */
1202 #preftoc { 
1203         float: left;
1204         margin: 1em 1em 1em 1em;
1205         width: 13em;
1206 }
1207 #preftoc li { border: 1px solid White; }
1208 #preftoc li.selected { 
1209         background-color:#f9f9f9;
1210         border:1px dashed #aaaaaa;
1211 }
1212 #preftoc a,
1213 #preftoc a:active {
1214         display: block;
1215         color: #0014a6;
1216 }
1217 #prefcontrol { 
1218         clear: both;
1219         float: left;
1220         margin-top: 1em;
1221 }
1222 div.prefsectiontip { 
1223         font-size: 95%;
1224         margin-top: 1em;
1225 }
1226 fieldset.operaprefsection { margin-left: 15em }
1227
1228 /* 
1229 ** IE/Mac fixes, hope to find a validating way to move this
1230 ** to a separate stylesheet. This would work but doesn't validate: 
1231 ** @import("IEMacFixes.css");
1232 */
1233
1234 /* tabs: border on the a, not the div */
1235 * > html #p-cactions li { border:none; }
1236 * > html #p-cactions li a {
1237         border: 1px solid #aaa;
1238         border-bottom: none;
1239 }
1240 * > html #p-cactions li.selected a { border-color: #fabd23; }
1241 /* footer icons need a fixed width */
1242 * > html #f-poweredbyico,
1243 * > html #f-copyrightico { width: 88px; }
1244 * > html #bodyContent,
1245 * > html #bodyContent pre {
1246         overflow-x: auto;
1247         width: 100%;
1248         padding-bottom: 25px;
1249 }
1250
1251 /* more IE fixes */
1252 /* float/negative margin brokenness */
1253 * html #footer {margin-top: 0;}
1254 * html #column-content {
1255         display: inline;
1256         margin-bottom: 0;
1257 }
1258 * html div.editsection { font-size: smaller; }
1259 #pagehistory li.selected { position: relative; }
1260
1261 /* Mac IE 5.0 fix; floated content turns invisible */
1262 * > html #column-content {
1263         float: none;
1264 }
1265 * > html #column-one {
1266         position: absolute;
1267         left: 0;
1268         top: 0;
1269 }
1270 * > html #footer {
1271         margin-left: 13.2em;
1272 }
1273 .redirectText {
1274         font-size: 150%;
1275         margin: 5px;
1276 }
1277
1278 .printfooter {
1279         display: none;
1280 }
1281
1282 .not-patrolled {
1283         background-color: #ffa;
1284 }
1285 div.patrollink {
1286         font-size: 75%;
1287         text-align: right;
1288 }
1289 span.newpage, span.minor, span.searchmatch, span.bot {
1290         font-weight: bold;
1291 }
1292 span.unpatrolled {
1293         font-weight: bold;
1294         color: red;
1295 }
1296
1297 span.searchmatch {
1298         color: red;
1299 }
1300 .sharedUploadNotice {
1301         font-style: italic;
1302 }
1303
1304 span.updatedmarker {
1305         color: black;
1306         background-color: #0f0;
1307 }
1308 span.newpageletter {
1309         font-weight: bold;
1310         color: black;
1311         background-color: yellow;
1312 }
1313 span.minoreditletter {
1314         color: black;
1315         background-color: #c5ffe6;
1316 }
1317
1318 table.gallery {
1319         border: 1px solid #ccc;
1320         margin: 2px;
1321         padding: 2px;
1322         background-color: white;
1323 }
1324
1325 table.gallery tr {
1326         vertical-align: top;
1327 }
1328
1329 table.gallery td {
1330         vertical-align: top;
1331         background-color: #f9f9f9;
1332         border: solid 2px white;
1333 }
1334
1335 table.gallery td.galleryheader {
1336         text-align: center;
1337         font-weight: bold;
1338 }
1339
1340 div.gallerybox {
1341         margin: 2px;
1342         width:  150px;
1343 }
1344
1345 div.gallerybox div.thumb {
1346         text-align: center;
1347         border: 1px solid #ccc;
1348         margin: 2px;
1349 }
1350
1351 div.gallerytext {
1352         font-size: 94%;
1353         padding: 2px 4px;
1354 }
1355
1356 span.comment {
1357         font-style: italic;
1358 }
1359
1360 span.changedby {
1361         font-size: 95%;
1362 }
1363
1364 .previewnote {
1365         text-indent: 3em;
1366         color: #c00;
1367         border-bottom: 1px solid #aaa;
1368         padding-bottom: 1em;
1369         margin-bottom: 1em;
1370 }
1371
1372 .previewnote p {
1373         margin: 0;
1374         padding: 0;
1375 }
1376
1377 .editExternally {
1378         border: 1px solid gray;
1379         background-color: #ffffff;
1380         padding: 3px;
1381         margin-top: 0.5em;
1382         float: left;
1383         font-size: small;
1384         text-align: center;
1385 }
1386 .editExternallyHelp {
1387         font-style: italic;
1388         color: gray;
1389 }
1390
1391 li span.deleted, span.history-deleted {
1392         text-decoration: line-through;
1393         color: #888;
1394         font-style: italic;
1395 }
1396
1397 .toggle {
1398         margin-left: 2em;
1399         text-indent: -2em;
1400 }
1401
1402 /* Classes for EXIF data display */
1403 table.mw_metadata {
1404         font-size: 0.8em;
1405         margin-left: 0.5em;
1406         margin-bottom: 0.5em;
1407         width: 300px;
1408 }
1409
1410 table.mw_metadata caption {
1411         font-weight: bold;
1412 }
1413
1414 table.mw_metadata th {
1415         font-weight: normal;
1416 }
1417
1418 table.mw_metadata td {
1419         padding: 0.1em;
1420 }
1421
1422 table.mw_metadata {
1423         border: none;
1424         border-collapse: collapse;
1425 }
1426
1427 table.mw_metadata td, table.mw_metadata th {
1428         text-align: center;
1429         border: 1px solid #aaaaaa;
1430         padding-left: 0.1em;
1431         padding-right: 0.1em;
1432 }
1433
1434 table.mw_metadata th {
1435         background-color: #f9f9f9;
1436 }
1437
1438 table.mw_metadata td {
1439         background-color: #fcfcfc;
1440 }
1441
1442 table.collapsed tr.collapsable {
1443         display: none;
1444 }
1445
1446
1447 /* filetoc */
1448 ul#filetoc {
1449         text-align: center;
1450         border: 1px solid #aaaaaa;
1451         background-color: #f9f9f9;
1452         padding: 5px;
1453         font-size: 95%;
1454         margin-bottom: 0.5em;
1455         margin-left: 0;
1456         margin-right: 0;
1457 }
1458
1459 #filetoc li {
1460         display: inline;
1461         list-style-type: none;
1462         padding-right: 2em;
1463 }
1464
1465 /* @bug 1714 */
1466 input#wpSave, input#wpDiff {
1467         margin-right: 0.33em;
1468 }
1469
1470 #editform .editOptions {
1471         display: inline;
1472 }
1473
1474 #wpSave {
1475         font-weight: bold;
1476 }
1477
1478 /* Classes for article validation */
1479
1480 table.revisionform_default {
1481         border: 1px solid #000000;
1482 }
1483
1484 table.revisionform_focus {
1485         border: 1px solid #000000;
1486         background-color:#00BBFF;
1487 }
1488
1489 tr.revision_tr_default {
1490         background-color:#EEEEEE;
1491 }
1492
1493 tr.revision_tr_first {
1494         background-color:#DDDDDD;
1495 }
1496
1497 p.revision_saved {
1498         color: green;
1499         font-weight:bold;
1500 }
1501
1502 #mw_trackbacks {
1503         border: solid 1px #bbbbff;
1504         background-color: #eeeeff;
1505         padding: 0.2em;
1506 }
1507
1508
1509 /* Allmessages table */
1510
1511 #allmessagestable th {
1512         background-color: #b2b2ff;
1513 }
1514
1515 #allmessagestable tr.orig {
1516         background-color: #ffe2e2;
1517 }
1518
1519 #allmessagestable tr.new {
1520         background-color: #e2ffe2;
1521 }
1522
1523 #allmessagestable tr.def {
1524         background-color: #f0f0ff;
1525 }
1526
1527
1528 /* noarticletext */
1529 div.noarticletext {
1530         border: 1px solid #ccc;
1531         background: #fff;
1532         padding: .2em 1em;
1533         color: #000;
1534 }
1535
1536 div#searchTargetContainer {
1537         left:       10px;
1538         top:        10px;
1539         width:      90%;
1540         background: white;
1541 }
1542
1543 div#searchTarget {
1544         padding:    3px;
1545         margin:     5px;
1546         background: #F0F0F0;
1547         border:     solid 1px blue;
1548 }
1549
1550 div#searchTarget ul li {
1551         list-style: none;
1552 }
1553
1554 div#searchTarget ul li:before {
1555         color: orange;
1556         content: "\00BB \0020";
1557 }
1558
1559 div.multipageimagenavbox {
1560          border: solid 1px silver;
1561          padding: 4px;
1562          margin: 1em;
1563          -moz-border-radius: 6px;
1564          background: #f0f0f0;
1565 }
1566
1567 div.multipageimagenavbox div.thumb {
1568          border: none;
1569          margin-left: 2em;
1570          margin-right: 2em;
1571 }
1572
1573 div.multipageimagenavbox hr {
1574          margin: 6px;
1575 }
1576
1577 table.multipageimage td {
1578          text-align: center;
1579 }
1580
1581 /*
1582         Table pager (e.g. Special:Imagelist)
1583         - remove underlines from the navigation link
1584         - collapse borders
1585         - set the borders to outsets (similar to Special:Allmessages)
1586         - remove line wrapping for all td and th, set background color
1587         - restore line wrapping for the last two table cells (description and size)
1588 */
1589 .TablePager_nav a { text-decoration: none; }
1590 .TablePager { border-collapse: collapse; }
1591 .TablePager, .TablePager td, .TablePager th { 
1592         border: 0.15em solid #777777;
1593         padding: 0 0.15em 0 0.15em;
1594 }
1595 .TablePager th { background-color: #eeeeff }
1596 .TablePager td { background-color: #ffffff }
1597 .TablePager tr:hover td { background-color: #eeeeff }
1598
1599 .imagelist td, .imagelist th { white-space: nowrap }
1600 .imagelist .TablePager_col_links { background-color: #eeeeff }
1601 .imagelist .TablePager_col_img_description { white-space: normal }
1602 .imagelist th.TablePager_sort { background-color: #ccccff }
1603
1604 /**
1605  * PhpWiki Tables
1606  */
1607 .pagelist { }
1608 .pagelist thead td {
1609         background: #e8e8e8;
1610         text-decoration: none;
1611         font-weight: bold;
1612         font-size: smaller;
1613 }
1614 .pagelist thead td u { text-decoration: none; }
1615 .pagelist tr.evenrow { background: #eee; }
1616 .pagelist tr.oddrow  { background: white; }
1617 th.gridbutton {
1618         background-color: ThreedLightShadow;
1619         color: black;
1620         font-family: Tahoma, sans-serif, Arial, Helvetica;
1621         font-size: small;
1622         font-weight: normal;
1623         /*font-style: menu;*/
1624         white-space: nowrap;
1625         margin: 5px 0px;
1626         max-height: 24px;
1627         padding: 5px 0px 5px 0px;
1628         border-width: 1px;
1629         border-style: solid;
1630         border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight;
1631 }
1632 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
1633         text-decoration: none;
1634         font-size: small;
1635         font-weight: normal;
1636         /*font-style: menu;*/
1637         font-family: Tahoma, sans-serif, Arial, Helvetica;
1638         background-color: ThreedLightShadow;
1639         color: black;
1640 }
1641
1642 .wikipaging { font-size: 80% }
1643 .wikipaging-disabled { color: #999 }
1644
1645 /* <?plugin RawHtml <div class="boxright"> </div> */
1646
1647 div.boxright {
1648         width: 200px; 
1649         right: 10px;
1650         padding: 0.5em; 
1651         float: right; 
1652         border: thin solid #888888; 
1653         padding: 0.5em;
1654 }
1655
1656 div#bottom {   
1657         margin-left:   12.2em;
1658 }
1659 /* PHP Warnings */
1660 div.errors {
1661         color: black;
1662         background: #eee;
1663         margin-top:    1em;
1664         margin-bottom: 1em;
1665         padding-left:  0.8em; 
1666         padding-right: 0.8em; 
1667         padding-top:    0.8ex;
1668         padding-bottom: 0;
1669         border: medium solid red;
1670         clear: both;
1671 }
1672 h4.errors {
1673         color: red;
1674         margin:  0;
1675         padding: 0;
1676         text-decoration: underline;
1677 }
1678 div.warning {
1679         color: black;
1680         background: #eee;
1681         margin-top:    1em;
1682         margin-bottom: 1em;
1683         padding-left:  0.8em; 
1684         padding-right: 0.8em; 
1685         padding-top:    0.8ex;
1686         padding-bottom: 0;
1687         border: thin solid blue;
1688         clear: both;
1689 }
1690 .error { font-family: monospace; font-size: 120%; }
1691 .error ul { font-family: monospace; }
1692
1693 /* Debug */
1694 .debug {
1695         color: black;
1696         background: white;
1697         font-family: monospace;
1698         font-size: smaller;
1699         margin: 1ex 0;
1700         padding: 0.5ex 0.5em;
1701         border: medium solid #fff8dc; /* darker ivory */
1702 }
1703 /* Hints */
1704 .hint {
1705         color: black;
1706         background: #eeeeee;
1707          /* font-size: smaller; */
1708         font-style: italic;
1709         margin-left: 3em;
1710         padding: 0.5ex 0.5em;
1711         border: thin solid #aaaaaa;
1712 }
1713 span.hint {
1714         padding: 0;
1715 }
1716 /* Disabled Plugins */
1717 .disabled-plugin
1718 {
1719         clear: both;
1720         margin: 1ex 0;
1721         padding: 0;
1722 }
1723 .disabled-plugin .title {
1724         color: #400;
1725         background-color: inherit;
1726         font-size: x-small;
1727         text-align: right;
1728         padding: 0 0.5em;
1729 }
1730 .disabled-plugin pre {
1731         color: black;
1732         background: #ddd;
1733         margin: 0;
1734         padding: 0.3ex 0.5em;
1735 }
1736
1737 /* "(Redirected from ...)" message. */
1738 span.redirectfrom {
1739         font-size: small;
1740         font-style: oblique;
1741         font-weight: normal;
1742         padding-left: 1em;
1743 }
1744 .search-context { background: white; font-style: oblique; }
1745 .search-term {
1746         background: yellow;
1747         font-weight: normal;
1748 }
1749
1750 a.spell-wrong {
1751         color:#ba0000; 
1752         background: yellow;
1753 }
1754 span.spell-wrong {
1755         color:#ba0000; 
1756 }
1757
1758
1759 /**
1760  * Wiki Forms
1761  * 
1762  * The div inside the wikiadmin upload form does not
1763  * have a class yet, so it must be referenced indirectly
1764  */
1765 /* div.wikiaction { background-color: #eee; } */
1766 /* div.wikiadmin { background-color: #fee; } */
1767 /* form.wikiadmin div { background-color: #fee; } */
1768 form.wikiformrich { background-color: #eee; }
1769
1770 /**
1771  * Link styles
1772  */
1773 .wiki, .named-wiki {
1774         text-decoration: none;
1775         font-weight: normal;
1776         /* font-weight: bold; */
1777 }
1778 .wiki relation, .named-wiki relation, .wiki attribute, .named-wiki attribute {
1779         font-style: oblique;
1780         /* font-weight: normal; */
1781         font-weight: bold;
1782 }
1783
1784 span.relation-symbol {
1785         font-weight: bold;
1786         font-family: monospace;
1787         letter-spacing: 0.1em;
1788 }
1789
1790 /* Action buttons */
1791 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
1792 input.wikiaction, input.button, input.wikiadmin {
1793         text-decoration: none;
1794         font-family: Arial, Helvetica, sans-serif;
1795         /* don't wrap text buttons */
1796         white-space: nowrap;
1797         /*font-size: inherit; */
1798 }
1799
1800 /*
1801 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button { 
1802         background-color: #ddd; 
1803 }
1804 */
1805
1806 .wikiunsafe { background-color: #fcc; }
1807
1808 /*
1809 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin  { 
1810         background-color: #fdd; 
1811 }
1812 */
1813
1814 /* Unknown links */
1815 .wikiunknown, .named-wikiunknown {
1816         font-weight: normal;
1817         font-size: 100%;
1818 }
1819  /* QuestionMark #600 */
1820 .wikiunknown a, .named-wikiunknown a {
1821         color: #447;
1822         background-color: #eee;
1823         text-decoration: none;
1824         font-weight: normal;
1825         font-size: smaller;
1826 }
1827
1828 /* Backlinks */
1829 .backlinks {
1830         text-decoration: underline;
1831         color: #006;
1832 }
1833 h1 .backlinks { text-decoration: underline; }
1834
1835 /* Interwiki links */
1836 /* .wikipage  { font-weight: bold; } */
1837 .wikipage  { font-weight: normal; }
1838 .interwiki { text-decoration: none; }
1839 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
1840 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }