]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/SpaceWiki/SpaceWiki.css
Renamed theme to SpaceWiki to avoid any future problems
[SourceForge/phpwiki.git] / themes / SpaceWiki / SpaceWiki.css
1 /**
2  * $Id: SpaceWiki.css,v 1.1 2002-02-22 23:46:56 carstenklapp Exp $
3  *
4  * This theme will probably be renamed something like "Space" to
5  * avoid any potential copyright issues.
6  *
7  * http://www.w3.org/TR/REC-CSS2/indexlist.html
8  *
9  * #fff; white
10  * #000; black
11  * #fff313; yellow
12  * #ddc300; darker-yellow
13  * #5791ff; bright-blue
14  * #0053db; blue
15  * #8452b5; magenta
16  * #982505; red
17  * #ef0032; light-red
18  * #009000; green
19  * #1bab11; light-green
20  * #ff7e00; orange
21  */
22
23
24 /**
25  * NS4 doesn't grok @import.  This allows us to put things which
26  * break NS4 in another file.
27  */
28 @import url(SpaceWiki-gravimetric.css);
29
30
31 /**
32  * General
33  */ 
34 img { border: 0; }
35 form  { margin: 0; }
36 input.button { font-family: Helvetica, Arial, sans-serif; }
37 input { font-family: Helvetica, Arial, sans-serif; }
38 textarea, input {
39   color:      white;
40   background: black;
41 }
42 dt { font-weight: bold; }
43 table {
44   border-spacing: 1px;
45   /* For Mozilla */
46   empty-cells: show;
47 }
48 td { color: white; } /* for NS4 */
49 caption {
50   caption-side: top;
51   text-align: left;
52   margin-bottom: .5ex;
53   /* Allow the caption to extend to the full page width
54      Mac ie5.1 ignores this*/
55   width: 100%;
56 }
57 a { color: #0053db; }
58 a:hover { color: #5791ff; }
59
60
61 /**
62  * Wiki
63  */
64 body {
65   /* the background image url is relative to this file's directory */
66   /*background-image:  url(images/starfield.png) repeat; */
67   font-family: Helvetica, Arial, sans-serif;
68   color:             white;
69   background-color:  black;
70 }
71
72 /* Main wiki text box */
73 div.wikitext {
74   clear: both;
75 }
76
77 /**
78  * <hr>
79  * Not all browsers support this, but it's a cool trick when it is!
80  * yes=OmniWeb 4.1sp28; No=IE5.1Mac, Mozilla0.97Mac, iCAB2.6Mac.
81  * It maybe better to do this with a new wiki Theme element??
82  */
83 div.wikitext hr {
84   background-image:   url("images/hr.png");
85   background-repeat:   repeat-x;
86   background-position: center;
87 }
88
89 div.wikitext pre { font-family: monospace; }
90
91
92 /**
93  * Wiki Forms
94  * 
95  * The div inside the wikiadmin upload form does not
96  * have a class yet, so it must be referenced indirectly
97  */
98 div.wikiaction, form.wikiadmin div {
99   background-color: black;
100   border: 1px solid #006;
101   margin-top: 0.5ex;
102   margin-bottom: 0.5ex;
103   padding: 0.5ex 0.5em; }
104 /* div.wikiadmin { background-color: black; } */
105 form.wikiadmin div { background-color: black; }
106
107
108 /**
109  * Link styles
110  */
111 /* WikiWords */
112 .wiki {
113   text-decoration: none;
114 }
115 .named-wiki {
116   text-decoration: underline;
117 }
118 div.wikitext a.wiki, div.wikitext a.named-wiki {
119   color:           #fff313;
120   font-weight:     bold;
121 }
122
123 .wikitext a.wiki:hover, .wiki:hover {
124   color: #44cff4;
125 }
126
127 /* Action buttons */
128 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe {
129   text-decoration: none;
130   font-family: Arial, Helvetica, sans-serif;
131 }
132
133 a.wikiaction {
134   color:           #115511;
135   font-weight:     bold;
136 }
137 a.wikiaction:hover { color: #1bab11; }
138
139 a.wikiadmin {
140   color: #982505;
141   font-weight:     bold;
142 }
143 a.wikiadmin:hover { color: #ef0032; }
144
145 /* Unknown links */
146 .wikiunknown, .named-wikiunknown {
147   color: gray;
148   font-weight: normal;
149   font-size: 100%;
150 }
151  /* QuestionMark #600 */
152 .wikiunknown a, .named-wikiunknown a {
153   color: #0053db;
154   background: #1b1722;
155   text-decoration: none;
156   font-weight: normal;
157 }
158 .wikiunknown a:hover, .named-wikiunknown a:hover { color: #5791ff; }
159
160 /* Backlinks */
161 .backlinks { text-decoration: none; }
162 h1 .backlinks { text-decoration: none; }
163
164 /* Interwiki links */
165 .wikipage  { font-weight: bold; }
166 .interwiki { text-decoration: none; }
167 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
168 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
169
170
171 /**
172  * Headings
173  */
174 h1 {
175   color: #000;
176   background-color: #fff313;
177 }
178 div.toolbar h1 a.wiki, h1 a.backlinks, h2 a.wiki {
179   border: 0;
180   color: #fff313;
181   background-color: #000;
182   text-decoration: none;
183 }
184 div.toolbar h1 a.wiki, h2 a.wiki {
185   color: #0053db;
186 }
187 div.toolbar h1 a.wiki:hover, h1 a.wiki:hover, h2 a.wiki:hover {
188   border: 0;
189   color: #5791ff;
190 }
191
192 h2 {
193 color:            #000;
194   background-color: #0053db;
195   padding-top:      0.25ex;
196   padding-left:     0.5em;
197   padding-right:    0.5em;
198   padding-bottom:   1px;
199   margin-top:       2ex;
200   margin-left:      0.5em;
201 }
202
203 h3 {
204   color:            #000;
205   background-color: #96c;
206   padding-top:      0.25ex;
207   padding-left:     0.5em;
208   padding-right:    0.5em;
209   padding-bottom:   1px;
210   margin-top:       2ex;
211   margin-left:      1.0em;
212 }
213
214 h4 {
215   color:            #000;
216   background-color: #639;
217   padding-top:      0.25ex;
218   padding-left:     0.5em;
219   padding-right:    0.5em;
220   padding-bottom:   1px;
221   margin-top:       2ex;
222   margin-left:      1.5em;
223 }
224
225 h5 {
226   color:            #000;
227   background-color: #888;
228   padding-top:      0.25ex;
229   padding-left:     0.5em;
230   padding-right:    0.5em;
231   padding-bottom:   1px;
232   margin-top:       2ex;
233   margin-left:      2.0em;
234 }
235
236 h6 {
237   color:            #000;
238   background-color: #aaa;
239   padding-top:      0.25ex;
240   padding-left:     0.5em;
241   padding-right:    0.5em;
242   padding-bottom:   1px;
243   margin-top:       2ex;
244   margin-left:      2.5em;
245 }
246
247
248 /**
249  * Tables
250  */
251 table, td { font-family: Arial, Helvetica, sans-serif; }
252 caption { font-family: Arial, Helvetica, sans-serif; }
253 .pagelist {
254 }
255 .pagelist thead, .pagelist thead u {  }
256 .pagelist tr.evenrow { background: #111; }
257 .pagelist tr.oddrow  { background: black; }
258
259
260 /**
261  * Toolbar
262  */
263 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
264 .toolbar hr { visibility: hidden; }
265 div.toolbar, #signin {
266   color: white;
267   padding: 0;
268   margin:  0;
269 }
270 div.toolbar { margin-top: 1ex; }
271
272 #navbuttons {
273   padding-right: 7em; /* wrap around logo */
274   padding-bottom: 1ex; /* space for h1 */
275 }
276 .editdate {
277   font-family: Arial, Helvetica, sans-serif;
278   color:            #000;
279   background-color: #96c;
280 }
281
282 .toolbar .wiki {
283   color:           #0053db;
284   text-decoration: none;
285   font-weight:   bold;
286 }
287 .toolbar .wiki:hover {
288   color: #5791ff;
289   font-weight:  bold;
290 }
291
292 div.toolbar input {
293   font-family: Helvetica, Arial, sans-serif;
294 }
295
296
297 /**
298  * Edit Page & View Source
299  */
300 /* Make the textarea the full page width */
301 textarea {
302   border: 2px solid #0053db;
303   padding-top:   .5ex;
304   padding-bottom:.5ex;
305   padding-left:  .5em;
306   padding-right: .25em;
307 }
308 textarea.wikiedit {
309   width: 100%;
310   margin-bottom: 0.5ex;
311   margin-top:    0.5ex;
312   padding: 2px;
313 }
314 #editarea-size {
315   margin-top: 1ex;
316   text-align: right;
317   font-size: smaller;
318 }
319
320
321 /**
322  * IncludePage plugin
323  */
324 .transclusion-title {
325   font-style: oblique;
326   font-size: smaller; /* 0.75em; */
327   text-decoration: none;
328   text-align: right;
329
330 .wiki-edithelp, .transclusion {
331   background: #1b1722;
332   border: 1px solid #403752;
333 }
334 .wiki-edithelp {
335   font-size: smaller;
336   margin: 0.5ex 0px;
337 }
338 .wiki-edithelp, div.transclusion {
339   color: #a2a2a2;
340   background-color: #1b1722;
341   padding-left:  0.5em;
342   padding-right: 0.5em;
343   padding-top:    0.5ex;
344   padding-bottom: 0.5ex;
345   margin-left:  0;
346   margin-right: 0;
347 }
348 .wiki-edithelp .wiki {
349   color:           #fff313;
350   font-weight:     bold;
351   text-decoration: none;
352   margin-top: 1ex;
353   margin-bottom: 1ex;
354 }
355 .wiki-edithelp p {
356   font-family: Arial, Helvetica, sans-serif;
357   padding-left:  0.5em;
358   padding-right: 0.5em;
359   padding-top:    0.5ex;
360   padding-bottom: 0.5ex;
361   margin: 0;
362 }
363
364
365 /**
366  * Calendar plugin
367  */
368 table.cal {
369   border: 1px solid #006;
370   background: black;
371   margin: 0.5ex 0.5em;
372   padding: 1px;
373   /* For Mozilla */
374   empty-cells: hide;
375
376
377 /* cells */
378 table.cal td {
379   border: 1px solid #006;
380   color: #fff313;
381   background: black;
382   text-align: right;
383
384
385 /* Month-name header */
386 table.cal-header { font-size: larger; }
387 table.cal-header tr, table.cal-header td { text-align: center; }
388 .cal-arrow {
389   font-weight: bold;
390   text-decoration: none;
391 }
392
393 /* Day-names header */
394 table.cal tbody tr .cal-dayname {  }
395 .cal-dayname td {
396   text-align: center;
397   font-size: smaller;
398   text-decoration: underline;
399 }
400
401 /* Individual days */
402 a.cal-hide { text-decoration: none; }
403
404 /* Today */
405  /* cell */
406 table.cal td.cal-today {
407   margin: 1px;
408   border: 1px solid gray;
409 }
410  /* text */
411 table.cal td.cal-today a.cal-hide {  }
412 /**
413  * Diff Output
414  */
415
416 /* main box */
417 .diff .block {
418   background: #008;
419   padding: 0.5ex 0.5em;
420   margin:  0.5ex 0;
421 }
422
423 /* individual lines */
424 .diff .context { background: black; }
425
426 /* + - line prefix */
427 .diff .block tt{
428   font-weight: bold;
429   font-family: monospace;
430   margin-left: -.6em;
431   color: black;
432 }
433
434 .diff del, .diff ins {
435   font-weight: bold;
436   text-decoration: none;
437 }
438 .diff .original, .diff .deleted { background: #a40024; }
439 .diff .final, .diff .added { background: #cfc; }
440
441 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
442 .diff del { background: #a40024; }
443 .diff ins { background: #9f9; }
444
445
446 /**
447  * PageHistory, Info
448  */
449 table.pageinfo {
450  border: 1px solid #96c;
451 }
452 table.pageinfo td { background: black; }
453 table.pageinfo td.pageinfo {
454   background: #639;
455   font-weight: bold;
456   border: medium solid black;
457   color: black;
458 }
459 .pageinfo-minoredit, .pageinfo-authorid {
460   font-size: smaller;
461   font-style: oblique;
462 }
463
464
465 /**
466  * RecentChanges
467  */
468 .rssicon {
469   border-color: #000;
470   border-width: 2px;
471 }
472 .rc-major {
473   color:       #fff;
474   background:  #000;
475   font-weight: normal;
476   text-decoration: none;
477 }
478
479 img.rssicon {
480   vertical-align: top;
481 }
482 b.wikisummary {
483   color:        #fff313;
484   background:   #000;
485   text-decoration: none;
486   font-weight:  bold;
487 }
488
489
490 /**
491  * Other
492  */
493 .printer { display: none; }
494
495 /* PHP Warnings */
496 div.errors {
497   color: red;
498   background: black;
499   border: medium solid red;
500   clear: both;
501 }
502 .errors h4 {
503   color: black;
504   background: red;
505   text-decoration: underline;
506 }
507 .error { font-family: monospace; }
508 .error ul { font-family: monospace; }
509
510 /* Debug */
511 .debug {
512   color: white;
513   background: black;
514   font-family: monospace;
515   font-size: smaller;
516   margin-top:    16ex;
517   margin-bottom: 4ex;
518   margin-left:  0;
519   margin-right: 0;
520   padding: 0.5ex 0.5em;
521   border: medium solid gray;
522   display: table;
523 }
524
525
526 /* For emacs users
527  *
528  * Local Variables:
529  * mode: c
530  * c-file-style: cc-mode
531  * End:
532  */