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