]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/phpwiki.css
fixed login, theme selection, UserPreferences.
[SourceForge/phpwiki.git] / themes / default / phpwiki.css
1 /**
2  * $Id: phpwiki.css,v 1.3 2002-08-23 18:29:33 rurban Exp $
3  *
4  * This incarnation of this stylesheet is a complete rewrite from the
5  * ground up.
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.
15  */
16 @import url(phpwiki-heavy.css);
17
18
19 /**
20  * General
21  */ 
22 img { border: 0; }
23
24 form { margin: 0; }
25 table {
26   border-spacing: 1px;
27   /* For Mozilla */
28   empty-cells: show;
29 }
30 caption {
31   caption-side: top;
32   text-align: left;
33   margin-bottom: .5ex;
34   /* Allow the caption to extend to the full page width
35      Mac ie5.1 ignores this*/
36   width: 100%;
37 }
38
39
40 /**
41  * Wiki
42  */
43 body {
44   /* ivory #ffe #fffff0*/
45   background: #fffff0;
46   font-family: Arial, Helvetica, sans-serif;
47   margin: 1.5ex 1em;
48 }
49
50 div.wikitext hr { height: 1px; }
51
52 div.wikitext pre { font-family: monospace; }
53
54
55 /**
56  * PageTypes
57  */
58 /* Main wiki text box */
59 div.wikitext {
60   margin-top:    1ex;
61   margin-bottom: 0.5ex;
62   background: white;
63   /* Netscape 4 requires this 1px border.
64      Without it, the paper borders below cause
65      the white background to disappear. */
66   border: 1px black solid;
67   /* "paper" borders */
68   border-top:  1px #e8e6df solid;
69   border-left: 1px #e8e6df solid;
70   border-bottom: 1px #d2d2d2 solid;
71   border-right:  1px #b2b2b2 solid;
72   padding-left:  0.8em; 
73   padding-right: 0.8em;
74   padding-top:    0.5ex;
75   padding-bottom: 0.5ex;
76   /*This breaks Netscape 4: (display does not go full width).
77    * width: auto;
78    */
79   clear: both;
80 }
81 .interwiki-map thead td { text-decoration: underline; }
82
83 /* Mozilla RecentChanges Sidebar */
84 body.sidebar {
85   font-size: smaller;
86   margin: 0.5em;
87 }
88 body.sidebar div.wikitext {
89   padding: 0.5em;
90 }
91 body.sidebar div.wikitext ul { padding-left: 1em; }
92 body.sidebar h2 { margin-top: 0; }
93
94
95 /**
96  * Wiki Forms
97  * 
98  * The div inside the wikiadmin upload form does not
99  * have a class yet, so it must be referenced indirectly
100  */
101 div.wikiaction { background-color: #eee; }
102 /* div.wikiadmin { background-color: #fee; } */
103 form.wikiadmin div { background-color: #fee; }
104
105
106 /**
107  * Link styles
108  */
109 .wiki, .named-wiki {
110   text-decoration: none;
111   font-weight: bold;
112 }
113
114 /* Action buttons */
115 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe {
116   text-decoration: none;
117   font-family: Arial, Helvetica, sans-serif;
118 }
119
120 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
121
122 .wikiunsafe { background-color: #fcc; }
123
124 a.wikiadmin, input.wikiadmin  { background-color: #fdd; }
125
126 /* Unknown links */
127 .wikiunknown, .named-wikiunknown {
128   font-weight: normal;
129   font-size: 100%;
130 }
131  /* QuestionMark #600 */
132 .wikiunknown a, .named-wikiunknown a {
133   color: #447;
134   background-color: #eee;
135   text-decoration: none;
136   font-weight: normal;
137   font-size: smaller;
138 }
139
140 /* Backlinks */
141 .backlinks {
142   text-decoration: underline;
143   color: #006;
144 }
145 h1 .backlinks { text-decoration: underline; }
146
147 /* Interwiki links */
148 .wikipage  { font-weight: bold; }
149 .interwiki { text-decoration: none; }
150 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
151 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
152
153
154 /**
155  * headings
156  */
157 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
158
159 h1 { margin: 0; }
160
161
162 /**
163  * Tables
164  */
165 table, td { font-family: Arial, Helvetica, sans-serif; }
166 caption { font-family: Arial, Helvetica, sans-serif; }
167 .pagelist {
168 }
169 .pagelist thead, .pagelist thead u {  }
170 .pagelist tr.evenrow { background: #eee; }
171 .pagelist tr.oddrow  { background: white; }
172
173
174 /**
175  * Toolbar
176  */
177 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
178
179 .toolbar {
180   padding: 0;
181   margin:  0;
182 }
183 #navbuttons {
184   padding-right: 4em; /* wrap around logo */
185   padding-bottom: 1ex; /* space for h1 */
186 }
187 .editdate {
188   font-family: Arial, Helvetica, sans-serif;
189   margin: 0;
190   padding: 0;
191   padding-top: 0.25ex;
192 }
193
194
195 /**
196  * Edit Page & View Source
197  */
198
199 /* Make the textarea the full page width */
200 textarea.wikiedit {
201   width: 100%;
202   margin-bottom: 0.5ex;
203   margin-top:    0.5ex;
204   padding: 2px;
205 }
206
207 #editarea-size {
208   margin-top: 1ex;
209   text-align: right;
210   font-size: smaller;
211 }
212
213 /* IncludePage plugin */
214 .transclusion-title {
215   text-align: right;
216   font-style: oblique;
217   font-size:  smaller;
218   text-decoration: underline;
219   margin-bottom: 0.25ex;
220   margin-right:  0.25em;
221
222 .transclusion, .wiki-edithelp {
223   font-size: smaller;
224 }
225 .transclusion {
226   border: 1px solid gray;
227   padding-left:  0.8em; 
228   padding-right: 0.8em; 
229   padding-top:     0px;
230   padding-bottom:  0px;
231   margin-left:   0.25em;
232   margin-right:  0.25em;
233   margin-bottom: 0.1ex;
234 }
235 .wiki-edithelp {
236   background: white;
237   border: medium solid #fff8dc; /* darker ivory */
238   padding-left:  0.5em;
239   padding-right: 0.5em;
240   padding-top:    0.75ex;
241   padding-bottom: 0.75ex;
242   margin-left:  0;
243   margin-right: 0;
244   margin-top: 1ex;
245   margin-bottom: 1ex;
246 }
247 .wiki-edithelp .wiki {
248   /* color: #5454ff;*/
249 }
250 .wiki-edithelp p {
251   font-family: Arial, Helvetica, sans-serif;
252   padding-left:  0.5em;
253   padding-right: 0.5em;
254   padding-top:    0.5ex;
255   padding-bottom: 0.5ex;
256   margin: 0;
257 }
258
259
260 /**
261  * Calendar plugin
262  */
263 table.cal {
264   border: 1px outset gray;
265   background: white;
266   margin: 0.5ex 0.5em;
267   padding: 1px;
268   /* For Mozilla */
269   empty-cells: hide;
270
271
272 /* cells */
273 table.cal td {
274   background: white;
275   text-align: right;
276
277
278 /* Month-name header */
279 table.cal-header { font-size: larger; }
280 table.cal-header tr, table.cal-header td { text-align: center; }
281 .cal-arrow {
282   font-weight: bold;
283   text-decoration: none;
284 }
285
286 /* Day-names header */
287 table.cal tbody tr .cal-dayname {  }
288 .cal-dayname td {
289   text-align: center;
290   font-size: smaller;
291   text-decoration: underline;
292 }
293
294 /* Individual days */
295 a.cal-hide { text-decoration: none; }
296
297 /* Today */
298  /* cell */
299 table.cal td.cal-today {
300   margin: 1px;
301   border: 1px solid gray;
302 }
303  /* text */
304 table.cal td.cal-today a.cal-hide {  }
305
306 /**
307  * Diff Output
308  */
309 /* main box */
310 .diff {
311   background: white;
312   /* for NS4 */
313   border: 1px solid black;
314 }
315 .diff .block {
316   background: #ccc;
317   padding-left: 1em;
318   /* for NS4 */
319   /*border: none;*/
320 }
321
322 /* individual blocks */
323 .diff .context {
324   background: white;
325   /* for NS4 */
326   border: none;
327 }
328 /* + - line prefix */
329 .diff .block tt {
330   font-weight: normal;
331   font-family: monospace;
332   color: black;
333   /* for NS4 */
334   margin-left: 0;
335   border: none;
336 }
337 /* changed words */
338 .diff del, .diff ins {
339   font-weight: bold;
340   text-decoration: none;
341 }
342
343 /* blocks containing deleted or added words */
344 .diff .original, .diff .deleted,
345 .diff .final, .diff .added {
346   background: white;
347 }
348 /* blocks containing deleted words */
349 .diff .original, .diff .deleted {
350   background: #fcc;
351   /* for NS4 */
352   border: none;
353 }
354 /* blocks containing added words */
355 .diff .final, .diff .added {
356   background: #cfc;
357   /* for NS4 */
358   border: none;
359 }
360
361 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
362 /* deleted words */
363 .diff del { background: #f99; }
364 /* added words */
365 .diff ins { background: #9f9; }
366
367
368 /**
369  * PageHistory, Info
370  */
371 td.pageinfo { font-weight: bold; }
372 .pageinfo-minoredit, .pageinfo-authorid {
373   font-size: smaller;
374   font-style: oblique;
375 }
376
377
378 /**
379  * Other
380  */
381 .printer { display: none; }
382
383 /* PHP Warnings */
384 div.errors {
385   color: black;
386   background: #eee;
387   margin-top:    1em;
388   margin-bottom: 1em;
389   padding-left:  0.8em; 
390   padding-right: 0.8em; 
391   padding-top:    0.8ex;
392   padding-bottom: 0;
393   border: medium solid red;
394   clear: both;
395 }
396 .errors h4 {
397   color: red;
398   margin:  0;
399   padding: 0;
400   text-decoration: underline;
401 }
402 .error { font-family: monospace; }
403 .error ul { font-family: monospace; }
404
405 /* Debug */
406 .debug {
407   color: black;
408   background: white;
409   font-family: monospace;
410   font-size: smaller;
411   margin: 1ex 0;
412   padding: 0.5ex 0.5em;
413   border: medium solid #fff8dc; /* darker ivory */
414 }
415
416 /* Hints */
417 .hint {
418   color: black;
419   background: #eeeeee;
420   font-size: smaller;
421   margin-left: 5em;
422   /* padding: -0.5em 0 -0.5em; */
423   border: thin solid #aaaaaa;
424 }
425
426 /* For emacs users
427  *
428  * Local Variables:
429  * mode: c
430  * c-file-style: cc-mode
431  * End:
432  */