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