]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Wordpress/Wordpress.css
You are encouraged to offer a generic family as a last alternative
[SourceForge/phpwiki.git] / themes / Wordpress / Wordpress.css
1 /**
2  * $Id$
3  *
4  * PhpWiki's Wordpress style sheet contributed by Mike Pickering
5  */
6
7 /* 
8         Blue-Fade Theme 
9         Modified 2004-01-20 by Alex King (http://www.alexking.org/)
10
11         based on:
12         Default WordPress by Dave Shea || http://mezzoblue.com
13         Modifications by Matthew Mullenweg || http://photomatt.net
14         This is just a basic layout, with only the bare minimum defined.
15         Please tweak this and make it your own. :)
16 */
17
18 /* This stuff was copied straight out of portland.css */
19
20 body {
21   color : black;
22   background : white;
23 }
24
25 img {
26   border : 0 none;
27 }
28
29 .wiki-edithelp {
30   font-size : smaller;
31 }
32
33 input.numeric {
34   text-align: right;
35 }
36
37 /* Mozilla RecentChanges Sidebar */
38 body.sidebar {
39   font-size: smaller;
40   margin: 0.5em;
41 }
42 body.sidebar div.wikitext ul { padding-left: 1em; }
43 body.sidebar h2 { margin-top: 0; }
44
45 /* End of stuff copied from portland.css */
46
47
48 /* This stuff was added to get the "look" right, and wasn't part of the
49  * goal to match WordPress.  If you're changing the WordPress styles, these
50  * items don't have a WordPress equivalent, so you might be able to leave them
51  * as-is.  */
52
53 .wikitext .wiki, .wikitext .named-wiki {
54         font-weight: bold;
55 }
56
57 .wikitext {
58         margin: 30px 13em 0 3em;
59         padding-right: 20px;
60 }
61
62 .cal-hide {
63         color: #999;
64 }
65
66 .cal-hide, .cal-day a {
67         font-size: smaller;
68 }
69
70 .cal-day a, .cal-hide a {
71         font-weight: bold;
72 }
73
74 hr {
75         border-bottom: 1px dotted #ccc;
76         height: 0px;
77 }
78
79 /* End of stuff added for "look" */
80
81
82 /* This was copied (nearly verbatim) from a WordPress style.css */
83
84 body {
85         background: #fff url(images/content-background.png) repeat-x;
86         font-family: Verdana, Geneva, sans-serif;
87         margin: 0;
88         padding: 0;
89         color: black;
90 }
91
92 a {
93         color: #036;
94         text-decoration: none;  /* This was added */
95 }
96  
97 a:visited {
98         color: #369;
99 }
100
101 a:hover {
102         color: #69c;
103 }
104
105 #header {
106         background: #036 url(images/header-background.png) repeat-x;
107         border-bottom: 1px solid #69c;
108         font: italic normal 230% 'Times New Roman', Times, serif;
109         letter-spacing: 0.2em;
110         margin: 0;
111         padding: 15px 10px 15px 30px;
112         color: #69c; /* added for subpage headings */
113 }
114
115 #header a {
116         color: #fff;
117         text-decoration: none;
118 }
119
120 #header a:hover {
121         text-decoration: underline;
122 }
123
124 /* End of stuff copied (almost) verbatim */
125
126
127 /* The remainder of this file contains things that "sort-of" had equivalents
128  * between WordPress and PhpWiki.  See comments for specifics.  */
129
130 /* All PhpWiki #actionbar items are from WordPress #menu items */
131 #actionbar {
132         background: #e8e8e8 url(images/menu-background.png) repeat-x;
133         border-left: 1px solid #9cf;
134         border-bottom: 1px solid #9cf;
135         padding: 30px 0 20px 20px;
136         position: absolute;
137         right: 0;
138         top: 0;
139         width: 11em;
140 }
141
142 #actionbar form {
143         margin: 0;
144 }
145
146 #actionbar input {
147         width: 80%;
148 }
149
150 /* Genericize it a little for other input fields */
151 input {
152         background: #fff;
153         border: 1px solid #999;
154 /*        width: 80%; */
155         font-size: smaller;
156 }
157
158 #actionbar ul {
159         color: #369;
160         font-weight: bold;
161         list-style-type: none;
162         margin: 0;
163         padding-left: 3px;
164 }
165
166 #actionbar ul li {
167         font: italic normal 100% 'Times New Roman', Times, serif;
168         letter-spacing: 0.1em;
169         margin-top: 10px;
170         padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
171 }
172
173 #actionbar ul ul {
174         list-style-type: none;
175         font-variant: normal;
176         font-weight: normal;
177         line-height: 100%;
178         margin: 0;
179         padding: 0;
180         text-align: left;
181 }
182
183 #actionbar ul ul li {
184         border: 0;
185         font: normal 70% Verdana, sans-serif;
186         letter-spacing: 0;
187         margin-top: 0;
188         padding: 0 0 1px 12px;
189 }
190
191 #actionbar ul ul li a {
192         color: #036;
193         text-decoration: none;
194 }
195
196 #actionbar ul ul li a:hover {
197         border-bottom: 1px solid #69c;
198 }
199
200
201 /* All PhpWiki .cal items are from WordPress #wp-calendar items */
202 .cal {
203         background: #fff;
204         border: 1px solid #ddd;
205         empty-cells: show;
206 /*        font-size: 14px; */
207         margin: 0 0 0 -5px;
208 /*        width: 90%; */
209 }
210
211 .cal a {
212         /* display: block; */
213         text-decoration: none;
214         font-style: normal;
215 }
216
217 .cal a:hover {
218         background: #e8e8e8;
219         color: #333;
220 }
221
222 .cal-header, .cal-dayname td {
223         color: #999;
224 /*        font: normal 11px Verdana, Geneva, sans-serif; */
225         padding: 1px 1px;
226 /*        text-align: right; */
227 }
228
229 /* from wp-calendar th  (with changes) */
230 .cal-dayname td {
231         font-size: smaller;
232         color: #69c;
233 }
234
235 .cal td.pad:hover {
236         background: #fff;
237 }
238
239 .cal td:hover, .cal-today {
240         background: #e8e8e8;
241         color: #666;
242 }
243
244 /* from #wp-calendar th */
245 .cal-header {
246         color: #69c;
247         font-style: normal;
248         text-transform: capitalize;
249 }
250
251 th.gridbutton {
252   background: #e8e8e8 url(images/menu-background.png) repeat-x;
253   color: black;
254   font-family: Tahoma, Arial, Helvetica, sans-serif;
255   font-size: small;
256   font-weight: normal;
257   margin: 5px 0px;
258   max-height: 24px;
259   white-space: nowrap;
260   padding: 5px 0px 5px 0px;
261   border-width: 1px;
262   border-style: solid;
263   border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
264 }
265 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
266   text-decoration: none;
267   font-size: small;
268   font-weight: normal;
269   font-family: Tahoma, Arial, Helvetica, sans-serif;
270   color: black;
271 }
272
273 .wikipaging { 
274   font-size: x-small;
275 }
276
277 .toolbar {
278   padding: 0;
279   margin:  0;
280 }
281 .edit-toolbar {
282   padding: 0;
283   margin:  0;
284 }
285 .edit-toolbar img, .edit-toolbar input {
286   background-color: #fff;
287   border: 1px solid ButtonFace;
288 }
289 #editarea-size {
290   margin-top: 1ex;
291   text-align: right;
292   font-size: smaller;
293 }
294 #search-replace {
295   margin-top: 1ex;
296   text-align: left;
297   font-size: smaller;
298 }
299 #toolbar { padding:0px; }
300
301 /**
302  * Search Results
303  */
304 .search-context { background: white; font-style: oblique; }
305 .search-term {
306   background: yellow;
307   font-weight: normal;
308 }
309 #LSResult {
310   position: absolute;
311   text-align: left;
312   display: none;
313   z-index: 100;
314   background-color: white;
315   border: 1px solid #d0d0d0; 
316   font-size: 9px;
317   overflow: hidden;
318 }
319 #LSHighlight {
320   background-color: #f08000;
321 }
322 #LSResult .evenrow {
323   background-color: #f0f0f0;
324
325 #LSREsult .oddrow {
326
327 .LSEnd {
328   text-align: right;
329 }
330 .LSRow:hover {
331   background-color: white;
332 }
333 .LSRow {
334   padding: 1px;
335
336 ul.LSRes {
337   margin: 0px;
338   padding: 0px;
339 }
340 li.LSRow {
341   margin: 0px;
342   list-style-image: none;
343 }
344
345 /* IncludePage plugin */
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:     0px;
362   padding-bottom:  0px;
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   /* Netscape 4 requires this 1px border.
447      Without it, the paper borders below cause
448      the white background to disappear. */
449   border: 1px #ccc solid;
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   /* "paper" borders */
461   /*border-top: 2px #d2d2d2 solid;
462   border-left:  2px #b2b2b2 solid;
463   border-bottom:  2px #e8e6df solid;
464   border-right: 2px #e8e6df solid;*/
465 /*  padding-left:  0em; 
466   padding-bottom: 0ex;*/
467 /*  border-style: inset;*/
468   /*This breaks Netscape 4: (display does not go full width).
469    * width: auto;
470    */
471   /* I'm not sure what the intent of this was, but it's
472    *  not valid CSS: */
473   /* display: editarea; */
474   clear: both;
475 }
476 .diff .block {
477   background: #ddd;
478   padding-left: 1em;
479   /* for NS4 */
480   /*border: none;*/
481 }
482
483 /* individual blocks */
484 .diff .context {
485   background: white;
486   /* for NS4 */
487   border: none;
488 }
489 /* entire difftextblock */
490 .difftext {
491   margin-top:    0;
492   margin-bottom: 0;
493   background: white;
494   /* Netscape 4 requires this 1px border.
495      Without it, the paper borders below cause
496      the white background to disappear. */
497   border: 1px black solid;
498   /* "paper" borders */
499   border-top:  1px #e8e6df solid;
500   border-left: 1px #e8e6df solid;
501   border-bottom: 1px #d2d2d2 solid;
502   border-right:  1px #b2b2b2 solid;
503   padding-left:  0em; 
504   padding-right: 0em;
505   padding-top:    0ex;
506   padding-bottom: 0ex;
507   /*This breaks Netscape 4: (display does not go full width).
508    * width: auto;
509    */
510   clear: both;
511 }
512 /* + - line prefix */
513 .diff .block tt {
514   font-weight: normal;
515   font-family: monospace;
516   color: black;
517   /* for NS4 */
518   margin-left: 0;
519   border: none;
520 }
521 /* changed words */
522 .diff del, .diff ins {
523   font-weight: bold;
524   text-decoration: none;
525 }
526
527 /* blocks containing deleted or added words */
528 .diff .original, .diff .deleted,
529 .diff .final, .diff .added {
530   background: white;
531 }
532 /* blocks containing deleted words */
533 .diff .original, .diff .deleted {
534   background: #fcc;
535   /* for NS4 */
536   border: none;
537 }
538 /* blocks containing added words */
539 .diff .final, .diff .added {
540   background: #cfc;
541   /* for NS4 */
542   border: none;
543 }
544
545 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
546 /* deleted words */
547 .diff del { background: #f99; }
548 /* added words */
549 .diff ins { background: #9f9; }
550
551
552 /**
553  * PageHistory, Info
554  */
555 td.pageinfo { font-weight: bold; }
556 .pageinfo-minoredit, .pageinfo-authorid {
557   font-size: smaller;
558   font-style: oblique;
559 }
560
561
562 /**
563  * Other
564  */
565 .printer, .no-css { display: none; }
566
567 /* PHP Warnings */
568 div.errors {
569   color: black;
570   background: #eee;
571   margin-top:    1em;
572   margin-bottom: 1em;
573   padding-left:  0.8em; 
574   padding-right: 0.8em; 
575   padding-top:    0.8ex;
576   padding-bottom: 0;
577   border: medium solid red;
578   clear: both;
579 }
580 h4.errors {
581   color: red;
582   margin:  0;
583   padding: 0;
584   text-decoration: underline;
585 }
586 div.warning {
587   color: black;
588   background: #eee;
589   margin-top:    1em;
590   margin-bottom: 1em;
591   padding-left:  0.8em; 
592   padding-right: 0.8em; 
593   padding-top:    0.8ex;
594   padding-bottom: 0;
595   border: thin solid blue;
596   clear: both;
597 }
598 .error { font-family: monospace; font-size: 120%; }
599 .error ul { font-family: monospace; }
600
601 /* Debug */
602 .debug {
603   color: black;
604   background: white;
605   font-family: monospace;
606   font-size: smaller;
607   margin: 1ex 0;
608   padding: 0.5ex 0.5em;
609   border: medium solid #fff8dc; /* darker ivory */
610 }
611
612 /* Hints */
613 .hint {
614   color: black;
615   background: #eeeeee;
616    /* font-size: smaller; */
617   font-style: italic;
618   margin-left: 3em;
619   padding: 0.5ex 0.5em;
620   border: thin solid #aaaaaa;
621 }
622 span.hint {
623   padding: 0;
624 }
625
626 /* Disabled Plugins */
627 .disabled-plugin
628 {
629   clear: both;
630   margin: 1ex 0;
631   padding: 0;
632 }
633 .disabled-plugin .title {
634   color: #400;
635   background-color: inherit;
636   font-size: x-small;
637   text-align: right;
638   padding: 0 0.5em;
639 }
640 .disabled-plugin pre {
641   color: black;
642   background: #ddd;
643   margin: 0;
644   padding: 0.3ex 0.5em;
645 }
646
647 /* "(Redirected from ...)" message. */
648 span.redirectfrom {
649   font-size: small;
650   font-style: oblique;
651   font-weight: normal;
652   padding-left: 1em;
653 }
654
655
656 /*
657  * "DL tables"
658  */
659 .wiki-dl-table {
660   border-collapse: collapse;
661   border: 2px #444 solid;
662 }
663 .wiki-dl-table tr {
664   border-top: 2px #444 solid;
665   border-bottom: 2px #444 solid;
666   border-left: none; 
667   border-right: none; 
668 }
669 .wiki-dl-table th,
670 .wiki-dl-table td {
671   padding: 0.25em 0.5em;
672 }
673 .wiki-dl-table th {
674   vertical-align: top;
675   text-align: right;
676   border-right: 1px #444 solid;
677   border-left: none;
678   border-top: none;
679   border-bottom: none;
680 }
681 .wiki-dl-table td {
682   border: none;
683 }
684
685 /*
686  * "E-mail" style blockquote
687  */
688 blockquote.mail-style-quote {
689   border-left: medium #284 solid;
690   padding-left: 1em;
691   margin-left: 0;
692   margin-right: 0;
693 }
694 .mail-style-quote blockquote.mail-style-quote {
695   margin-left: -0.6em;
696 }
697
698
699 /*
700  * wikiblog
701  */
702 .floatleft { float: left; }
703 .floatright { float: right; }
704
705 div.wikiblog {
706   /* border: thin black solid; */
707   margin: 1ex 2em;
708   padding: 0 0;
709 }
710 div.wikiblog > div {
711   margin: 0 0;
712   padding: 0.5ex 0.5em;
713 }
714 div.wikiblog-header {
715   /* background-color: #ccf; */
716 }
717 div.wikiblog > div.wikiblog-footer {
718   /* background-color: #eee; */
719   padding: 0.2ex 0.5em;
720 }
721 h3.wikiblog-summary {
722   font-size: medium;
723   font-weight: bold;
724   margin: 0 0 1ex 0;
725 }
726
727 div.wikiblog.wikiblog-form {
728   /* background-color: #eee; */
729 }
730
731 table.wikiblog-form {
732   width: auto;
733   border-collapse: collapse;
734   margin: 0.25em 0;
735 }
736 .wikiblog-form caption {
737   /* background-color: #ccf; */
738   caption-side: top;
739   font-weight: bold;
740   text-align: left;
741   padding: 0.5ex 0.5em;
742 }
743 .wikiblog-form th {
744   vertical-align: top;
745   text-align: right;
746   padding: 0 0 0.3em 0.5em;
747 }
748 .wikiblog-form td {
749   padding: 0.25em 0.5em;
750 }
751 .wikiblog-form td.submit-button {
752   padding: 0;
753 }
754 .wikiblog-form input[type=text],
755 .wikiblog-form textarea {
756   margin: 0 0;
757   width: 100%;
758 }
759 div.wikicomment div.wikicomment-footer {
760   padding: 0.2ex 0.5em;
761 }
762 div.wikicomment div.wikicomment-footer named-wiki {
763   font-size: small;
764 }
765 table.interwiki-map {
766   margin: 1em 2em;
767 }
768 .interwiki-map th {
769   text-decoration: underline;
770   text-align: left;
771   padding-left: 1em;
772 }
773 .interwiki-map td.interwiki-url {
774   padding-left: 2em;
775 }
776 .interwiki-map th.interwiki-url {
777   padding-left: 3em;
778 }
779
780 .dialog {
781   background-color: #cdf;
782   color: black;
783   margin: 2em auto 2em auto;
784   border: thin black solid;
785   width: 50%;
786 }
787 .dialog h1, .dialog p, .dialog div {
788   text-align: center;
789 }
790 .dialog h1 {
791   font-size: large;
792   margin: 0.5em 0 1em 0;
793 }
794 .dialog div.message {
795   background-color: white;
796   color: black;
797   color: black;
798   margin: 0 1em;
799   padding: 0.5em 0.5em;
800 }
801 .dialog p.buttons {
802   margin: 1em 0 0.5em 0;
803 }
804
805
806 .clear-floats {
807   clear: both;
808 }
809
810
811 /* postnuke css:*/
812 .gensmall{font-size:10px}
813 .genmed{font-size:11px}
814 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
815 /* Main table cell colours and backgrounds */
816 td.row1{background:#eaedf4;color:#000000}
817 td.row2{background:#d9e2ec;color:#000000}
818 td.row3{background:#cad9ea;color:#000000}
819 td.spacerow{background:#cad9ea;color:#000000}
820
821 /* This is the outline round the main forum tables */
822 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
823
824 /* Sidebar */
825 .box { background:#ffffff; border: 1px solid silver }
826 .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;}
827 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
828 .box-data .wiki { font-weight: normal; }
829 td.sidebar { border-spacing: 0px; margin: 0ex;}
830
831 /* plugin BoxRight */
832 div.boxright {
833   background-color: #e9fbff;
834   width: 200px; 
835   right: 10px;
836   padding: 0.5em; 
837   float: right; 
838   border: thin solid #888888; 
839   padding: 0.5em;
840 }
841
842 /* RssFeed */
843 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
844 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
845 div.itemdesc {  padding-left: 1em; }
846 div.rssitem { border-top: thin dashed #aaa; }
847
848 /* SqlResult */
849 table.sqlresult { 
850   border: 1px outset gray;
851   background: white;
852   margin: 0.5ex 0.5em;
853   padding: 1px;
854 }
855 .sqlresult tr.evenrow { background: #eee; }
856 .sqlresult tr.oddrow  { background: white; }
857 table.sqlresult td {
858   margin: 1px;
859   border: 1px solid gray;
860 }
861
862 /**
863  * TeX2png plugin
864  */
865 img.tex { 
866   border: 0ex;
867   vertical-align: middle; 
868 }
869
870 /**
871  * PhotoAlbum plugin
872  */
873 .boldsmall {
874   font-weight: bold;
875   font-size: 11px;
876 }
877
878
879 .wikiwyg_toolbar {
880     background: #D3D3D3;
881     border: 1px outset;
882     letter-spacing: 0;
883     padding: 2px;
884 }
885
886 span.wikiwyg_control_link a {
887     padding-right: 8px;
888 }
889
890 .wikiwyg_button {
891     background: #D3D3D3;
892     border: 1px solid #D3D3D3;
893     cursor: pointer;
894     width: 20px;
895     height: 20px;
896     vertical-align: bottom;
897 }
898
899 .wikiwyg_button:hover {
900     border: 1px outset;
901 }
902
903 .wikiwyg_button:active {
904     border: 1px inset;
905 }
906
907 .wikiwyg_separator {
908     background: #D3D3D3;
909     border: 1px solid #D3D3D3;
910     width: 9px;
911     height: 20px;
912     vertical-align: bottom;
913 }
914
915 .wikiwyg_selector {
916     width: 70px;
917 }
918
919 .wikiwyg_wysiwyg table {
920     border-collapse: collapse;
921     margin-bottom: .2em;
922 }
923
924 .wikiwyg_wysiwyg table td {
925     border: 1px;
926     border-style: solid;
927     padding: .2em;
928     vertical-align: top;
929 }
930
931 /*
932  * table class="boxed"
933  * will put a border around the table (but not around the cells)
934  *
935  * table class="bordered"
936  * will put a border around the table and the cells
937  *
938  * In both cases, the caption will be bold and centered under the table
939  *
940  * In both cases, the headers (th) will have a "#d8d8d8" background
941  */
942
943 table.boxed, table.bordered, table.bordered th, table.bordered td {
944     border-width: 1px;
945     border-style: solid;
946     border-collapse: collapse;
947     vertical-align: top;
948 }
949
950 table.boxed td, table.bordered td,
951 table.boxed th, table.bordered th {
952     padding-left: 5px;
953     padding-right: 5px;
954     padding-top: 0px;
955     padding-bottom: 0px;
956 }
957
958 table.boxed caption, table.bordered caption {
959     text-align: center;
960     font-weight: bold;
961     caption-side: bottom;
962     padding-top: 0.8em;
963 }
964
965 table.boxed th, table.bordered th {
966     font-weight: bold;
967     background-color: #d8d8d8;
968 }
969
970 /* For emacs users
971  *
972  * Local Variables:
973  * mode: c
974  * c-file-style: cc-mode
975  * End:
976  */