]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/portland.css
cursor: pointer for toolbar
[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 img.toolbar:hover {
81     cursor: pointer;
82 }
83
84 /*
85  * "DL tables"
86  */
87 .wiki-dl-table {
88     border-collapse: collapse;
89     border: 2px #444 solid;
90 }
91
92 .wiki-dl-table tr {
93     border-top: 2px #444 solid;
94     border-bottom: 2px #444 solid;
95     border-left: none;
96     border-right: none;
97 }
98
99 .wiki-dl-table th,
100 .wiki-dl-table td {
101     padding: 0.25em 0.5em;
102 }
103
104 .wiki-dl-table th {
105     vertical-align: top;
106     text-align: right;
107     border-right: 1px #444 solid;
108     border-left: none;
109     border-top: none;
110     border-bottom: none;
111 }
112
113 .wiki-dl-table td {
114     border: none;
115 }
116
117 /* Mozilla RecentChanges Sidebar */
118 body.sidebar {
119     font-size: smaller;
120     margin: 0.5em;
121 }
122
123 body.sidebar div.wikitext ul {
124     padding-left: 1em;
125 }
126
127 body.sidebar h2 {
128     margin-top: 0;
129 }
130
131 /* IncludePage plugin ================================================= */
132
133 .transclusion-title {
134     font-style: oblique;
135     font-size: 0.75em;
136     text-decoration: underline;
137     text-align: right;
138 }
139
140 .transclusion {
141     background: lightgreen;
142     border: thin;
143     border-style: solid;
144     padding-left: 0.8em;
145     padding-right: 0.8em;
146     padding-top: 0;
147     padding-bottom: 0;
148     margin: 0.5ex 0;
149 }
150
151 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
152
153 /*
154  * table class="boxed"
155  * will put a border around the table (but not around the cells)
156  *
157  * table class="bordered"
158  * will put a border around the table and the cells
159  *
160  * In both cases, the caption will be bold and centered under the table
161  *
162  * In both cases, the headers (th) will have a "#d8d8d8" background
163  */
164
165 table.boxed, table.bordered, table.bordered th, table.bordered td {
166     border-width: 1px;
167     border-style: solid;
168     border-collapse: collapse;
169     vertical-align: top;
170 }
171
172 table.boxed td, table.bordered td,
173 table.boxed th, table.bordered th {
174     padding-left: 5px;
175     padding-right: 5px;
176     padding-top: 0;
177     padding-bottom: 0;
178 }
179
180 table.boxed caption, table.bordered caption {
181     text-align: center;
182     font-weight: bold;
183     caption-side: bottom;
184     padding-top: 0.8em;
185 }
186
187 table.boxed th, table.bordered th {
188     font-weight: bold;
189     background-color: #d8d8d8;
190 }
191
192 table.sortable th.header {
193     background-image: url(../default/buttons/sort_none.gif);
194     cursor: pointer;
195     background-repeat: no-repeat;
196     background-position: center right;
197     padding-right: 20px;
198 }
199
200 table.sortable th.headerSortUp {
201     background-image: url(../default/buttons/sort_up.gif);
202     cursor: pointer;
203     background-repeat: no-repeat;
204     background-position: center right;
205     padding-right: 20px;
206 }
207
208 table.sortable th.headerSortDown {
209     background-image: url(../default/buttons/sort_down.gif);
210     cursor: pointer;
211     background-repeat: no-repeat;
212     background-position: center right;
213     padding-right: 20px;
214 }