]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/phpwiki.css
moved default css files from phpwiki root into themes/default/
[SourceForge/phpwiki.git] / themes / default / phpwiki.css
1 /**
2  * $Id: phpwiki.css,v 1.1 2002-03-06 02:21:16 carstenklapp 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
84 /**
85  * Wiki Forms
86  * 
87  * The div inside the wikiadmin upload form does not
88  * have a class yet, so it must be referenced indirectly
89  */
90 div.wikiaction { background-color: #eee; }
91 /* div.wikiadmin { background-color: #fee; } */
92 form.wikiadmin div { background-color: #fee; }
93
94
95 /**
96  * Link styles
97  */
98 .wiki, .named-wiki {
99   text-decoration: none;
100   font-weight: bold;
101 }
102
103 /* Action buttons */
104 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe {
105   text-decoration: none;
106   font-family: Arial, Helvetica, sans-serif;
107 }
108
109 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
110
111 .wikiunsafe { background-color: #fcc; }
112
113 a.wikiadmin, input.wikiadmin  { background-color: #fdd; }
114
115 /* Unknown links */
116 .wikiunknown, .named-wikiunknown {
117   font-weight: normal;
118   font-size: 100%;
119 }
120  /* QuestionMark #600 */
121 .wikiunknown a, .named-wikiunknown a {
122   color: #447;
123   background-color: #eee;
124   text-decoration: none;
125   font-weight: normal;
126   font-size: smaller;
127 }
128
129 /* Backlinks */
130 .backlinks {
131   text-decoration: underline;
132   color: #006;
133 }
134 h1 .backlinks { text-decoration: underline; }
135
136 /* Interwiki links */
137 .wikipage  { font-weight: bold; }
138 .interwiki { text-decoration: none; }
139 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
140 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
141
142
143 /**
144  * headings
145  */
146 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
147
148 h1 { margin: 0; }
149
150
151 /**
152  * Tables
153  */
154 table, td { font-family: Arial, Helvetica, sans-serif; }
155 caption { font-family: Arial, Helvetica, sans-serif; }
156 .pagelist {
157 }
158 .pagelist thead, .pagelist thead u {  }
159 .pagelist tr.evenrow { background: #eee; }
160 .pagelist tr.oddrow  { background: white; }
161
162
163 /**
164  * Toolbar
165  */
166 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
167
168 .toolbar {
169   padding: 0;
170   margin:  0;
171 }
172 #navbuttons {
173   padding-right: 4em; /* wrap around logo */
174   padding-bottom: 1ex; /* space for h1 */
175 }
176 .editdate {
177   font-family: Arial, Helvetica, sans-serif;
178   margin: 0;
179   padding: 0;
180   padding-top: 0.25ex;
181 }
182
183
184 /**
185  * Edit Page & View Source
186  */
187
188 /* Make the textarea the full page width */
189 textarea.wikiedit {
190   width: 100%;
191   margin-bottom: 0.5ex;
192   margin-top:    0.5ex;
193   padding: 2px;
194 }
195
196 #editarea-size {
197   margin-top: 1ex;
198   text-align: right;
199   font-size: smaller;
200 }
201
202 /* IncludePage plugin */
203 .transclusion-title {
204   text-align: right;
205   font-style: oblique;
206   font-size:  smaller;
207   text-decoration: underline;
208   margin-bottom: 0.25ex;
209   margin-right:  0.25em;
210
211 .transclusion, .wiki-edithelp {
212   font-size: smaller;
213 }
214 .transclusion {
215   border: 1px solid gray;
216   padding-left:  0.8em; 
217   padding-right: 0.8em; 
218   padding-top:     0px;
219   padding-bottom:  0px;
220   margin-left:   0.25em;
221   margin-right:  0.25em;
222   margin-bottom: 0.1ex;
223 }
224 .wiki-edithelp {
225   background: white;
226   border: medium solid #fff8dc; /* darker ivory */
227   padding-left:  0.5em;
228   padding-right: 0.5em;
229   padding-top:    0.75ex;
230   padding-bottom: 0.75ex;
231   margin-left:  0;
232   margin-right: 0;
233   margin-top: 1ex;
234   margin-bottom: 1ex;
235 }
236 .wiki-edithelp .wiki {
237   /* color: #5454ff;*/
238 }
239 .wiki-edithelp p {
240   font-family: Arial, Helvetica, sans-serif;
241   padding-left:  0.5em;
242   padding-right: 0.5em;
243   padding-top:    0.5ex;
244   padding-bottom: 0.5ex;
245   margin: 0;
246 }
247
248
249 /**
250  * Calendar plugin
251  */
252 table.cal {
253   border: 1px outset gray;
254   background: white;
255   margin: 0.5ex 0.5em;
256   padding: 1px;
257   /* For Mozilla */
258   empty-cells: hide;
259
260
261 /* cells */
262 table.cal td {
263   background: white;
264   text-align: right;
265
266
267 /* Month-name header */
268 table.cal-header { font-size: larger; }
269 table.cal-header tr, table.cal-header td { text-align: center; }
270 .cal-arrow {
271   font-weight: bold;
272   text-decoration: none;
273 }
274
275 /* Day-names header */
276 table.cal tbody tr .cal-dayname {  }
277 .cal-dayname td {
278   text-align: center;
279   font-size: smaller;
280   text-decoration: underline;
281 }
282
283 /* Individual days */
284 a.cal-hide { text-decoration: none; }
285
286 /* Today */
287  /* cell */
288 table.cal td.cal-today {
289   margin: 1px;
290   border: 1px solid gray;
291 }
292  /* text */
293 table.cal td.cal-today a.cal-hide {  }
294
295 /**
296  * Diff Output
297  */
298 /* main box */
299 .diff {
300   background: white;
301   /* for NS4 */
302   border: 1px solid black;
303 }
304 .diff .block {
305   background: #ccc;
306   padding-left: 1em;
307   /* for NS4 */
308   /*border: none;*/
309 }
310
311 /* individual blocks */
312 .diff .context {
313   background: white;
314   /* for NS4 */
315   border: none;
316 }
317 /* + - line prefix */
318 .diff .block tt {
319   font-weight: normal;
320   font-family: monospace;
321   color: black;
322   /* for NS4 */
323   margin-left: 0;
324   border: none;
325 }
326 /* changed words */
327 .diff del, .diff ins {
328   font-weight: bold;
329   text-decoration: none;
330 }
331
332 /* blocks containing deleted or added words */
333 .diff .original, .diff .deleted,
334 .diff .final, .diff .added {
335   background: white;
336 }
337 /* blocks containing deleted words */
338 .diff .original, .diff .deleted {
339   background: #fcc;
340   /* for NS4 */
341   border: none;
342 }
343 /* blocks containing added words */
344 .diff .final, .diff .added {
345   background: #cfc;
346   /* for NS4 */
347   border: none;
348 }
349
350 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
351 /* deleted words */
352 .diff del { background: #f99; }
353 /* added words */
354 .diff ins { background: #9f9; }
355
356
357 /**
358  * PageHistory, Info
359  */
360 td.pageinfo { font-weight: bold; }
361 .pageinfo-minoredit, .pageinfo-authorid {
362   font-size: smaller;
363   font-style: oblique;
364 }
365
366
367 /**
368  * Other
369  */
370 .printer { display: none; }
371
372 /* PHP Warnings */
373 div.errors {
374   color: black;
375   background: #eee;
376   margin-top:    1em;
377   margin-bottom: 1em;
378   padding-left:  0.8em; 
379   padding-right: 0.8em; 
380   padding-top:    0.8ex;
381   padding-bottom: 0;
382   border: medium solid red;
383   clear: both;
384 }
385 .errors h4 {
386   color: red;
387   margin:  0;
388   padding: 0;
389   text-decoration: underline;
390 }
391 .error { font-family: monospace; }
392 .error ul { font-family: monospace; }
393
394 /* Debug */
395 .debug {
396   color: black;
397   background: white;
398   font-family: monospace;
399   font-size: smaller;
400   margin: 1ex 0;
401   padding: 0.5ex 0.5em;
402   border: medium solid #fff8dc; /* darker ivory */
403 }
404
405
406 /* For emacs users
407  *
408  * Local Variables:
409  * mode: c
410  * c-file-style: cc-mode
411  * End:
412  */