]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/portland.css
Fix syntax error
[SourceForge/phpwiki.git] / themes / Portland / portland.css
1 /**
2  * $Id$
3  *
4  * PhpWiki's Portland style sheet based on the original Wiki
5  *
6  * Styles are kept to a minimum, so the page will mostly appear
7  * according to the browser's default font settings.
8  */
9 body {
10   color : black;
11   background : white;
12 }
13
14 img {
15   border : 0 none;
16 }
17
18 .wiki-edithelp {
19   font-size : smaller;
20 }
21
22 input.numeric {
23   text-align: right;
24 }
25
26 .clear-floats {
27   clear: both;
28 }
29
30 /*
31  * "DL tables"
32  */
33 .wiki-dl-table {
34   border-collapse: collapse;
35   border: 2px #444 solid;
36 }
37 .wiki-dl-table tr {
38   border-top: 2px #444 solid;
39   border-bottom: 2px #444 solid;
40   border-left: none; 
41   border-right: none; 
42 }
43 .wiki-dl-table th,
44 .wiki-dl-table td {
45   padding: 0.25em 0.5em;
46 }
47 .wiki-dl-table th {
48   vertical-align: top;
49   text-align: right;
50   border-right: 1px #444 solid;
51   border-left: none;
52   border-top: none;
53   border-bottom: none;
54 }
55 .wiki-dl-table td {
56   border: none;
57 }
58
59 /* Mozilla RecentChanges Sidebar */
60 body.sidebar {
61   font-size: smaller;
62   margin: 0.5em;
63 }
64 body.sidebar div.wikitext ul { padding-left: 1em; }
65 body.sidebar h2 { margin-top: 0; }
66
67 /*
68  * table class="boxed"
69  * will put a border around the table (but not around the cells)
70  *
71  * table class="bordered"
72  * will put a border around the table and the cells
73  *
74  * In both cases, the caption will be bold and centered under the table
75  *
76  * In both cases, the headers (th) will have a "#d8d8d8" background
77  */
78
79 table.boxed, table.bordered, table.bordered th, table.bordered td {
80     border-width: 1px;
81     border-style: solid;
82     border-collapse: collapse;
83     vertical-align: top;
84 }
85
86 table.boxed td, table.bordered td,
87 table.boxed th, table.bordered th {
88     padding-left: 5px;
89     padding-right: 5px;
90     padding-top: 0px;
91     padding-bottom: 0px;
92 }
93
94 table.boxed caption, table.bordered caption {
95     text-align: center;
96     font-weight: bold;
97     caption-side: bottom;
98     padding-top: 0.8em;
99 }
100
101 table.boxed th, table.bordered th {
102     font-weight: bold;
103     background-color: #d8d8d8;
104 }
105