]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/phpwiki.css
You are encouraged to offer a generic family as a last alternative
[SourceForge/phpwiki.git] / themes / default / phpwiki.css
1 /**
2  * $Id$
3  *
4  * This incarnation of this stylesheet is a complete rewrite from the
5  * ground up.
6  *
7  * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting
8  * tool for mapping the more complex CSS node selectors, such as those
9  * used to reference the various CalendarPlugin elements.
10  */
11
12 /**
13  * General
14  */ 
15 img { border: 0ex; }
16
17 form { margin: 0ex; }
18
19 table {
20   border-spacing: 1px;
21   /* For Mozilla */
22   empty-cells: show;
23 }
24
25 caption {
26   caption-side: top;
27   text-align: left;
28   margin-bottom: .5ex;
29   /* Allow the caption to extend to the full page width
30      Mac ie5.1 ignores this*/
31   width: 100%;
32 }
33
34
35 /**
36  * Wiki
37  */
38 body {
39   /* ivory #ffe #fffff0*/
40   background: #fffff0;
41   font-family: Arial, Helvetica, sans-serif;
42   font-size: 85%; /* The default is too large. But enlarge monospace below */
43   margin: 1.5ex 1em;
44 }
45
46 div.wikitext hr { height: 1px; }
47
48 div.wikitext pre { font-family: monospace; }
49
50
51 /**
52  * PageTypes
53  */
54 /* Main wiki text box */
55 div.wikitext {
56   margin-top:    1ex;
57   margin-bottom: 0.5ex;
58   background-color: white;
59   /* Netscape 4 requires this 1px border.
60      Without it, the paper borders below cause
61      the white background to disappear. */
62   border: 1px black solid;
63   /* "paper" borders */
64   border-top:  1px #e8e6df solid;
65   border-left: 1px #e8e6df solid;
66   border-bottom: 1px #d2d2d2 solid;
67   border-right:  1px #b2b2b2 solid;
68   padding-left:  0.8em; 
69   padding-right: 0.8em;
70   padding-top:    0.5ex;
71   padding-bottom: 0.5ex;
72   /*This breaks Netscape 4: (display does not go full width).
73    * width: auto;
74    */
75   clear: both;
76 }
77 /* for the login template */
78 div#browse  {
79   margin-top:    1px;
80   margin-bottom: 0.5px;
81   /*background: #dddddd;*/
82 }
83 input#inp-openid {
84   background:  url('images/openid.png') bottom left no-repeat;
85   background-repeat: no-repeat;
86   padding-left: 18px !important;
87 }
88
89 /* .interwiki-map thead td { text-decoration: underline; } */
90
91 /*
92 ** RecentChanges
93 */
94 .pageinfo-majoredit { 
95         font-weight: bold;
96 }
97 .wiki-summary {
98         font-size: 94%;
99         font-style: italic;
100 }
101
102 /* Mozilla RecentChanges Sidebar */
103 body.sidebar {
104   font-size: smaller;
105   margin: 0.5em;
106 }
107 body.sidebar div.wikitext {
108   padding: 0.5em;
109 }
110 body.sidebar div.wikitext ul { padding-left: 1em; }
111 body.sidebar h2 { margin-top: 0; }
112
113
114 /**
115  * Wiki Forms
116  * 
117  * The div inside the wikiadmin upload form does not
118  * have a class yet, so it must be referenced indirectly
119  */
120 div.wikiaction { background-color: #eee; }
121 /* div.wikiadmin { background-color: #fee; } */
122 form.wikiadmin div { background-color: #fee; }
123 form.wikiformrich { background-color: #eee; }
124
125 /**
126  * Link styles
127  */
128 .wiki, .named-wiki {
129   text-decoration: none;
130   /* font-weight: normal; */
131   font-weight: bold;
132 }
133 .wiki relation, .named-wiki relation, .wiki attribute, .named-wiki attribute {
134   font-style: oblique;
135   /* font-weight: normal; */
136   font-weight: bold;
137 }
138
139 span.relation-symbol {
140     font-weight: bold;
141     font-family: monospace;
142     letter-spacing: 0.1em;
143 }
144
145 /* Action buttons */
146 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
147 input.wikiaction, input.button, input.wikiadmin {
148     text-decoration: none;
149     font-family: Arial, Helvetica, sans-serif;
150     /* don't wrap text buttons */
151     white-space: nowrap;
152     /* font-size: inherit; */
153 }
154
155 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button { 
156     background-color: #ddd; 
157 }
158
159 .wikiunsafe { background-color: #fcc; }
160
161 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin  { 
162     background-color: #fdd; 
163 }
164
165 /* Unknown links */
166 .wikiunknown, .named-wikiunknown {
167   font-weight: normal;
168   font-size: 100%;
169 }
170
171 /* QuestionMark #600 */
172 .wikiunknown a, .named-wikiunknown a {
173   color: #447;
174   background-color: #eee;
175   text-decoration: none;
176   font-weight: normal;
177   font-size: smaller;
178 }
179
180 /* Backlinks */
181 .backlinks {
182   text-decoration: underline;
183   color: #006;
184 }
185 h1 .backlinks { text-decoration: underline; }
186
187 /* Interwiki links */
188 /* .wikipage  { font-weight: bold; } */
189 .wikipage  { font-weight: normal; }
190 .interwiki { text-decoration: none; }
191 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
192 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
193
194 /* image buttons */
195 a.wikibutton, a.wikibutton:visited, input.wikibutton  { 
196     background-color: white; 
197 }
198
199 /**
200  * headings: Georgia
201  */
202 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
203
204 h1 { margin: 0; font-size: 140% }
205
206
207 /**
208  * Tables
209  */
210 table, td { font-family: Arial, Helvetica, sans-serif; }
211 caption { font-family: Arial, Helvetica, sans-serif; }
212 .pagelist { 
213   font-size: smaller;
214 }
215 .pagelist thead td {
216   background: #e8e8e8;
217   text-decoration: none;
218   font-weight: bold;
219 }
220 .pagelist thead td u { text-decoration: none; }
221 .pagelist tr.evenrow { background: #eee; }
222 .pagelist tr.oddrow  { background: white; }
223 th.gridbutton {
224   background-color: ThreeDLightShadow;
225   color: black;
226   font-family: Tahoma, Arial, Helvetica, sans-serif;
227   font-size: small;
228   font-weight: normal;
229   white-space: nowrap;
230   margin: 5px 0px;
231   max-height: 24px;
232   padding: 5px 0px 5px 0px;
233   border-width: 1px;
234   border-style: solid;
235   border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
236 }
237 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
238   text-decoration: none;
239   font-size: small;
240   font-weight: normal;
241   font-family: Tahoma, Arial, Helvetica, sans-serif;
242   background-color: ThreeDLightShadow;
243   color: black;
244 }
245
246
247 /**
248  * Toolbar
249  */
250 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
251
252 .toolbar {
253   padding: 0;
254   margin:  0;
255 }
256 .edit-toolbar {
257   padding: 0;
258   margin:  0;
259 }
260 .edit-toolbar img, .edit-toolbar input {
261   background-color: #fff;
262   border: 1px solid ButtonFace;
263 }
264
265 #navbuttons {
266   padding-right: 4em; /* wrap around logo */
267   padding-bottom: 1ex; /* space for h1 */
268 }
269 .editdate {
270   font-family: Arial, Helvetica, sans-serif;
271   margin: 0;
272   padding: 0;
273   padding-top: 0.25ex;
274 }
275 /*
276 div#logo {
277   float: right;
278 }
279 */
280 #logo img {
281   float: right;
282   /* Netscape 4 requires this 1px border.
283      Without it, the paper borders below cause
284      the white background to disappear. */
285   border: 1px black solid;
286   /* "paper" borders */
287   border-top:  1px #e8e6df solid;
288   border-left: 1px #e8e6df solid;
289   border-bottom: 1px #d2d2d2 solid;
290   border-right:  1px #b2b2b2 solid;
291 }
292
293 /**
294  * Edit Page & View Source
295  */
296
297 /* Make the textarea the full page width */
298 textarea.wikiedit {
299   width: 100%;
300   margin-bottom: 0.5ex;
301   margin-top:    0.5ex;
302   padding: 2px;
303 }
304
305 #editarea-size {
306   margin-top: 1ex;
307   text-align: right;
308   font-size: smaller;
309 }
310 #search-replace {
311   margin-top: 1ex;
312   text-align: left;
313   font-size: smaller;
314 }
315 #toolbar { padding:0px; }
316
317 /**
318  * Search
319  */
320 #searchholder { display: inline; }
321
322 /**
323  * Search Results
324  */
325 .search-context { background: white; font-style: oblique; }
326 .search-term {
327   background: yellow;
328   font-weight: normal;
329 }
330 #LSResult {
331   position: absolute;
332   text-align: left;
333   display: none;
334   z-index: 100;
335   background-color: white;
336   border: 1px solid #d0d0d0; 
337   font-size: 9px;
338   overflow: hidden;
339 }
340 #LSHighlight {
341   background-color: #f08000;
342 }
343 #LSResult .evenrow {
344   background-color: #f0f0f0;
345
346 #LSREsult .oddrow {
347
348 .LSEnd {
349   text-align: right;
350 }
351 .LSRow:hover {
352   background-color: white;
353 }
354 .LSRow {
355   padding: 1px;
356
357 ul.LSRes {
358   margin: 0px;
359   padding: 0px;
360 }
361 li.LSRow {
362   margin: 0px;
363   list-style-image: none;
364 }
365
366 /* IncludePage plugin */
367 .transclusion-title {
368   text-align: right;
369   font-style: oblique;
370   font-size:  smaller;
371   text-decoration: underline;
372   margin-bottom: 0.25ex;
373   margin-right:  0.25em;
374
375 .transclusion, .wiki-edithelp {
376   font-size: smaller;
377 }
378 .transclusion {
379   border: 1px solid gray;
380   padding-left:  0.8em; 
381   padding-right: 0.8em; 
382   padding-top:     0px;
383   padding-bottom:  0px;
384   margin-left:   0.25em;
385   margin-right:  0.25em;
386   margin-bottom: 0.1ex;
387 }
388 .wiki-edithelp {
389   background: white;
390   border: medium solid #fff8dc; /* darker ivory */
391   padding-left:  0.5em;
392   padding-right: 0.5em;
393   padding-top:    0.75ex;
394   padding-bottom: 0.75ex;
395   margin-left:  0;
396   margin-right: 0;
397   margin-top: 1ex;
398   margin-bottom: 1ex;
399 }
400 .wiki-edithelp .wiki {
401   /* color: #5454ff;*/
402 }
403 .wiki-edithelp p {
404   font-family: Arial, Helvetica, sans-serif;
405   padding-left:  0.5em;
406   padding-right: 0.5em;
407   padding-top:    0.5ex;
408   padding-bottom: 0.5ex;
409   margin: 0;
410 }
411
412
413 /**
414  * Calendar plugin
415  */
416 table.cal {
417   border: 1px outset gray;
418   background: white;
419   margin: 0.5ex 0.5em;
420   padding: 1px;
421   /* For Mozilla */
422   empty-cells: hide;
423
424
425 /* cells */
426 table.cal td {
427   background: white;
428   text-align: right;
429
430
431 /* Month-name header */
432 table.cal-header { font-size: larger; }
433 table.cal-header tr, table.cal-header td { text-align: center; }
434 .cal-arrow {
435   font-weight: bold;
436   text-decoration: none;
437 }
438
439 /* Day-names header */
440 table.cal tbody tr .cal-dayname {  }
441 .cal-dayname td {
442   text-align: center;
443   font-size: smaller;
444   text-decoration: underline;
445 }
446
447 /* Individual days */
448 a.cal-hide { text-decoration: none; }
449
450 /* Today */
451  /* cell */
452 table.cal td.cal-today {
453   margin: 1px;
454   border: 1px solid gray;
455 }
456  /* text */
457 table.cal td.cal-today a.cal-hide {  }
458
459 /**
460  * Diff Output
461  */
462 /* main box */
463 .diff {
464   margin-top:    1ex;
465   margin-bottom: 0.5ex;
466   background: white;
467   /* Netscape 4 requires this 1px border.
468      Without it, the paper borders below cause
469      the white background to disappear. */
470   border: 1px #ccc solid;
471   color: black;
472   border-top: 1px solid #494f5d;
473   border-left:  1px solid #494f5d;
474   border-bottom:  1px solid #c6d2de;
475   border-right: 1px solid #c6d2de;
476   padding-top:    1px;
477   padding-bottom: 1px;
478   padding-left:  .125em;
479   padding-right: .125em;
480   padding: 0;
481   /* "paper" borders */
482   /*border-top: 2px #d2d2d2 solid;
483   border-left:  2px #b2b2b2 solid;
484   border-bottom:  2px #e8e6df solid;
485   border-right: 2px #e8e6df solid;*/
486 /*  padding-left:  0em; 
487   padding-bottom: 0ex;*/
488 /*  border-style: inset;*/
489   /*This breaks Netscape 4: (display does not go full width).
490    * width: auto;
491    */
492   /* I'm not sure what the intent of this was, but it's
493    *  not valid CSS: */
494   /* display: editarea; */
495   clear: both;
496 }
497 .diff .block {
498   background: #ddd;
499   padding-left: 1em;
500   /* for NS4 */
501   /*border: none;*/
502 }
503
504 /* individual blocks */
505 .diff .context {
506   background: white;
507   /* for NS4 */
508   border: none;
509 }
510 /* entire difftextblock */
511 .difftext {
512   margin-top:    0;
513   margin-bottom: 0;
514   background: white;
515   /* Netscape 4 requires this 1px border.
516      Without it, the paper borders below cause
517      the white background to disappear. */
518   border: 1px black solid;
519   /* "paper" borders */
520   border-top:  1px #e8e6df solid;
521   border-left: 1px #e8e6df solid;
522   border-bottom: 1px #d2d2d2 solid;
523   border-right:  1px #b2b2b2 solid;
524   padding-left:  0em; 
525   padding-right: 0em;
526   padding-top:    0ex;
527   padding-bottom: 0ex;
528   /*This breaks Netscape 4: (display does not go full width).
529    * width: auto;
530    */
531   clear: both;
532 }
533 /* + - line prefix */
534 .diff .block tt {
535   font-weight: normal;
536   font-family: monospace;
537   color: black;
538   /* for NS4 */
539   margin-left: 0;
540   border: none;
541 }
542 /* changed words */
543 .diff del, .diff ins {
544   font-weight: bold;
545   text-decoration: none;
546 }
547
548 /* blocks containing deleted or added words */
549 .diff .original, .diff .deleted,
550 .diff .final, .diff .added {
551   background: white;
552 }
553 /* blocks containing deleted words */
554 .diff .original, .diff .deleted {
555   background: #fcc;
556   /* for NS4 */
557   border: none;
558 }
559 /* blocks containing added words */
560 .diff .final, .diff .added {
561   background: #cfc;
562   /* for NS4 */
563   border: none;
564 }
565
566 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
567 /* deleted words */
568 .diff del { background: #f99; }
569 /* added words */
570 .diff ins { background: #9f9; }
571
572
573 /**
574  * PageHistory, Info
575  */
576 td.pageinfo { font-weight: bold; }
577 .pageinfo-minoredit, .pageinfo-authorid {
578   font-size: smaller;
579   font-style: oblique;
580 }
581
582
583 /**
584  * Other
585  */
586 .printer, .no-css { display: none; }
587
588 /* PHP Warnings */
589 div.errors {
590   color: black;
591   background: #eee;
592   margin-top:    1em;
593   margin-bottom: 1em;
594   padding-left:  0.8em; 
595   padding-right: 0.8em; 
596   padding-top:    0.8ex;
597   padding-bottom: 0;
598   border: medium solid red;
599   clear: both;
600 }
601 h4.errors {
602   color: red;
603   margin:  0;
604   padding: 0;
605   text-decoration: underline;
606 }
607 div.warning {
608   color: black;
609   background: #eee;
610   margin-top:    1em;
611   margin-bottom: 1em;
612   padding-left:  0.8em; 
613   padding-right: 0.8em; 
614   padding-top:    0.8ex;
615   padding-bottom: 0;
616   border: thin solid blue;
617   clear: both;
618 }
619 .error { font-family: monospace; font-size: 120%; }
620 .error ul { font-family: monospace; }
621
622 /* Debug */
623 .debug {
624   color: black;
625   background: white;
626   font-family: monospace;
627   font-size: smaller;
628   margin: 1ex 0;
629   padding: 0.5ex 0.5em;
630   border: medium solid #fff8dc; /* darker ivory */
631 }
632
633 /* Hints */
634 .hint {
635   color: black;
636   background: #eeeeee;
637    /* font-size: smaller; */
638   font-style: italic;
639   margin-left: 3em;
640   padding: 0.5ex 0.5em;
641   border: thin solid #aaaaaa;
642 }
643 span.hint {
644   padding: 0;
645 }
646
647 /* Disabled Plugins */
648 .disabled-plugin
649 {
650   clear: both;
651   margin: 1ex 0;
652   padding: 0;
653 }
654 .disabled-plugin .title {
655   color: #400;
656   background-color: inherit;
657   font-size: x-small;
658   text-align: right;
659   padding: 0 0.5em;
660 }
661 .disabled-plugin pre {
662   color: black;
663   background: #ddd;
664   margin: 0;
665   padding: 0.3ex 0.5em;
666 }
667
668 /* "(Redirected from ...)" message. */
669 span.redirectfrom {
670   font-size: small;
671   font-style: oblique;
672   font-weight: normal;
673   padding-left: 1em;
674 }
675
676 /*
677  * "DL tables"
678  */
679 .wiki-dl-table {
680   border-collapse: collapse;
681   border: 2px #444 solid;
682 }
683 .wiki-dl-table tr {
684   border-top: 2px #444 solid;
685   border-bottom: 2px #444 solid;
686   border-left: none; 
687   border-right: none; 
688 }
689 .wiki-dl-table th,
690 .wiki-dl-table td {
691   padding: 0.25em 0.5em;
692 }
693 .wiki-dl-table th {
694   vertical-align: top;
695   text-align: right;
696   border-right: 1px #444 solid;
697   border-left: none;
698   border-top: none;
699   border-bottom: none;
700 }
701 .wiki-dl-table td {
702   border: none;
703 }
704
705 /*
706  * "E-mail" style blockquote
707  */
708 blockquote.mail-style-quote {
709   border-left: medium #284 solid;
710   padding-left: 1em;
711   margin-left: 0;
712   margin-right: 0;
713 }
714 .mail-style-quote blockquote.mail-style-quote {
715   margin-left: -0.6em;
716 }
717
718
719 /*
720  * wikiblog
721  */
722 .floatleft { float: left; }
723 .floatright { float: right; }
724
725 div.wikiblog {
726   /* border: thin black solid; */
727   margin: 1ex 2em;
728   padding: 0 0;
729 }
730 div.wikiblog > div {
731   margin: 0 0;
732   padding: 0.5ex 0.5em;
733 }
734 div.wikiblog-header {
735   /* background-color: #ccf; */
736 }
737 div.wikiblog > div.wikiblog-footer {
738   /* background-color: #eee; */
739   padding: 0.2ex 0.5em;
740 }
741 h3.wikiblog-summary {
742   font-size: medium;
743   font-weight: bold;
744   margin: 0 0 1ex 0;
745 }
746
747 div.wikiblog.wikiblog-form {
748   /* background-color: #eee; */
749 }
750
751 table.wikiblog-form {
752   width: auto;
753   border-collapse: collapse;
754   margin: 0.25em 0;
755 }
756 .wikiblog-form caption {
757   /* background-color: #ccf; */
758   caption-side: top;
759   font-weight: bold;
760   text-align: left;
761   padding: 0.5ex 0.5em;
762 }
763 .wikiblog-form th {
764   vertical-align: top;
765   text-align: right;
766   padding: 0 0 0.3em 0.5em;
767 }
768 .wikiblog-form td {
769   padding: 0.25em 0.5em;
770 }
771 .wikiblog-form td.submit-button {
772   padding: 0;
773 }
774 .wikiblog-form input[type=text],
775 .wikiblog-form textarea {
776   margin: 0 0;
777   width: 100%;
778 }
779 div.wikicomment div.wikicomment-footer {
780   padding: 0.2ex 0.5em;
781 }
782 div.wikicomment div.wikicomment-footer named-wiki {
783   font-size: small;
784 }
785 table.interwiki-map {
786   margin: 1em 2em;
787 }
788 .interwiki-map th {
789   text-decoration: underline;
790   text-align: left;
791   padding-left: 1em;
792 }
793 .interwiki-map td.interwiki-url {
794   padding-left: 2em;
795 }
796 .interwiki-map th.interwiki-url {
797   padding-left: 3em;
798 }
799
800 .dialog {
801   background-color: #cdf;
802   color: black;
803   margin: 2em auto 2em auto;
804   border: thin black solid;
805   width: 50%;
806 }
807 .dialog h1, .dialog p, .dialog div {
808   text-align: center;
809 }
810 .dialog h1 {
811   font-size: large;
812   margin: 0.5em 0 1em 0;
813 }
814 .dialog div.message {
815   background-color: white;
816   color: black;
817   color: black;
818   margin: 0 1em;
819   padding: 0.5em 0.5em;
820 }
821 .dialog p.buttons {
822   margin: 1em 0 0.5em 0;
823 }
824
825
826 .clear-floats {
827   clear: both;
828 }
829
830
831 /* postnuke css:*/
832 .gensmall{font-size:10px}
833 .genmed{font-size:11px}
834 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
835 /* Main table cell colours and backgrounds */
836 td.row1{background:#eaedf4;color:#000000}
837 td.row2{background:#d9e2ec;color:#000000}
838 td.row3{background:#cad9ea;color:#000000}
839 td.spacerow{background:#cad9ea;color:#000000}
840
841 /* This is the outline round the main forum tables */
842 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
843
844 /* Sidebar */
845 .box { background:#ffffff; border: 1px solid silver }
846 .box-title { font-family: Tahoma, Arial, Helvetica, sans-serif; font-weight: normal; background-color: #ccc; color: black; text-align: center; border: none; padding: 2px 0 2px 0;}
847 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
848 .box-data .wiki { font-weight: normal; }
849 td.sidebar { border-spacing: 0px; margin: 0ex;}
850
851 /* plugin BoxRight */
852 div.boxright {
853   background-color: #e9fbff;
854   width: 200px; 
855   right: 10px;
856   padding: 0.5em; 
857   float: right; 
858   border: thin solid #888888; 
859   padding: 0.5em;
860 }
861
862 /* RssFeed */
863 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
864 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
865 div.itemdesc {  padding-left: 1em; }
866 div.rssitem { border-top: thin dashed #aaa; }
867 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
868
869 /* SqlResult */
870 table.sqlresult { 
871   border: 1px outset gray;
872   background: white;
873   margin: 0.5ex 0.5em;
874   padding: 1px;
875 }
876 .sqlresult tr.evenrow { background: #eee; }
877 .sqlresult tr.oddrow  { background: white; }
878 table.sqlresult td {
879   margin: 1px;
880   border: 1px solid gray;
881 }
882
883 /**
884  * TeX2png plugin
885  */
886 img.tex { 
887   border: 0ex;
888   vertical-align: middle; 
889 }
890
891 /**
892  * PhotoAlbum plugin
893  */
894 .boldsmall {
895   font-weight: bold;
896   font-size: 11px;
897 }
898
899
900 .wikiwyg_toolbar {
901     background: #D3D3D3;
902     border: 1px outset;
903     letter-spacing: 0;
904     padding: 2px;
905 }
906
907 span.wikiwyg_control_link a {
908     padding-right: 8px;
909 }
910
911 .wikiwyg_button {
912     background: #D3D3D3;
913     border: 1px solid #D3D3D3;
914     cursor: pointer;
915     width: 20px;
916     height: 20px;
917     vertical-align: bottom;
918 }
919
920 .wikiwyg_button:hover {
921     border: 1px outset;
922 }
923
924 .wikiwyg_button:active {
925     border: 1px inset;
926 }
927
928 .wikiwyg_separator {
929     background: #D3D3D3;
930     border: 1px solid #D3D3D3;
931     width: 9px;
932     height: 20px;
933     vertical-align: bottom;
934 }
935
936 .wikiwyg_selector {
937     width: 70px;
938 }
939
940 .wikiwyg_wysiwyg table {
941     border-collapse: collapse;
942     margin-bottom: .2em;
943 }
944
945 .wikiwyg_wysiwyg table td {
946     border: 1px;
947     border-style: solid;
948     padding: .2em;
949     vertical-align: top;
950 }
951
952 /* Hide the elements we put in just to get around NS4 bugs. */
953 div.br { display: none; }
954
955 /* This makes spacings in NS4 too big. */
956 .toolbar, div.toolbar { margin: 0.5ex 0ex; }
957
958 /* This breaks NS4, but is necessary for IE4. */
959 div.wikitext { width: auto; }
960
961 /**
962  * General
963  */
964 /* for NS4 */
965 img { vertical-align: baseline; }
966 input { margin: 0.1em; }
967 input.numeric { text-align: right; }
968
969 /**
970  * Wiki Forms
971  * 
972  * The div inside the wikiadmin upload form does not
973  * have a class yet, so it must be referenced indirectly
974  */
975 /* div.wikiaction, div.wikiadmin { */
976 div.wikiaction, form.wikiadmin div {
977   border-bottom: 1px solid #d8d8e7;
978   border-right:  1px solid #d8d8e7;
979   border-top:  1px solid #96a2ae;
980   border-left: 1px solid #96a2ae;
981
982   margin-top: 0.5ex;
983   margin-bottom: 0.5ex;
984   padding: 0.5ex 0.5em;
985   /* Emulate the display behaviour of a table, to shrink it's width.
986    * ie5.1Mac ignores this */
987   display: table;
988 }
989
990 /* Add space between the input field and following buttons, but not after the last button. */
991 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
992
993
994 /**
995  * Links
996   border-top:  1px solid #b2b2d1;
997   border-left: 1px solid #d2d2f1;
998   border-bottom: 1px solid #86929e;
999   border-right:  1px solid #86929e;
1000  */
1001
1002 /* Make wikiaction links look like buttons */ 
1003 a.wikiaction, a.wikiadmin, a.wikiunsafe,
1004 input.wikiaction, input.wikiadmin, input.wikiunsafe, input.button {
1005   color: black;
1006 /*
1007   border-top:  1px solid #c6d2de;
1008   border-left: 1px solid #c6d2de;
1009   border-bottom: 1px solid #494f5d;
1010   border-right:  1px solid #494f5d;
1011
1012   padding-top:    0.15ex;
1013   padding-bottom: 0.25ex;
1014   padding-left:  .5em;
1015   padding-right: .5em;
1016 */
1017   border: 1px outset;
1018   padding: 0.05ex 0.25em 0.1ex 0.25em;
1019   height: auto;
1020   width: auto;
1021   /* Prevent buttons from overlapping when the toolbar is wrapped. */
1022   line-height: 2.6ex;
1023   /*margin: 2ex 0.2em;*/
1024 }
1025
1026 div#navbuttons, div#signin, div#actionbuttons { line-height: 3.0ex; }
1027
1028 /* QuestionMark */
1029 .wikiunknown a, .named-wikiunknown a {
1030   border-top:  1px solid #c6d2de;
1031   border-left: 1px solid #c6d2de;
1032   border-bottom: 1px solid #a2a2a2;
1033   border-right:  1px solid #a2a2a2;
1034   padding-left:  1px;
1035   padding-right: 1px;
1036   padding-top: 1px;
1037   margin-right: .15em;
1038 }
1039
1040 /* Link icons */
1041 img.linkicon { vertical-align: middle; }
1042
1043
1044 /**
1045  * Edit Page & View Source
1046  */
1047 /* color: inherit; and background: inherit; display as lime in NS4 */
1048
1049 /* http://universaleditbutton.org */
1050 div#actionbuttons a#btn-edit {
1051   background:  url('images/UEB16.png') bottom left no-repeat;
1052   background-repeat: no-repeat;
1053   padding-left: 20px !important;
1054   padding-right: 0.5em !important;
1055 }
1056 /* image buttons */
1057 a.wikibutton, a.wikibutton:visited, input.wikibutton  { 
1058   background-color: white;
1059   border: 0;
1060 }
1061
1062 /**
1063  * Diff Output
1064  */
1065 .diff .prefix {
1066   position: relative;
1067   left: -1em;
1068 }
1069 /* deleted & added words */
1070 .diff del, .diff ins {
1071   padding-left: 1px;
1072   padding-right: 1px;
1073 }
1074
1075 /**
1076  * Other
1077  */
1078 /* PHP Warnings */
1079 div.errors { font-size: smaller }
1080
1081 /*
1082  * table class="boxed"
1083  * will put a border around the table (but not around the cells)
1084  *
1085  * table class="bordered"
1086  * will put a border around the table and the cells
1087  *
1088  * In both cases, the caption will be bold and centered under the table
1089  *
1090  * In both cases, the headers (th) will have a "#d8d8d8" background
1091  */
1092
1093 table.boxed, table.bordered, table.bordered th, table.bordered td {
1094     border-width: 1px;
1095     border-style: solid;
1096     border-collapse: collapse;
1097     vertical-align: top;
1098 }
1099
1100 table.boxed td, table.bordered td,
1101 table.boxed th, table.bordered th {
1102     padding-left: 5px;
1103     padding-right: 5px;
1104     padding-top: 0px;
1105     padding-bottom: 0px;
1106 }
1107
1108 table.boxed caption, table.bordered caption {
1109     text-align: center;
1110     font-weight: bold;
1111     caption-side: bottom;
1112     padding-top: 0.8em;
1113 }
1114
1115 table.boxed th, table.bordered th {
1116     font-weight: bold;
1117     background-color: #d8d8d8;
1118 }
1119
1120 #edit-public, h1.firstHeading-public, h1.firstHeading-rating-public {
1121         background-color: #ffce7b;
1122         border: 1px solid #ffa500;
1123 }
1124
1125 /* For emacs users
1126  *
1127  * Local Variables:
1128  * mode: c
1129  * c-file-style: cc-mode
1130  * End:
1131  */