]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Hawaiian/Hawaiian.css
fixed gridbutton style and buttons
[SourceForge/phpwiki.git] / themes / Hawaiian / Hawaiian.css
1 /**
2  * $Id: Hawaiian.css,v 1.27 2004-05-14 10:52:44 rurban Exp $
3  *
4  * This incarnation of this stylesheet is a complete rewrite from the
5  * ground up. It has not yet been tested against NS4.
6  *
7  * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting
8  * tool for mapping the more complex CSS node selectors, such as those
9  * used to reference the various CalendarPlugin elements.
10  */
11
12 /**
13  * NS4 doesn't grok @import.  This allows us to put things which
14  * break NS4 in another file. As of OmniWeb 4.1, OW now @imports :-(
15  */
16 @import url(Hawaiian-heavy.css);
17
18
19 /**
20  * General
21  */ 
22 img {
23   border: 0;
24   vertical-align: baseline;
25 }
26
27 form  { margin: 0; }
28 input { margin: 0.1em; }
29 input.numeric { text-align: right; }
30 table {
31   border-spacing: 1px;
32   /* For Mozilla */
33   empty-cells: show;
34 }
35 caption {
36   caption-side: top;
37   text-align: left;
38   margin-bottom: .5ex;
39   /* Allow the caption to extend to the full page width
40      Mac ie5.1 ignores this*/
41   width: 100%;
42 }
43
44
45 /**
46  * Wiki
47  */
48
49 /* Main wiki text box */
50 body {
51   color: black;
52   background: white url("images/uhhbackground.jpg") repeat;
53   font-family: Arial, Helvetica, sans-serif;
54   margin: 1ex 0.5em;
55 }
56 body p {
57   margin-left: 1em;
58 }
59
60 #logo img {
61   border: 1px outset gray;
62   margin-left: 1em;
63   margin-bottom: 1ex;
64 }
65 img#signature {
66   background: white;
67   border: 1px outset gray;
68   padding-left:  8px; 
69   padding-right: 8px;
70   padding-top:    8px;
71   padding-bottom: 14px;
72 }
73 div.wikitext {
74   margin-top:    1ex;
75   margin-bottom: 0.5ex;
76   padding-left:  0.8em; 
77   padding-right: 0.8em;
78   padding-top:    0.5ex;
79   padding-bottom: 0.5ex;
80   /*This breaks Netscape 4: (display does not go full width).
81    * width: auto;
82    */
83   clear: both;
84   /* user's browser settings *
85   font-family: none; */
86 }
87 div.wikitext hr { height: 1px; }
88
89 div.wikitext pre { font-family: monospace; }
90
91
92 /* Mozilla RecentChanges Sidebar */
93 body.sidebar {
94   font-size: smaller;
95   margin: 0.5em;
96 }
97 body.sidebar div.wikitext {
98   padding: 0.5em;
99 }
100 body.sidebar div.wikitext ul { padding-left: 1em; }
101 body.sidebar h2 { margin-top: 0; }
102
103
104 /**
105  * Link styles
106  */
107 .wiki, .named-wiki {
108   font-weight: bold;
109   color: #87785c;
110 }
111 .wiki { text-decoration: none; }
112 .named-wiki { text-decoration: underline; }
113
114 /**
115  * wikiaction, wikiadmin, wikiunsafe:
116  */
117 .wikiaction, .wikiadmin, .wiki-rc-action, .backlinks { text-decoration: none; }
118 .wikiaction, .wikiadmin { font-weight: bold; }
119
120 .wikiaction, .wikiaction table, span.wikiaction { color: #4d5a6b; }
121 .wikiadmin, .wikiadmin table { color :#ff7e00; }
122 .wikiunsafe { }
123
124 .backlinks { color: #1d4fc0; }
125 h1 .backlinks { text-decoration: underline; }
126
127
128 /* Unknown links */
129 .wikiunknown a, .named-wikiunknown a, .wikiunknown u { color: #a6977a; }
130
131 /* Interwiki links */
132 .wikipage  { font-weight: bold; }
133 .interwiki { text-decoration: none; }
134 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage {
135   font-style: oblique;
136 }
137 .interwiki .wikipage, i .interwiki, em .interwiki {
138   font-style: normal;
139 }
140
141
142 /**
143  * headings
144  */
145 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
146
147 h1 { margin: 0; }
148
149 /**
150  * tables
151  */
152 caption { font-family: Arial, Helvetica, sans-serif; }
153 .pagelist {
154 }
155 .pagelist thead, .pagelist thead u {
156 }
157 .pagelist tr.evenrow { background: #eee; }
158 .pagelist tr.oddrow  { background: white; }
159 th.gridbutton {
160   background-color: threedlightshadow;
161   color: black;
162   font-family: Tahoma, sans-serif, Arial, Helvetica;
163   font-size: small;
164   font-weight: normal;
165   /*font-style: menu;*/
166   margin: 5px 0px;
167   white-space: nowrap;
168   max-height: 24px;
169   padding: 5px 0px 5px 0px;
170   border-width: 1px;
171   border-style: solid;
172   border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
173 }
174 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
175   text-decoration: none;
176   font-size: small;
177   font-weight: normal;
178   /*font-style: menu;*/
179   font-family: Tahoma, sans-serif, Arial, Helvetica;
180   background-color: threedlightshadow;
181   color: black;
182 }
183
184 /**
185  * Toolbar
186  */
187 .toolbar, input.button { font-family: Arial, Helvetica, sans-serif; }
188
189 .toolbar {
190   padding: 0;
191   margin:  0;
192 }
193 /* Prevent buttons from overlapping when wrapped */
194 #navbar, #actionbar { line-height: 140%; }
195
196 .editdate {
197   font-family: Arial, Helvetica, sans-serif;
198   margin: 0;
199   padding: 0;
200   padding-top:    0.25ex;
201 }
202
203
204 /**
205  * Edit Page & View Source
206  */
207
208 /* Make the textarea the full page width */
209 .wikiedit {
210   width: 100%;
211   margin-bottom: 0.5ex;
212   margin-top:    0.5ex;
213   padding: 2px;
214 }
215
216 input.button { font-family: Arial, Helvetica, sans-serif; }
217 #editarea-size {
218   margin-top: 1ex;
219   text-align: right;
220   font-size: smaller;
221 }
222
223 /* IncludePage plugin */
224 .transclusion-title {
225   text-align: right;
226   font-style: oblique;
227   font-size:  smaller;
228   text-decoration: underline;
229   margin-bottom: 0.25ex;
230   margin-right:  0.25em;
231
232 .transclusion, .wiki-edithelp {
233   font-size: smaller;
234 }
235 .transclusion {
236   background: inherit;
237   border: 1px dotted #a6977a;
238   padding-left:  0.8em; 
239   padding-right: 0.8em; 
240   padding-top:     0px;
241   padding-bottom:  0px;
242   margin-left:   0.25em;
243   margin-right:  0.25em;
244   margin-bottom: 0.1ex;
245 }
246 .wiki-edithelp {
247   border: medium solid #d8caae;
248   padding-left:  0.5em;
249   padding-right: 0.5em;
250   padding-top:    0.75ex;
251   padding-bottom: 0.75ex;
252   margin-left:  0;
253   margin-right: 0;
254   margin-top: 1ex;
255   margin-bottom: 1ex;
256 }
257 .wiki-edithelp .wiki {
258   color: #87785c;
259 }
260 .wiki-edithelp p {
261   font-family: Arial, Helvetica, sans-serif;
262   padding-left:  0.5em;
263   padding-right: 0.5em;
264   padding-top:    0.5ex;
265   padding-bottom: 0.5ex;
266   margin: 0;
267 }
268
269
270 /**
271  * Calendar plugin
272  */
273 table.cal {
274   border: 1px outset gray;
275   margin: 0.5ex 0.5em;
276   padding: 1px;
277   /* For Mozilla */
278   empty-cells: hide;
279 }
280 /* Month-name & arrows area */
281 table.cal thead {
282 }
283 table.cal table.cal-header td {
284   padding-top: 110px;
285 }
286 table.cal thead tr:first-child {
287   background: url("images/pictures/SteamVolcanoDusk.jpg") no-repeat;
288   background-position: center;
289   font-size: larger;
290 }
291  /* Month-name & arrows cells */
292 table.cal table.cal-header td {
293   text-align: center;
294   color: white;
295   background: transparent;
296   border: 0;
297 }
298  /* arrow text */
299 .cal-arrow {
300   text-decoration: none;
301   color: white;
302   font-weight: bold;
303 }
304
305 /* Day-names header */
306 table.cal tr .cal-dayname {
307   background: inherit;
308 }
309 .cal-dayname td {
310   text-align: center;
311   font-size: smaller;
312   text-decoration: none;
313   color: black;
314   padding-bottom: 0.5ex;
315 }
316
317 /* Individual days */
318  /* cells */
319 table.cal tbody td {
320   border: 0.5pt solid #ddd;
321   background: white;
322   text-align: right;
323
324  /* text */
325 a.cal-hide {
326   text-decoration: none;
327   color: black;
328   font-weight: normal;
329 }
330  /* Today */
331   /* cell */
332 table.cal td.cal-today {
333   margin: 1px;
334   background: white;
335   border: 0.5pt solid black;
336 }
337   /* text */
338 table.cal td.cal-today a {
339   color: blue;
340 }
341  /* Day with a data page */
342   /* cell */
343 table.cal td.cal-day {
344   margin: 1px;
345   background: white;
346   border: 0.5pt solid black;
347 }
348   /* text */
349 table.cal td.cal-day a {
350   color: red;
351   text-decoration: none;
352 }
353
354
355 /**
356  * Diff Output
357  */
358
359 /* main box */
360 .diff .block {
361   background: #ccc;
362   /*border: 1px solid black;*/
363   padding: 0.5ex 0.5em;
364   margin:  0.5ex 0;
365 }
366
367 /* individual lines */
368 .diff .context { background: white; }
369
370 /* + - line prefix */
371 .diff .block tt{
372   font-weight: bold;
373   font-family: monospace;
374   margin-left: -.6em;
375   color: black;
376 }
377
378 .diff del, .diff ins {
379   font-weight: bold;
380   text-decoration: none;
381 }
382 .diff .original, .diff .deleted { background: #fcc; }
383 .diff .final, .diff .added { background: #cfc; }
384
385 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
386 .diff del { background: #f99; }
387 .diff ins { background: #9f9; }
388
389
390 /**
391  * Other
392  */
393 .printer { display: none; }
394
395 /* PHP Warnings */
396 div.errors {
397   color: black;
398   border: medium solid #d8caae;
399   margin-top:    1em;
400   margin-bottom: 1em;
401   padding-left:  0.8em; 
402   padding-right: 0.8em; 
403   padding-top:    0.8ex;
404   padding-bottom: 0;
405   font-size: smaller;
406   clear: both;
407 }
408 .errors h4 {
409   color: #87785c;
410   margin:  0;
411   padding: 0;
412   text-decoration: none;
413   font-weight: bold;
414 }
415 .error { font-family: monospace; }
416 .error ul { font-family: monospace; }
417
418 /* Debug */
419 .debug {
420   color: black;
421   font-family: monospace;
422   margin: 1ex 0;
423   padding: 0.5ex 0.5em;
424   border: medium solid #d8caae;
425 }
426
427 .clear-floats {
428   clear: both;
429 }
430
431 /* For emacs users
432  *
433  * Local Variables:
434  * mode: c
435  * c-file-style: cc-mode
436  * End:
437  */