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