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