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