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