]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/portland.css
Class "tablesorter" is not needed
[SourceForge/phpwiki.git] / themes / Portland / portland.css
1 /**
2  * PhpWiki's Portland style sheet based on the original Wiki
3  *
4  * Styles are kept to a minimum, so the page will mostly appear
5  * according to the browser's default font settings.
6  */
7 body {
8     color: black;
9     background: white;
10 }
11
12 img {
13     border: 0;
14 }
15
16 .wiki-edithelp {
17     font-size: smaller;
18 }
19
20 input.numeric {
21     text-align: right;
22 }
23
24 .clear-floats {
25     clear: both;
26 }
27
28 /* generic classes ----------------------------------------------- */
29
30 .tt {
31     font-family: monospace;
32 }
33
34 .strike {
35     text-decoration: line-through;
36 }
37
38 .big {
39     font-size: larger;
40 }
41
42 .align-left {
43     text-align: left;
44 }
45
46 .align-right {
47     text-align: right;
48 }
49
50 .align-center {
51     text-align: center;
52 }
53
54 .top {
55     vertical-align: top;
56 }
57
58 .bottom {
59     vertical-align: bottom;
60 }
61
62 .middle {
63     vertical-align: middle;
64 }
65
66 .baseline {
67     vertical-align: baseline;
68 }
69
70 .nowrap {
71     white-space: nowrap;
72 }
73
74 .fullwidth {
75     width: 100%;
76 }
77
78 /* --------------------------------------------------------------- */
79
80 /*
81  * "DL tables"
82  */
83 .wiki-dl-table {
84     border-collapse: collapse;
85     border: 2px #444 solid;
86 }
87
88 .wiki-dl-table tr {
89     border-top: 2px #444 solid;
90     border-bottom: 2px #444 solid;
91     border-left: none;
92     border-right: none;
93 }
94
95 .wiki-dl-table th,
96 .wiki-dl-table td {
97     padding: 0.25em 0.5em;
98 }
99
100 .wiki-dl-table th {
101     vertical-align: top;
102     text-align: right;
103     border-right: 1px #444 solid;
104     border-left: none;
105     border-top: none;
106     border-bottom: none;
107 }
108
109 .wiki-dl-table td {
110     border: none;
111 }
112
113 /* Mozilla RecentChanges Sidebar */
114 body.sidebar {
115     font-size: smaller;
116     margin: 0.5em;
117 }
118
119 body.sidebar div.wikitext ul {
120     padding-left: 1em;
121 }
122
123 body.sidebar h2 {
124     margin-top: 0;
125 }
126
127 /* IncludePage plugin ================================================= */
128
129 .transclusion-title {
130     font-style: oblique;
131     font-size: 0.75em;
132     text-decoration: underline;
133     text-align: right;
134 }
135
136 .transclusion {
137     background: lightgreen;
138     border: thin;
139     border-style: solid;
140     padding-left: 0.8em;
141     padding-right: 0.8em;
142     padding-top: 0;
143     padding-bottom: 0;
144     margin: 0.5ex 0;
145 }
146
147 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
148
149 /*
150  * table class="boxed"
151  * will put a border around the table (but not around the cells)
152  *
153  * table class="bordered"
154  * will put a border around the table and the cells
155  *
156  * In both cases, the caption will be bold and centered under the table
157  *
158  * In both cases, the headers (th) will have a "#d8d8d8" background
159  */
160
161 table.boxed, table.bordered, table.bordered th, table.bordered td {
162     border-width: 1px;
163     border-style: solid;
164     border-collapse: collapse;
165     vertical-align: top;
166 }
167
168 table.boxed td, table.bordered td,
169 table.boxed th, table.bordered th {
170     padding-left: 5px;
171     padding-right: 5px;
172     padding-top: 0;
173     padding-bottom: 0;
174 }
175
176 table.boxed caption, table.bordered caption {
177     text-align: center;
178     font-weight: bold;
179     caption-side: bottom;
180     padding-top: 0.8em;
181 }
182
183 table.boxed th, table.bordered th {
184     font-weight: bold;
185     background-color: #d8d8d8;
186 }
187
188 table.sortable th.header {
189     background-image: url(../default/images/sort_none.gif);
190     cursor: pointer;
191     background-repeat: no-repeat;
192     background-position: center right;
193     padding-right: 20px;
194 }
195
196 table.sortable th.headerSortUp {
197     background-image: url(../default/images/sort_up.gif);
198     cursor: pointer;
199     background-repeat: no-repeat;
200     background-position: center right;
201     padding-right: 20px;
202 }
203
204 table.sortable th.headerSortDown {
205     background-image: url(../default/images/sort_down.gif);
206     cursor: pointer;
207     background-repeat: no-repeat;
208     background-position: center right;
209     padding-right: 20px;
210 }