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