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