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