]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/phpwiki.css
Harmonize comment banner
[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
368 .transclusion-title {
369   text-align: right;
370   font-style: oblique;
371   font-size:  smaller;
372   text-decoration: underline;
373   margin-bottom: 0.25ex;
374   margin-right:  0.25em;
375
376 .transclusion, .wiki-edithelp {
377   font-size: smaller;
378 }
379 .transclusion {
380   border: 1px solid gray;
381   padding-left:  0.8em; 
382   padding-right: 0.8em; 
383   padding-top:     0px;
384   padding-bottom:  0px;
385   margin-left:   0.25em;
386   margin-right:  0.25em;
387   margin-bottom: 0.1ex;
388 }
389 .wiki-edithelp {
390   background: white;
391   border: medium solid #fff8dc; /* darker ivory */
392   padding-left:  0.5em;
393   padding-right: 0.5em;
394   padding-top:    0.75ex;
395   padding-bottom: 0.75ex;
396   margin-left:  0;
397   margin-right: 0;
398   margin-top: 1ex;
399   margin-bottom: 1ex;
400 }
401 .wiki-edithelp .wiki {
402   /* color: #5454ff;*/
403 }
404 .wiki-edithelp p {
405   font-family: Arial, Helvetica, sans-serif;
406   padding-left:  0.5em;
407   padding-right: 0.5em;
408   padding-top:    0.5ex;
409   padding-bottom: 0.5ex;
410   margin: 0;
411 }
412
413
414 /**
415  * Calendar plugin
416  */
417 table.cal {
418   border: 1px outset gray;
419   background: white;
420   margin: 0.5ex 0.5em;
421   padding: 1px;
422   /* For Mozilla */
423   empty-cells: hide;
424
425
426 /* cells */
427 table.cal td {
428   background: white;
429   text-align: right;
430
431
432 /* Month-name header */
433 table.cal-header { font-size: larger; }
434 table.cal-header tr, table.cal-header td { text-align: center; }
435 .cal-arrow {
436   font-weight: bold;
437   text-decoration: none;
438 }
439
440 /* Day-names header */
441 table.cal tbody tr .cal-dayname {  }
442 .cal-dayname td {
443   text-align: center;
444   font-size: smaller;
445   text-decoration: underline;
446 }
447
448 /* Individual days */
449 a.cal-hide { text-decoration: none; }
450
451 /* Today */
452  /* cell */
453 table.cal td.cal-today {
454   margin: 1px;
455   border: 1px solid gray;
456 }
457  /* text */
458 table.cal td.cal-today a.cal-hide {  }
459
460 /**
461  * Diff Output
462  */
463 /* main box */
464 .diff {
465   margin-top:    1ex;
466   margin-bottom: 0.5ex;
467   background: white;
468   /* Netscape 4 requires this 1px border.
469      Without it, the paper borders below cause
470      the white background to disappear. */
471   border: 1px #ccc solid;
472   color: black;
473   border-top: 1px solid #494f5d;
474   border-left:  1px solid #494f5d;
475   border-bottom:  1px solid #c6d2de;
476   border-right: 1px solid #c6d2de;
477   padding-top:    1px;
478   padding-bottom: 1px;
479   padding-left:  .125em;
480   padding-right: .125em;
481   padding: 0;
482   /* "paper" borders */
483   /*border-top: 2px #d2d2d2 solid;
484   border-left:  2px #b2b2b2 solid;
485   border-bottom:  2px #e8e6df solid;
486   border-right: 2px #e8e6df solid;*/
487 /*  padding-left:  0em; 
488   padding-bottom: 0ex;*/
489 /*  border-style: inset;*/
490   /*This breaks Netscape 4: (display does not go full width).
491    * width: auto;
492    */
493   /* I'm not sure what the intent of this was, but it's
494    *  not valid CSS: */
495   /* display: editarea; */
496   clear: both;
497 }
498 .diff .block {
499   background: #ddd;
500   padding-left: 1em;
501   /* for NS4 */
502   /*border: none;*/
503 }
504
505 /* individual blocks */
506 .diff .context {
507   background: white;
508   /* for NS4 */
509   border: none;
510 }
511 /* entire difftextblock */
512 .difftext {
513   margin-top:    0;
514   margin-bottom: 0;
515   background: white;
516   /* Netscape 4 requires this 1px border.
517      Without it, the paper borders below cause
518      the white background to disappear. */
519   border: 1px black solid;
520   /* "paper" borders */
521   border-top:  1px #e8e6df solid;
522   border-left: 1px #e8e6df solid;
523   border-bottom: 1px #d2d2d2 solid;
524   border-right:  1px #b2b2b2 solid;
525   padding-left:  0em; 
526   padding-right: 0em;
527   padding-top:    0ex;
528   padding-bottom: 0ex;
529   /*This breaks Netscape 4: (display does not go full width).
530    * width: auto;
531    */
532   clear: both;
533 }
534 /* + - line prefix */
535 .diff .block tt {
536   font-weight: normal;
537   font-family: monospace;
538   color: black;
539   /* for NS4 */
540   margin-left: 0;
541   border: none;
542 }
543 /* changed words */
544 .diff del, .diff ins {
545   font-weight: bold;
546   text-decoration: none;
547 }
548
549 /* blocks containing deleted or added words */
550 .diff .original, .diff .deleted,
551 .diff .final, .diff .added {
552   background: white;
553 }
554 /* blocks containing deleted words */
555 .diff .original, .diff .deleted {
556   background: #fcc;
557   /* for NS4 */
558   border: none;
559 }
560 /* blocks containing added words */
561 .diff .final, .diff .added {
562   background: #cfc;
563   /* for NS4 */
564   border: none;
565 }
566
567 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
568 /* deleted words */
569 .diff del { background: #f99; }
570 /* added words */
571 .diff ins { background: #9f9; }
572
573
574 /**
575  * PageHistory, Info
576  */
577 td.pageinfo { font-weight: bold; }
578 .pageinfo-minoredit, .pageinfo-authorid {
579   font-size: smaller;
580   font-style: oblique;
581 }
582
583
584 /**
585  * Other
586  */
587 .printer, .no-css { display: none; }
588
589 /* PHP Warnings */
590 div.errors {
591   color: black;
592   background: #eee;
593   margin-top:    1em;
594   margin-bottom: 1em;
595   padding-left:  0.8em; 
596   padding-right: 0.8em; 
597   padding-top:    0.8ex;
598   padding-bottom: 0;
599   border: medium solid red;
600   clear: both;
601 }
602 .errors {
603   color: red;
604   margin:  0;
605   padding: 0;
606   text-decoration: underline;
607 }
608 div.warning {
609   color: black;
610   background: #eee;
611   margin-top:    1em;
612   margin-bottom: 1em;
613   padding-left:  0.8em; 
614   padding-right: 0.8em; 
615   padding-top:    0.8ex;
616   padding-bottom: 0;
617   border: thin solid blue;
618   clear: both;
619 }
620 .error { font-family: monospace; font-size: 120%; }
621 .error ul { font-family: monospace; }
622
623 /* Debug */
624 .debug {
625   color: black;
626   background: white;
627   font-family: monospace;
628   font-size: smaller;
629   margin: 1ex 0;
630   padding: 0.5ex 0.5em;
631   border: medium solid #fff8dc; /* darker ivory */
632 }
633
634 /* Hints */
635 .hint {
636   color: black;
637   background: #eeeeee;
638    /* font-size: smaller; */
639   font-style: italic;
640   margin-left: 3em;
641   padding: 0.5ex 0.5em;
642   border: thin solid #aaaaaa;
643 }
644 span.hint {
645   padding: 0;
646 }
647
648 /* Disabled Plugins */
649 .disabled-plugin
650 {
651   clear: both;
652   margin: 1ex 0;
653   padding: 0;
654 }
655 .disabled-plugin .title {
656   color: #400;
657   background-color: inherit;
658   font-size: x-small;
659   text-align: right;
660   padding: 0 0.5em;
661 }
662 .disabled-plugin pre {
663   color: black;
664   background: #ddd;
665   margin: 0;
666   padding: 0.3ex 0.5em;
667 }
668
669 /* "(Redirected from ...)" message. */
670 span.redirectfrom {
671   font-size: small;
672   font-style: oblique;
673   font-weight: normal;
674   padding-left: 1em;
675 }
676
677 /*
678  * "DL tables"
679  */
680 .wiki-dl-table {
681   border-collapse: collapse;
682   border: 2px #444 solid;
683 }
684 .wiki-dl-table tr {
685   border-top: 2px #444 solid;
686   border-bottom: 2px #444 solid;
687   border-left: none; 
688   border-right: none; 
689 }
690 .wiki-dl-table th,
691 .wiki-dl-table td {
692   padding: 0.25em 0.5em;
693 }
694 .wiki-dl-table th {
695   vertical-align: top;
696   text-align: right;
697   border-right: 1px #444 solid;
698   border-left: none;
699   border-top: none;
700   border-bottom: none;
701 }
702 .wiki-dl-table td {
703   border: none;
704 }
705
706 /*
707  * "E-mail" style blockquote
708  */
709 blockquote.mail-style-quote {
710   border-left: medium #284 solid;
711   padding-left: 1em;
712   margin-left: 0;
713   margin-right: 0;
714 }
715 .mail-style-quote blockquote.mail-style-quote {
716   margin-left: -0.6em;
717 }
718
719
720 /*
721  * wikiblog
722  */
723 .floatleft { float: left; }
724 .floatright { float: right; }
725
726 div.wikiblog {
727   /* border: thin black solid; */
728   margin: 1ex 2em;
729   padding: 0 0;
730 }
731 div.wikiblog > div {
732   margin: 0 0;
733   padding: 0.5ex 0.5em;
734 }
735 div.wikiblog-header {
736   /* background-color: #ccf; */
737 }
738 div.wikiblog > div.wikiblog-footer {
739   /* background-color: #eee; */
740   padding: 0.2ex 0.5em;
741 }
742 h3.wikiblog-summary {
743   font-size: medium;
744   font-weight: bold;
745   margin: 0 0 1ex 0;
746 }
747
748 div.wikiblog.wikiblog-form {
749   /* background-color: #eee; */
750 }
751
752 table.wikiblog-form {
753   width: auto;
754   border-collapse: collapse;
755   margin: 0.25em 0;
756 }
757 .wikiblog-form caption {
758   /* background-color: #ccf; */
759   caption-side: top;
760   font-weight: bold;
761   text-align: left;
762   padding: 0.5ex 0.5em;
763 }
764 .wikiblog-form th {
765   vertical-align: top;
766   text-align: right;
767   padding: 0 0 0.3em 0.5em;
768 }
769 .wikiblog-form td {
770   padding: 0.25em 0.5em;
771 }
772 .wikiblog-form td.submit-button {
773   padding: 0;
774 }
775 .wikiblog-form input[type=text],
776 .wikiblog-form textarea {
777   margin: 0 0;
778   width: 100%;
779 }
780 div.wikicomment div.wikicomment-footer {
781   padding: 0.2ex 0.5em;
782 }
783 div.wikicomment div.wikicomment-footer named-wiki {
784   font-size: small;
785 }
786 table.interwiki-map {
787   margin: 1em 2em;
788 }
789 .interwiki-map th {
790   text-decoration: underline;
791   text-align: left;
792   padding-left: 1em;
793 }
794 .interwiki-map td.interwiki-url {
795   padding-left: 2em;
796 }
797 .interwiki-map th.interwiki-url {
798   padding-left: 3em;
799 }
800
801 .dialog {
802   background-color: #cdf;
803   color: black;
804   margin: 2em auto 2em auto;
805   border: thin black solid;
806   width: 50%;
807 }
808 .dialog h1, .dialog p, .dialog div {
809   text-align: center;
810 }
811 .dialog h1 {
812   font-size: large;
813   margin: 0.5em 0 1em 0;
814 }
815 .dialog div.message {
816   background-color: white;
817   color: black;
818   color: black;
819   margin: 0 1em;
820   padding: 0.5em 0.5em;
821 }
822 .dialog p.buttons {
823   margin: 1em 0 0.5em 0;
824 }
825
826
827 .clear-floats {
828   clear: both;
829 }
830
831
832 /* postnuke css:*/
833 .gensmall{font-size:10px}
834 .genmed{font-size:11px}
835 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
836 /* Main table cell colours and backgrounds */
837 td.row1{background:#eaedf4;color:#000000}
838 td.row2{background:#d9e2ec;color:#000000}
839 td.row3{background:#cad9ea;color:#000000}
840 td.spacerow{background:#cad9ea;color:#000000}
841
842 /* This is the outline round the main forum tables */
843 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
844
845 /* Sidebar */
846 .box { background:#ffffff; border: 1px solid silver }
847 .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;}
848 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
849 .box-data .wiki { font-weight: normal; }
850 td.sidebar { border-spacing: 0px; margin: 0ex;}
851
852 /* plugin BoxRight */
853 div.boxright {
854   background-color: #e9fbff;
855   width: 200px; 
856   right: 10px;
857   padding: 0.5em; 
858   float: right; 
859   border: thin solid #888888; 
860   padding: 0.5em;
861 }
862
863 /* RssFeed */
864 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
865 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
866 div.itemdesc {  padding-left: 1em; }
867 div.rssitem { border-top: thin dashed #aaa; }
868 a.rssicon { font-weight:normal; font-size:small; vertical-align:middle; }
869
870 /* SqlResult */
871 table.sqlresult { 
872   border: 1px outset gray;
873   background: white;
874   margin: 0.5ex 0.5em;
875   padding: 1px;
876 }
877 .sqlresult tr.evenrow { background: #eee; }
878 .sqlresult tr.oddrow  { background: white; }
879 table.sqlresult td {
880   margin: 1px;
881   border: 1px solid gray;
882 }
883
884 /**
885  * TeX2png plugin
886  */
887 img.tex { 
888   border: 0ex;
889   vertical-align: middle; 
890 }
891
892 /**
893  * PhotoAlbum plugin
894  */
895 .boldsmall {
896   font-weight: bold;
897   font-size: 11px;
898 }
899
900
901 .wikiwyg_toolbar {
902     background: #D3D3D3;
903     border: 1px outset;
904     letter-spacing: 0;
905     padding: 2px;
906 }
907
908 span.wikiwyg_control_link a {
909     padding-right: 8px;
910 }
911
912 .wikiwyg_button {
913     background: #D3D3D3;
914     border: 1px solid #D3D3D3;
915     cursor: pointer;
916     width: 20px;
917     height: 20px;
918     vertical-align: bottom;
919 }
920
921 .wikiwyg_button:hover {
922     border: 1px outset;
923 }
924
925 .wikiwyg_button:active {
926     border: 1px inset;
927 }
928
929 .wikiwyg_separator {
930     background: #D3D3D3;
931     border: 1px solid #D3D3D3;
932     width: 9px;
933     height: 20px;
934     vertical-align: bottom;
935 }
936
937 .wikiwyg_selector {
938     width: 70px;
939 }
940
941 .wikiwyg_wysiwyg table {
942     border-collapse: collapse;
943     margin-bottom: .2em;
944 }
945
946 .wikiwyg_wysiwyg table td {
947     border: 1px;
948     border-style: solid;
949     padding: .2em;
950     vertical-align: top;
951 }
952
953 /* Hide the elements we put in just to get around NS4 bugs. */
954 div.br { display: none; }
955
956 /* This makes spacings in NS4 too big. */
957 .toolbar, div.toolbar { margin: 0.5ex 0ex; }
958
959 /* This breaks NS4, but is necessary for IE4. */
960 div.wikitext { width: auto; }
961
962 /**
963  * General
964  */
965 /* for NS4 */
966 img { vertical-align: baseline; }
967 input { margin: 0.1em; }
968 input.numeric { text-align: right; }
969
970 /**
971  * Wiki Forms
972  * 
973  * The div inside the wikiadmin upload form does not
974  * have a class yet, so it must be referenced indirectly
975  */
976 /* div.wikiaction, div.wikiadmin { */
977 div.wikiaction, form.wikiadmin div {
978   border-bottom: 1px solid #d8d8e7;
979   border-right:  1px solid #d8d8e7;
980   border-top:  1px solid #96a2ae;
981   border-left: 1px solid #96a2ae;
982
983   margin-top: 0.5ex;
984   margin-bottom: 0.5ex;
985   padding: 0.5ex 0.5em;
986   /* Emulate the display behaviour of a table, to shrink it's width.
987    * ie5.1Mac ignores this */
988   display: table;
989 }
990
991 /* Add space between the input field and following buttons, but not after the last button. */
992 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
993
994
995 /**
996  * Links
997   border-top:  1px solid #b2b2d1;
998   border-left: 1px solid #d2d2f1;
999   border-bottom: 1px solid #86929e;
1000   border-right:  1px solid #86929e;
1001  */
1002
1003 /* Make wikiaction links look like buttons */ 
1004 a.wikiaction, a.wikiadmin, a.wikiunsafe,
1005 input.wikiaction, input.wikiadmin, input.wikiunsafe, input.button {
1006   color: black;
1007 /*
1008   border-top:  1px solid #c6d2de;
1009   border-left: 1px solid #c6d2de;
1010   border-bottom: 1px solid #494f5d;
1011   border-right:  1px solid #494f5d;
1012
1013   padding-top:    0.15ex;
1014   padding-bottom: 0.25ex;
1015   padding-left:  .5em;
1016   padding-right: .5em;
1017 */
1018   border: 1px outset;
1019   padding: 0.05ex 0.25em 0.1ex 0.25em;
1020   height: auto;
1021   width: auto;
1022   /* Prevent buttons from overlapping when the toolbar is wrapped. */
1023   line-height: 2.6ex;
1024   /*margin: 2ex 0.2em;*/
1025 }
1026
1027 div#navbuttons, div#signin, div#actionbuttons { line-height: 3.0ex; }
1028
1029 /* QuestionMark */
1030 .wikiunknown a, .named-wikiunknown a {
1031   border-top:  1px solid #c6d2de;
1032   border-left: 1px solid #c6d2de;
1033   border-bottom: 1px solid #a2a2a2;
1034   border-right:  1px solid #a2a2a2;
1035   padding-left:  1px;
1036   padding-right: 1px;
1037   padding-top: 1px;
1038   margin-right: .15em;
1039 }
1040
1041 /* Link icons */
1042 img.linkicon { vertical-align: middle; }
1043
1044
1045 /**
1046  * Edit Page & View Source
1047  */
1048 /* color: inherit; and background: inherit; display as lime in NS4 */
1049
1050 /* http://universaleditbutton.org */
1051 div#actionbuttons a#btn-edit {
1052   background:  url('images/UEB16.png') bottom left no-repeat;
1053   background-repeat: no-repeat;
1054   padding-left: 20px !important;
1055   padding-right: 0.5em !important;
1056 }
1057 /* image buttons */
1058 a.wikibutton, a.wikibutton:visited, input.wikibutton  { 
1059   background-color: white;
1060   border: 0;
1061 }
1062
1063 /**
1064  * Diff Output
1065  */
1066 .diff .prefix {
1067   position: relative;
1068   left: -1em;
1069 }
1070 /* deleted & added words */
1071 .diff del, .diff ins {
1072   padding-left: 1px;
1073   padding-right: 1px;
1074 }
1075
1076 /**
1077  * Other
1078  */
1079 /* PHP Warnings */
1080 div.errors { font-size: smaller }
1081
1082 /*
1083  * table class="boxed"
1084  * will put a border around the table (but not around the cells)
1085  *
1086  * table class="bordered"
1087  * will put a border around the table and the cells
1088  *
1089  * In both cases, the caption will be bold and centered under the table
1090  *
1091  * In both cases, the headers (th) will have a "#d8d8d8" background
1092  */
1093
1094 table.boxed, table.bordered, table.bordered th, table.bordered td {
1095     border-width: 1px;
1096     border-style: solid;
1097     border-collapse: collapse;
1098     vertical-align: top;
1099 }
1100
1101 table.boxed td, table.bordered td,
1102 table.boxed th, table.bordered th {
1103     padding-left: 5px;
1104     padding-right: 5px;
1105     padding-top: 0px;
1106     padding-bottom: 0px;
1107 }
1108
1109 table.boxed caption, table.bordered caption {
1110     text-align: center;
1111     font-weight: bold;
1112     caption-side: bottom;
1113     padding-top: 0.8em;
1114 }
1115
1116 table.boxed th, table.bordered th {
1117     font-weight: bold;
1118     background-color: #d8d8d8;
1119 }
1120
1121 #edit-public, h1.firstHeading-public, h1.firstHeading-rating-public {
1122         background-color: #ffce7b;
1123         border: 1px solid #ffa500;
1124 }
1125
1126 /* For emacs users
1127  *
1128  * Local Variables:
1129  * mode: c
1130  * c-file-style: cc-mode
1131  * End:
1132  */