]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
New CSS class: fullwidth
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2  $Id$
3
4  Classes:
5
6  div.wikitext - the transformed wiki page text.
7
8  a.wiki             - link to page in wiki.
9  a.named-wiki       - a named link to page in wiki (from e.g. [name|WikiPage]).
10  a.interwiki        - link to page in another wiki
11  span.wikipage    - page name within interwiki link.
12  a.named-interwiki  - link to page in another wiki
13  a.url              - link to external URL from wiki page.
14  a.named-url        - link to external URL from wiki page.
15
16  .wikiunknown a, .wikiunknown u
17  .named-wikiunknown a, .named-wikiunknown u
18
19  a.wikiaction
20  a.wikiadmin
21  .wikiunsafe
22
23  a.backlinks
24
25  TODO: Get rid of tables in wikiaction forms.
26  */
27
28 body { background: #fafafa url("images/bgpaper8.png"); }
29 body.edit { background: #fafafa url("images/bggranular.png"); }
30
31 body { }
32
33 /* Ensure identical vertical alignment for adjacent form buttons,
34    whether image based (Theme buttons) or not */
35 input[type=submit],
36 input[type=cancel],
37 input[type=image] { vertical-align: middle }
38
39 h1, h2, h3, .toolbar, td { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
40
41 input.button { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
42
43 input.numeric {
44   text-align: right;
45 }
46 .wikitext pre { font-family: Monaco, monospace; }
47
48 input[type=text] {
49   border-top:    1px solid #7c7c7c;
50   border-left:   1px solid #c3c3c3;
51   border-bottom: 1px solid #dddddd;
52   border-right:  1px solid #c3c3c3;
53 }
54
55 /* Add space between the input field and following buttons, but not after the last button. */
56 div.wikiaction input[type=text],
57 div.wikiadmin input[type=text],
58 form.wikiadmin input[type=file] {
59   margin-right: 0.5em;
60 }
61
62 .fullwidth { width: 100%; }
63
64 /**
65  * Wiki
66  */
67 div.wikitext {
68   background: white;
69   border-top:    1px solid #7c7c7c;
70   border-left:   1px solid #c3c3c3;
71   border-bottom: 1px solid #dddddd;
72   border-right:  1px solid #c3c3c3;
73   padding-left: 0.8em;
74   padding-right: 0.8em;
75   padding-top: 0.5em;
76   padding-bottom: 0.5em;
77   margin: 0.5ex 0px;
78   clear: both;
79 }
80
81 input.wikitext { margin:0px; }
82 input[type=text] {
83   height: 2.7ex;
84   padding: 0.4ex 0.3ex;
85 }
86
87 div.toolbar { margin: 1ex 0ex; }
88
89 /**
90  * PageTypes
91  */
92 .interwiki-map thead td {
93   background: #e8e8e8;
94   font-weight: bold;
95   font-size: smaller;
96 }
97 .interwiki-map thead td:first-child { text-decoration: underline; }
98 .interwiki-moniker { background: #eee; }
99 .interwiki-url { background: #f8f8f8; }
100
101 /* Mozilla RecentChanges Sidebar */
102 body.sidebar {
103   font-size: smaller;
104   margin: 0.5em;
105 }
106 body.sidebar div.wikitext {
107   padding: 0.5em;
108 }
109 body.sidebar div.wikitext ul { padding-left: 1em; }
110 body.sidebar h2 { margin-top: 0; }
111
112 div.error {
113   background: #eee;
114   border: 1px solid gray;
115   padding-left: 0.8em;
116   padding-right: 0.8em;
117   padding-top: 0.8ex;
118   padding-bottom: 0;
119   margin-top: 1em;
120   clear: both;
121   font-size: smaller;
122 }
123
124 /* Debug */
125 .debug {
126   color: black;
127   background: white;
128   font-family: monospace;
129   font-size: smaller;
130   margin: 1ex 0;
131   padding: 0.5ex 0.5em;
132   border: 1px solid #eee;
133 }
134
135 /*
136  * Link styles
137  */
138 /* Wiki Links */
139 a.wiki { text-decoration: none; }
140 .wiki, .named-wiki { font-weight: bold; color:#1d42be; } /*blue*/
141
142 /* Unknown links */
143 .wikiunknown a, .named-wikiunknown a, .wikiunknown U { text-decoration: none; }
144
145 .wikiunknown, .named-wikiunknown {color: #555; }
146
147 /* Interwiki links */
148 a.interwiki { text-decoration: none; }
149 .wikipage   { font-weight: bold; }
150
151 .interwiki,
152 i .interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
153
154 .interwiki .wikipage,
155 i .interwiki, em .interwiki { font-style: normal; }
156
157 /*
158  * wikiaction, wikiadmin, wikiunsafe:
159  */
160 a.wikiaction, a.wikiadmin { text-decoration: none; }
161
162 img { border: 0; }
163 img.rssicon { vertical-align: middle; }
164 img.wiki-button { vertical-align: middle; }
165 .wiki-button { border:0; }
166
167 a.wikiaction { border: 0; }
168
169 /* backlinks */
170 a.backlinks { color: #006; }
171
172 /* Make the textarea on the edit page full width */
173 textarea.wikiedit { width: 100%; margin-top: 1ex; }
174
175 p.editdate { font-size: smaller; margin-bottom: 0; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
176
177 /* Calendar plugin */
178 a.cal-hide,
179 a.cal-arrow { text-decoration: none; }
180 .cal-arrow { font-weight: bold; }
181 .cal-dayname {
182   font-size: smaller;
183   text-decoration: none;
184 }
185 table.cal td {
186   background: white;
187   border-top:    1px solid #7c7c7c;
188   border-left:   1px solid #c3c3c3;
189   border-bottom: 1px solid #dddddd;
190   border-right:  1px solid #c3c3c3;
191 }
192 table.cal-header td {
193   font-size:  larger;
194   background: white;
195   border: 0px;
196 }
197 table.cal td.cal-dayname { background: #e8e8e8; }
198 table.cal td.cal-today {
199   background:    #f4f4f4;
200   border-top:    1px solid #7c7c7c;
201   border-left:   1px solid #c3c3c3;
202   border-bottom: 1px solid #dddddd;
203   border-right:  1px solid #c3c3c3;
204 }
205
206 /* IncludePage plugin ================================================= */
207
208 .transclusion-title {
209   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
210   font-size: smaller;
211   text-decoration: underline;
212   text-align: right;
213   font-style: oblique;
214   margin-bottom: 0.25ex;
215   margin-right:  0.25em;
216 }
217
218 .transclusion {
219   background: #fdfdfd;
220   border-top:    1px solid #7c7c7c;
221   border-left:   1px solid #c3c3c3;
222   border-bottom: 1px solid #dddddd;
223   border-right:  1px solid #c3c3c3;
224   padding-left:  0.8em;
225   padding-right: 0.8em;
226   padding-top:    0px;
227   padding-bottom: 0px;
228   margin: 0.5ex ;
229   margin-left:   0.25em;
230   margin-right:  0.25em;
231   margin-bottom: 0.1ex;
232   font-size: smaller;
233 }
234
235 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
236 .wiki-edithelp .transclusion {
237   font-size: smaller;
238   background: inherit;
239   padding: 0.5ex 0.5em;
240   margin: 0.2ex 5%;
241 }
242 .wiki-edithelp .transclusion p { margin: 0; }
243 .wiki-edithelp {
244   background: white;
245   border-top:    1px solid #7c7c7c;
246   border-left:   1px solid #c3c3c3;
247   border-bottom: 1px solid #dddddd;
248   border-right:  1px solid #c3c3c3;
249   padding-left:  0.5em;
250   padding-right: 0.5em;
251   padding-top:    0.75ex;
252   padding-bottom: 0.75ex;
253   margin-left:  0;
254   margin-right: 0;
255   margin-top: 1ex;
256   margin-bottom: 1ex;
257   font-size: smaller;
258 }
259 .wiki-edithelp p {
260   font-family: Arial, Helvetica, sans-serif;
261   padding-left:  0.5em;
262   padding-right: 0.5em;
263   padding-top:    0.5ex;
264   padding-bottom: 0.5ex;
265   margin: 0;
266 }
267 div.wiki-message {
268   background: #fff url("images/bggranular.png");
269   border: solid 1px #d8d8d8;
270   padding: 6pt;
271 }
272
273 .printer { display: none; }
274
275 /**
276  * Diff Output
277  */
278 /* main box */
279 .diff {
280   background: white;
281   border-top:    1px solid #7c7c7c;
282   border-left:   1px solid #c3c3c3;
283   border-bottom: 1px solid #dddddd;
284   border-right:  1px solid #c3c3c3;
285 }
286 .diff .block {
287   background: #d8d8d8;
288 }
289
290 /* individual blocks */
291 .diff .context {
292   background: white;
293   border: none;
294 }
295 /* + - line prefix */
296 .diff .block tt.prefix {
297   font-weight: normal;
298   font-family: monospace;
299   margin-left: -1.6em;
300   color: black;
301   border: none;
302 }
303 /* changed words */
304 .diff ins { font-weight: bolder; }
305 .diff ins { text-decoration: none; }
306
307 /* blocks containing deleted or added words */
308 .diff .original,
309 .diff .deleted,
310 .diff .final,
311 .diff .added {
312   background: white;
313 }
314 /* blocks containing deleted words */
315 .diff .original:first-child,
316 .diff .deleted:first-child {
317   border-top: 2px solid #f99; /* fcc */
318 }
319 .diff .original,
320 .diff .deleted {
321   background: white;
322   border-left: 2px solid #f99; /* fcc */
323   border-right: 2px solid #f99; /* fcc */
324 }
325 .diff .original:last-child,
326 .diff .deleted:last-child {
327   border-bottom: 2px solid #f99; /* fcc */
328 }
329 /* blocks containing added words */
330 .diff .final:first-child,
331 .diff .added:first-child {
332   border-top: 2px solid #9f9; /* cfc */
333 }
334 .diff .final,
335 .diff .added {
336   background: white;
337   border-left: 2px solid #9f9; /* cfc */
338   border-right: 2px solid #9f9; /* cfc */
339 }
340 .diff .final:last-child,
341 .diff .added:last-child {
342   border-bottom: 2px solid #9f9; /* cfc */
343 }
344 /* deleted words */
345 .diff del { background: #fcc; } /* f99 */
346 /* added words */
347 .diff ins { background: #cfc; } /* 9f9 */
348
349
350 /**
351  * PageList output
352  */
353 .pagelist {
354   font-size: smaller;
355 }
356 .pagelist tr.evenrow { background: #f8f8f8; }
357 .pagelist tr.oddrow  { background: #eee; }
358 .pagelist thead td {
359   background: #e8e8e8;
360   text-decoration: none;
361   font-weight: bold;
362 }
363 .pagelist thead td u { text-decoration: none; }
364 /* Yellow highlight for every td of mouseover'd tr in pagelist tbody
365    ie mac ignores all these */
366 .pagelist tbody tr:hover>td {
367   border: solid #ffff99 2px;
368 }
369 /* some browsers give wacky expanding :hover cells,
370    use transparent border here instead of padding change */
371 .pagelist tbody tr>td {
372   border: solid transparent 2px;
373 }
374 th.gridbutton {
375   background-color: ThreeDLightShadow;
376   color: black;
377   font-family: Tahoma, Arial, Helvetica, sans-serif;
378   font-size: small;
379   font-weight: normal;
380   height: 18px;
381   white-space: nowrap;
382   max-height: 24px;
383   padding: 5px 0px 5px 0px;
384   margin: 5px 0px;
385   float: none;
386   border-width: 1px;
387   border-style: solid;
388   border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
389 }
390 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
391   text-decoration: none;
392   font-size: small;
393   font-weight: normal;
394   font-family: Tahoma, Arial, Helvetica, sans-serif;
395   background-color: ThreeDLightShadow;
396   color: black;
397 }
398
399 /**
400  * Search
401  */
402 #searchholder { display: inline; }
403
404 /**
405  * Search Results
406  */
407 .search-context { background: white; font-style: oblique; }
408 .search-term {
409   background: #9bdaff;
410   font-weight: normal;
411 }
412 #LSResult {
413   position: absolute;
414   text-align: left;
415   display: none;
416   z-index: 100;
417   background-color: white;
418   border: 1px solid #d0d0d0; 
419   font-size: 9px;
420   overflow: hidden;
421 }
422 #LSHighlight {
423   background-color: #f08000;
424 }
425 #LSResult .evenrow {
426   background-color: #f0f0f0;
427
428 #LSREsult .oddrow {
429
430 .LSEnd {
431   text-align: right;
432 }
433 .LSRow:hover {
434   background-color: white;
435 }
436 .LSRow {
437   padding: 1px;
438
439 ul.LSRes {
440   margin: 0px;
441   padding: 0px;
442 }
443 li.LSRow {
444   margin: 0px;
445   list-style-image: none;
446 }
447
448 .clear-floats {
449   clear: both;
450 }
451
452 dl {
453   display:table;
454 }
455 /* dotted underline each dt. use display:table to shrink width */
456 dt {
457   display: table;
458   font-weight: bold;
459   vertical-align: baseline;
460   margin-top: 1.25ex;
461   margin-bottom: 0.25ex;
462   padding-left: 0.25ex;
463   padding-right: 0.25ex;
464   border-bottom-style: dotted;
465   border-bottom-width: 2pt;
466   border-bottom-color: #9999cc;
467 }
468 /* No underlines for wiki-links in dt,
469    we already have dotted underline */
470 dt a.wiki, dt a.named-wiki {
471   text-decoration: none;
472 }
473 /* No top margin for first dt */
474 dl>dt:first-child {
475   margin-top: 0ex;
476 }
477 /* underline each dd. */
478 /* use display:table to shrink width */
479 dd {
480 /* overflows wide text beyond containing dl */
481 /* in most browsers :( Would have been nice */
482 /*   display: table; */
483   position: relative;
484   margin-left: 3.5em;
485   margin-bottom: 0.5ex;
486   padding-left: 0.125em;
487   padding-bottom: 0.5ex;
488   padding-right: 0.125em;
489   border-bottom-style: solid;
490   border-bottom-width: thin;
491   border-bottom-color: #9999cc;
492 }
493 pre,
494 div.plugin code {
495   color: black;
496   display: block;
497   background-color: #fcfcfc;
498   font-size: 90%;
499   line-height: 1.25em;
500   margin-top: 0.25em;
501   margin-left: 0em;
502   margin-bottom: 2ex;
503   margin-right: 0em;
504   padding-top: 0.25em;
505   padding-left: 0.5em;
506   padding-bottom: 0.25em;
507   padding-right: 0.5em;
508   border-style: solid;
509   border-width: 1px;
510   border-color: #ccc;
511 }
512 pre {
513   background: #fafafa url("images/bgpaper8.png");
514 }
515 /* Indented wrap past diff buttons in RecentChanges */
516 ul li.rc-major, ul li.rc-minor {
517   margin-left: 0;
518   padding-left: 3em;
519   text-indent: -3em;
520 }
521
522 /**
523  * PageHistory, Info
524  */
525 td.pageinfo { font-weight: bold; }
526 .pageinfo-minoredit, .pageinfo-authorid {
527   font-size: smaller;
528   font-style: oblique;
529 }
530
531 /**
532  * Other
533  */
534 .printer, .no-css { display: none; }
535
536 /* Disabled Plugins */
537 .disabled-plugin
538 {
539   clear: both;
540   margin: 1ex 0;
541   padding: 0;
542 }
543 .disabled-plugin .title {
544   color: #400;
545   background-color: inherit;
546   font-size: x-small;
547   text-align: right;
548   padding: 0 0.5em;
549 }
550 .disabled-plugin pre {
551   color: black;
552   background: #ddd;
553   margin: 0;
554   padding: 0.3ex 0.5em;
555 }
556
557 /* "(Redirected from ...)" message. */
558 span.redirectfrom {
559   font-size: small;
560   font-style: oblique;
561   font-weight: normal;
562   padding-left: 1em;
563 }
564
565 /*
566  * "E-mail" style blockquote
567  */
568 blockquote.mail-style-quote {
569   border-left: medium #284 solid;
570   padding-left: 1em;
571   margin-left: 0;
572   margin-right: 0;
573 }
574 .mail-style-quote blockquote.mail-style-quote {
575   margin-left: -0.6em;
576 }
577
578 /*
579  * wikiblog
580  */
581 .floatleft { float: left; }
582 .floatright { float: right; }
583
584 div.wikiblog {
585   /* border: thin black solid; */
586   margin: 1ex 2em;
587   padding: 0 0;
588 }
589 div.wikiblog > div {
590   margin: 0 0;
591   padding: 0.5ex 0.5em;
592 }
593 div.wikiblog > div.wikiblog-footer {
594   padding: 0.2ex 0.5em;
595 }
596 h3.wikiblog-summary {
597   font-size: medium;
598   font-weight: bold;
599   margin: 0 0 1ex 0;
600 }
601
602 table.wikiblog-form {
603   width: auto;
604   border-collapse: collapse;
605   margin: 0.25em 0;
606 }
607 .wikiblog-form caption {
608   caption-side: top;
609   font-weight: bold;
610   text-align: left;
611   padding: 0.5ex 0.5em;
612 }
613 .wikiblog-form th {
614   vertical-align: top;
615   text-align: right;
616   padding: 0 0 0.3em 0.5em;
617 }
618 .wikiblog-form td {
619   padding: 0.25em 0.5em;
620 }
621 .wikiblog-form td.submit-button {
622   padding: 0;
623 }
624 .wikiblog-form input[type=text],
625 .wikiblog-form textarea {
626   margin: 0 0;
627   width: 100%;
628 }
629 div.wikicomment div.wikicomment-footer {
630   padding: 0.2ex 0.5em;
631 }
632 div.wikicomment div.wikicomment-footer named-wiki {
633   font-size: small;
634 }
635 table.interwiki-map {
636   margin: 1em 2em;
637 }
638 .interwiki-map th {
639   text-decoration: underline;
640   text-align: left;
641   padding-left: 1em;
642 }
643 .interwiki-map td.interwiki-url {
644   padding-left: 2em;
645 }
646 .interwiki-map th.interwiki-url {
647   padding-left: 3em;
648 }
649
650 .dialog {
651   background-color: #cdf;
652   color: black;
653   margin: 2em auto 2em auto;
654   border: thin black solid;
655   width: 50%;
656 }
657 .dialog h1, .dialog p, .dialog div {
658   text-align: center;
659 }
660 .dialog h1 {
661   font-size: large;
662   margin: 0.5em 0 1em 0;
663 }
664 .dialog div.message {
665   background-color: white;
666   color: black;
667   color: black;
668   margin: 0 1em;
669   padding: 0.5em 0.5em;
670 }
671 .dialog p.buttons {
672   margin: 1em 0 0.5em 0;
673 }
674
675 /* postnuke css:*/
676 .gensmall{font-size:10px}
677 .genmed{font-size:11px}
678 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
679 /* Main table cell colours and backgrounds */
680 td.row1{background:#eaedf4;color:#000000}
681 td.row2{background:#d9e2ec;color:#000000}
682 td.row3{background:#cad9ea;color:#000000}
683 td.spacerow{background:#cad9ea;color:#000000}
684
685 /* This is the outline round the main forum tables */
686 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
687
688 /* Sidebar */
689 .box { background:#ffffff; border: 1px solid silver }
690 .box-title { font-family: Tahoma, sans-serif; font-weight: normal; background-color: #ccc; color: black; text-align: center; border: none; padding: 2px 0 2px 0;}
691 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
692 .box-data .wiki { font-weight: normal; }
693 td.sidebar { border-spacing: 0px; margin: 0ex;}
694
695 /* plugin BoxRight */
696 div.boxright {
697   background-color: #e9fbff;
698   width: 200px; 
699   right: 10px;
700   padding: 0.5em; 
701   float: right; 
702   border: thin solid #888888; 
703   padding: 0.5em;
704 }
705
706 /* RssFeed */
707 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
708 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
709 div.itemdesc {  padding-left: 1em; }
710 div.rssitem { border-top: thin dashed #aaa; }
711
712 /* SqlResult */
713 table.sqlresult { 
714   border: 1px outset gray;
715   background: white;
716   margin: 0.5ex 0.5em;
717   padding: 1px;
718 }
719 .sqlresult tr.evenrow { background: #eee; }
720 .sqlresult tr.oddrow  { background: white; }
721 table.sqlresult td {
722   margin: 1px;
723   border: 1px solid gray;
724 }
725
726 /**
727  * TeX2png plugin
728  */
729 img.tex { 
730   vertical-align: middle; 
731 }
732
733 /**
734  * PhotoAlbum plugin
735  */
736 .boldsmall {
737   font-weight: bold;
738   font-size: 11px;
739 }
740
741 .wikiwyg_toolbar {
742     background: #D3D3D3;
743     border: 1px outset;
744     letter-spacing: 0;
745     padding: 2px;
746 }
747
748 span.wikiwyg_control_link a {
749     padding-right: 8px;
750 }
751
752 .wikiwyg_button {
753     background: #D3D3D3;
754     border: 1px solid #D3D3D3;
755     cursor: pointer;
756     width: 20px;
757     height: 20px;
758     vertical-align: bottom;
759 }
760
761 .wikiwyg_button:hover {
762     border: 1px outset;
763 }
764
765 .wikiwyg_button:active {
766     border: 1px inset;
767 }
768
769 .wikiwyg_separator {
770     background: #D3D3D3;
771     border: 1px solid #D3D3D3;
772     width: 9px;
773     height: 20px;
774     vertical-align: bottom;
775 }
776
777 .wikiwyg_selector {
778     width: 70px;
779 }
780
781 .wikiwyg_wysiwyg table {
782     border-collapse: collapse;
783     margin-bottom: .2em;
784 }
785
786 .wikiwyg_wysiwyg table td {
787     border: 1px;
788     border-style: solid;
789     padding: .2em;
790     vertical-align: top;
791 }
792
793 /**
794  * Wiki
795  */
796 textarea.wikiedit, input.wikitext, textarea.summary {
797   background: white;
798   border-top:    1px solid #7c7c7c;
799   border-left:   1px solid #c3c3c3;
800   border-bottom: 1px solid #dddddd;
801   border-right:  1px solid #c3c3c3;
802   padding-left: 0.8em; 
803   padding-right: 0.8em; 
804   padding-top: 0.5em;
805   padding-bottom: 0.5em;
806   margin: 0.5ex 0px;
807   clear: both;
808 }
809
810 .toolbar , div.toolbar  {
811   margin : 0.5ex 0;
812 }
813
814 /* Link icons */
815 img.linkicon  {
816   vertical-align : middle;
817 }
818
819 /**
820  * PageTypes
821  */
822 .interwiki-map thead td,
823 .interwiki-moniker,
824 .interwiki-url {
825   padding-left: 1em;
826   padding-right: 1em;
827 }
828
829 /**
830  * Diff Output
831  */
832 /* main box */
833 .diff {
834   margin:  0.5ex 0;
835   padding: 1px;
836 }
837 .diff .block {
838   padding: 0.5ex 0.5em;
839 }
840 /* blocks containing deleted or added words */
841 .diff .original, .diff .deleted,
842 .diff .final, .diff .added {
843   padding: 1px;
844 }
845
846 .diff .block div {
847   position: relative;
848   padding-left: 1.5em;
849
850 .diff .prefix {
851   position: absolute;
852   left: 0;
853   top:  0;
854 }
855
856 /* deleted & added words */
857 .diff del, .diff ins {
858   padding-left: 0.5ex;
859   padding-right: 0.5ex;
860 }
861
862 /*
863  * table class="boxed"
864  * will put a border around the table (but not around the cells)
865  *
866  * table class="bordered"
867  * will put a border around the table and the cells
868  *
869  * In both cases, the caption will be bold and centered under the table
870  *
871  * In both cases, the headers (th) will have a "#d8d8d8" background
872  */
873
874 table.boxed, table.bordered, table.bordered th, table.bordered td {
875     border-width: 1px;
876     border-style: solid;
877     border-collapse: collapse;
878     vertical-align: top;
879 }
880
881 table.boxed td, table.bordered td,
882 table.boxed th, table.bordered th {
883     padding-left: 5px; 
884     padding-right: 5px; 
885     padding-top: 0px; 
886     padding-bottom: 0px; 
887 }
888
889 table.boxed caption, table.bordered caption {
890     text-align: center;
891     font-weight: bold;
892     caption-side: bottom;
893     padding-top: 0.8em;
894 }
895
896 table.boxed th, table.bordered th {
897     font-weight: bold;
898     background-color: #d8d8d8;
899 }
900
901 /* For emacs users
902  *
903  * Local Variables:
904  * mode: c
905  * c-file-style: cc-mode
906  * End:
907  */