]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/SpaceWiki/SpaceWiki.css
Improvements to display of headings and Info page, more formatting for RecentChanges...
[SourceForge/phpwiki.git] / themes / SpaceWiki / SpaceWiki.css
1 /**
2  * $Id: SpaceWiki.css,v 1.2 2002-03-03 03:54:31 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: #002;
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, h3, h4, h5, h6 {
193   display: table;
194   width: auto;
195   padding-top:      0.25ex;
196   padding-left:     0.25em;
197   padding-right:    0.25em;
198   padding-bottom:   1px;
199   margin-top:    2ex;
200   margin-bottom: 0;
201 }
202
203 h2 {
204   color: #0053db;
205   border-left: 0.25em solid #0053db;
206   border-right: 20em solid #0053db;
207 }
208
209 h3 {
210   color: #96c;
211   border-left: 0.25em solid #96c;
212   border-right: 26em solid #96c;
213 }
214
215 h4 {
216   color: #639;
217   border-left: 0.25em solid #639;
218   border-right: 30em solid #639;
219 }
220
221 h5 {
222   color: #888;
223   border-left: 0.25em solid #888;
224   border-right: 36em solid #888;
225 }
226
227 h6 {
228   color: #aaa;
229   border-left: 0.25em solid #aaa;
230   border-right: 42em solid #aaa;
231 }
232
233
234 /**
235  * Tables
236  */
237 table, td { font-family: Arial, Helvetica, sans-serif; }
238 caption { font-family: Arial, Helvetica, sans-serif; }
239 .pagelist {
240 }
241 .pagelist thead, .pagelist thead u {  }
242 .pagelist tr.evenrow { background: #111; }
243 .pagelist tr.oddrow  { background: black; }
244
245
246 /**
247  * Toolbar
248  */
249 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
250 .toolbar hr { visibility: hidden; }
251 div.toolbar, #signin {
252   color: white;
253   padding: 0;
254   margin:  0;
255 }
256 div.toolbar { margin-top: 1ex; }
257
258 #navbuttons {
259   margin-right: 7em; /* wrap around logo */
260   margin-bottom: 1ex; /* space for h1 */
261 }
262 #navbuttons input {
263   position: relative;
264   bottom: -2px;
265 }
266 .editdate {
267   font-family: Arial, Helvetica, sans-serif;
268   color:            #000;
269   background-color: #96c;
270 }
271
272 .toolbar .wiki {
273   color:           #0053db;
274   text-decoration: none;
275   font-weight:   bold;
276 }
277 .toolbar .wiki:hover {
278   color: #5791ff;
279   font-weight:  bold;
280 }
281
282 div.toolbar input {
283   font-family: Helvetica, Arial, sans-serif;
284 }
285
286
287 /**
288  * Edit Page & View Source
289  */
290 /* Make the textarea the full page width */
291 textarea {
292   border: 2px solid #0053db;
293   padding-top:   .5ex;
294   padding-bottom:.5ex;
295   padding-left:  .5em;
296   padding-right: .25em;
297 }
298 textarea.wikiedit {
299   width: 100%;
300   margin-bottom: 0.5ex;
301   margin-top:    0.5ex;
302   padding: 2px;
303 }
304 #editarea-size {
305   margin-top: 1ex;
306   text-align: right;
307   font-size: smaller;
308 }
309
310
311 /**
312  * IncludePage plugin
313  */
314 .transclusion-title {
315   font-style: oblique;
316   font-size: smaller; /* 0.75em; */
317   text-decoration: none;
318   text-align: right;
319
320 .wiki-edithelp, .transclusion {
321   background: #1b1722;
322   border: 1px solid #403752;
323 }
324 .wiki-edithelp {
325   font-size: smaller;
326   margin: 0.5ex 0px;
327 }
328 .wiki-edithelp, div.transclusion {
329   color: #a2a2a2;
330   background-color: #1b1722;
331   padding-left:  0.5em;
332   padding-right: 0.5em;
333   padding-top:    0.5ex;
334   padding-bottom: 0.5ex;
335   margin-left:  0;
336   margin-right: 0;
337 }
338 .wiki-edithelp .wiki {
339   color:           #fff313;
340   font-weight:     bold;
341   text-decoration: none;
342   margin-top: 1ex;
343   margin-bottom: 1ex;
344 }
345 .wiki-edithelp p {
346   font-family: Arial, Helvetica, sans-serif;
347   padding-left:  0.5em;
348   padding-right: 0.5em;
349   padding-top:    0.5ex;
350   padding-bottom: 0.5ex;
351   margin: 0;
352 }
353
354
355 /**
356  * Calendar plugin
357  */
358 table.cal {
359   border: 1px solid #006;
360   background: black;
361   margin: 0.5ex 0.5em;
362   padding: 1px;
363   /* For Mozilla */
364   empty-cells: hide;
365
366
367 /* cells */
368 table.cal td {
369   border: 1px solid #006;
370   color: #fff313;
371   background: black;
372   text-align: right;
373
374
375 /* Month-name header */
376 table.cal-header { font-size: larger; }
377 table.cal-header tr, table.cal-header td { text-align: center; }
378 .cal-arrow {
379   font-weight: bold;
380   text-decoration: none;
381 }
382
383 /* Day-names header */
384 table.cal tbody tr .cal-dayname {  }
385 .cal-dayname td {
386   text-align: center;
387   font-size: smaller;
388   text-decoration: underline;
389 }
390
391 /* Individual days */
392 a.cal-hide { text-decoration: none; }
393
394 /* Today */
395  /* cell */
396 table.cal td.cal-today {
397   margin: 1px;
398   border: 1px solid gray;
399 }
400  /* text */
401 table.cal td.cal-today a.cal-hide {  }
402 /**
403  * Diff Output
404  */
405
406 /* main box */
407 .diff .block {
408   background: #008;
409   padding: 0.5ex 0.5em;
410   margin:  0.5ex 0;
411 }
412
413 /* individual lines */
414 .diff .context { background: black; }
415
416 /* + - line prefix */
417 .diff .block tt{
418   font-weight: bold;
419   font-family: monospace;
420   margin-left: -.6em;
421   color: black;
422 }
423
424 .diff del, .diff ins {
425   font-weight: bold;
426   text-decoration: none;
427 }
428 .diff .original, .diff .deleted { background: #a40024; }
429 .diff .final, .diff .added { background: #cfc; }
430
431 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
432 .diff del { background: #a40024; }
433 .diff ins { background: #9f9; }
434
435
436 /**
437  * PageHistory, Info
438  */
439 table.pageinfo {
440  border: 1px solid #96c;
441 }
442 table.pageinfo td { background: black; }
443 table.pageinfo td.pageinfo {
444   border-right: 0.15em solid #639;
445   font-weight: bold;
446   color: #639;
447   background: #203;
448 }
449 table.pageinfo td + td.pageinfo {
450   border-right: 0;
451 }
452 .pageinfo-minoredit, .pageinfo-authorid {
453   font-size: smaller;
454   font-style: oblique;
455 }
456
457
458 /**
459  * RecentChanges
460  */
461 .rssicon {
462   border-color: #000;
463   border-width: 2px;
464 }
465 .rc-major {
466   color:       #fff;
467   background:  #000;
468   font-weight: normal;
469   text-decoration: none;
470 }
471
472 img.rssicon {
473   vertical-align: top;
474 }
475 b.wikisummary {
476   color:        #fff313;
477   background:   #000;
478   text-decoration: none;
479   font-weight:  bold;
480 }
481
482
483 /**
484  * Other
485  */
486 .printer { display: none; }
487
488 /* PHP Warnings */
489 div.errors {
490   color: red;
491   background: black;
492   border: medium solid red;
493   clear: both;
494 }
495 .errors h4 {
496   color: black;
497   background: red;
498   text-decoration: underline;
499 }
500 .error { font-family: monospace; }
501 .error ul { font-family: monospace; }
502
503 /* Debug */
504 .debug {
505   color: white;
506   background: black;
507   font-family: monospace;
508   font-size: smaller;
509   margin-top:    16ex;
510   margin-bottom: 4ex;
511   margin-left:  0;
512   margin-right: 0;
513   padding: 0.5ex 0.5em;
514   border: medium solid gray;
515   display: table;
516 }
517
518
519 /* For emacs users
520  *
521  * Local Variables:
522  * mode: c
523  * c-file-style: cc-mode
524  * End:
525  */