]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/SpaceWiki/SpaceWiki.css
Remove markup=2
[SourceForge/phpwiki.git] / themes / SpaceWiki / SpaceWiki.css
1 /**
2  * This theme will probably be renamed something like "Space" to
3  * avoid any potential copyright issues.
4  *
5  * http://www.w3.org/TR/REC-CSS2/indexlist.html
6  *
7  * #fff; white
8  * #000; black
9  * #fff313; yellow
10  * #ddc300; darker-yellow
11  * #5791ff; bright-blue
12  * #0053db; blue
13  * #8452b5; magenta
14  * #982505; red
15  * #ef0032; light-red
16  * #009000; green
17  * #1bab11; light-green
18  * #ff7e00; orange
19  */
20
21 /**
22  * General
23  */
24 img {
25     border: 0;
26 }
27
28 form {
29     margin: 0;
30 }
31
32 input.button {
33     font-family: Helvetica, Arial, sans-serif;
34 }
35
36 input {
37     font-family: Helvetica, Arial, sans-serif;
38 }
39
40 textarea, input {
41     color: white;
42     background: black;
43 }
44
45 dt {
46     font-weight: bold;
47 }
48
49 table {
50     border-spacing: 1px;
51     /* For Mozilla */
52     empty-cells: show;
53 }
54
55 td {
56     color: white;
57 }
58
59 caption {
60     caption-side: top;
61     text-align: left;
62     margin-bottom: .5ex;
63     /* Allow the caption to extend to the full page width */
64     width: 100%;
65 }
66
67 a {
68     color: #0053db;
69 }
70
71 a:hover {
72     color: #5791ff;
73 }
74
75 /* generic classes ----------------------------------------------- */
76
77 .tt {
78     font-family: monospace;
79 }
80
81 .strike {
82     text-decoration: line-through;
83 }
84
85 .align-left {
86     text-align: left;
87 }
88
89 .align-right {
90     text-align: right;
91 }
92
93 .align-center {
94     text-align: center;
95 }
96
97 .top {
98     vertical-align: top;
99 }
100
101 .nowrap {
102     white-space: nowrap;
103 }
104
105 .fullwidth {
106     width: 100%;
107 }
108
109 /* --------------------------------------------------------------- */
110
111 /**
112  * Wiki
113  */
114 body {
115     /* the background image url is relative to this file's directory */
116     /*background-image:  url(images/starfield.png) repeat; */
117     font-family: Helvetica, Arial, sans-serif;
118     color: white;
119     background-color: black;
120 }
121
122 /* Main wiki text box */
123 div.wikitext {
124     clear: both;
125 }
126
127 /**
128  * <hr>
129  * Not all browsers support this, but it's a cool trick when it is!
130  */
131 div.wikitext hr {
132     visibility: hidden; /* for Mozilla */
133     background-image: url("images/hr.png");
134     background-repeat: repeat-x;
135     background-position: center;
136 }
137
138 /* for Mozilla */
139 div.wikitext hr:after {
140     visibility: visible;
141     display: block;
142     content: url("images/hr.png");
143     text-align: center;
144     margin-top: -2.5ex;
145     margin-bottom: 1ex;
146 }
147
148 div.wikitext pre {
149     font-family: monospace;
150 }
151
152 /**
153  * Wiki Forms
154  *
155  * The div inside the wikiadmin upload form does not
156  * have a class yet, so it must be referenced indirectly
157  */
158 div.wikiaction, form.wikiadmin div {
159     background-color: #002;
160     border: 1px solid #006;
161     margin-top: 0.5ex;
162     margin-bottom: 0.5ex;
163     padding: 0.5ex 0.5em;
164 }
165
166 /* div.wikiadmin { background-color: black; } */
167 form.wikiadmin div {
168     background-color: black;
169 }
170
171 /**
172  * Link styles
173  */
174 /* WikiWords */
175 .wiki {
176     text-decoration: none;
177 }
178
179 .named-wiki {
180     text-decoration: underline;
181 }
182
183 div.wikitext a.wiki, div.wikitext a.named-wiki {
184     color: #fff313;
185     font-weight: bold;
186 }
187
188 .wikitext a.wiki:hover, .wiki:hover {
189     color: #44cff4;
190 }
191
192 /* Action buttons */
193 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe {
194     text-decoration: none;
195     font-family: Arial, Helvetica, sans-serif;
196 }
197
198 a.wikiaction {
199     color: #115511;
200     font-weight: bold;
201 }
202
203 a.wikiaction:hover {
204     color: #1bab11;
205 }
206
207 a.wikiadmin {
208     color: #982505;
209     font-weight: bold;
210 }
211
212 a.wikiadmin:hover {
213     color: #ef0032;
214 }
215
216 /* Unknown links */
217 .wikiunknown, .named-wikiunknown {
218     color: gray;
219     font-weight: normal;
220     font-size: 100%;
221 }
222
223 /* QuestionMark #600 */
224 .wikiunknown a, .named-wikiunknown a {
225     color: #0053db;
226     background: #1b1722;
227     text-decoration: none;
228     font-weight: normal;
229 }
230
231 .wikiunknown a:hover, .named-wikiunknown a:hover {
232     color: #5791ff;
233 }
234
235 /* Backlinks */
236 .backlinks {
237     text-decoration: none;
238 }
239
240 h1 .backlinks {
241     text-decoration: none;
242 }
243
244 /* Interwiki links */
245 .wikipage {
246     font-weight: bold;
247 }
248
249 .interwiki {
250     text-decoration: none;
251 }
252
253 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage {
254     font-style: oblique;
255 }
256
257 .interwiki .wikipage, i .interwiki, em .interwiki {
258     font-style: normal;
259 }
260
261 /**
262  * Headings
263  */
264 h1 {
265     color: #000;
266     background-color: #fff313;
267 }
268
269 div.toolbar h1 a.wiki, h1 a.backlinks, h2 a.wiki {
270     border: 0;
271     color: #fff313;
272     background-color: #000;
273     text-decoration: none;
274 }
275
276 div.toolbar h1 a.wiki, h2 a.wiki {
277     color: #0053db;
278 }
279
280 div.toolbar h1 a.wiki:hover, h1 a.wiki:hover, h2 a.wiki:hover {
281     border: 0;
282     color: #5791ff;
283 }
284
285 h2, h3, h4, h5, h6 {
286     display: inline;
287     padding-top: 0.25ex;
288     padding-left: 0.5em;
289     padding-right: 0.25em;
290     padding-bottom: 1px;
291     margin-top: 2ex;
292     margin-bottom: 0;
293 }
294
295 h2:after, h3:after, h4:after, h5:after, h6:after {
296     display: block;
297     content: " | ";
298     color: black;
299     margin-left: 0.3em;
300 }
301
302 h2:after {
303     border-left: 0.5em solid #0053db;
304     border-top: 0.15ex solid #0053db;
305 }
306
307 h3:after {
308     border-left: 0.5em solid #96c;
309     border-top: 0.15ex solid #96c;
310 }
311
312 h4:after {
313     border-left: 0.5em solid #639;
314     border-top: 0.15ex solid #639;
315 }
316
317 h5:after {
318     border-left: 0.5em solid #888;
319     border-top: 0.15ex solid #888;
320 }
321
322 h6:after {
323     border-left: 0.5em solid #aaa;
324     border-top: 0.15ex solid #aaa;
325 }
326
327 h2 {
328     color: #0053db;
329     border-left: 0.25em solid #0053db;
330 }
331
332 h3 {
333     color: #96c;
334     border-left: 0.25em solid #96c;
335 }
336
337 h4 {
338     color: #639;
339     border-left: 0.25em solid #639;
340 }
341
342 h5 {
343     color: #888;
344     border-left: 0.25em solid #888;
345 }
346
347 h6 {
348     color: #aaa;
349     border-left: 0.25em solid #aaa;
350 }
351
352 /* Mozilla RecentChanges Sidebar */
353 body.sidebar {
354     font-size: smaller;
355     margin: 0.5em;
356 }
357
358 body.sidebar div.wikitext {
359     padding: 0.5em;
360 }
361
362 body.sidebar div.wikitext ul {
363     padding-left: 0;
364     line-height: 150%
365 }
366
367 body.sidebar div.wikitext h2:after {
368     margin-bottom: 1ex;
369     vertical-align: top;
370 }
371
372 /**
373  * Tables
374  */
375 table, td {
376     font-family: Arial, Helvetica, sans-serif;
377 }
378
379 caption {
380     font-family: Arial, Helvetica, sans-serif;
381 }
382
383 .pagelist {
384 }
385
386 .pagelist thead, .pagelist thead u {
387 }
388
389 .pagelist tr.evenrow {
390     background: #111;
391 }
392
393 .pagelist tr.oddrow {
394     background: black;
395 }
396
397 th.gridbutton {
398     background-color: ThreeDLightShadow;
399     color: black;
400     font-family: Tahoma, Arial, Helvetica, sans-serif;
401     font-size: small;
402     font-weight: normal;
403     margin: 5px 0;
404     white-space: nowrap;
405     max-height: 24px;
406     padding: 5px 0 5px 0;
407     border-width: 1px;
408     border-style: solid;
409     border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
410 }
411
412 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
413     text-decoration: none;
414     font-size: small;
415     font-weight: normal;
416     font-family: Tahoma, Arial, Helvetica, sans-serif;
417     background-color: ThreeDLightShadow;
418     color: black;
419 }
420
421 /**
422  * Toolbar
423  */
424 .toolbar, input.button, #signin {
425     font-family: Arial, Helvetica, sans-serif;
426 }
427
428 .toolbar hr {
429     visibility: hidden;
430 }
431
432 div.toolbar, #signin {
433     color: white;
434     padding: 0;
435     margin: 0;
436 }
437
438 div.toolbar {
439     margin-top: 1ex;
440 }
441
442 #navbuttons {
443     margin-right: 7em; /* wrap around logo */
444     margin-bottom: 1ex; /* space for h1 */
445 }
446
447 #navbuttons input {
448     position: relative;
449     bottom: -2px;
450 }
451
452 .editdate {
453     font-family: Arial, Helvetica, sans-serif;
454     color: #96c;
455 }
456
457 .toolbar .wiki {
458     color: #0053db;
459     text-decoration: none;
460     font-weight: bold;
461 }
462
463 .toolbar .wiki:hover {
464     color: #5791ff;
465     font-weight: bold;
466 }
467
468 div.toolbar input {
469     font-family: Helvetica, Arial, sans-serif;
470 }
471
472 /**
473  * Edit Page & View Source
474  */
475 /* Make the textarea the full page width */
476 textarea {
477     border: 2px solid #0053db;
478     padding-top: .5ex;
479     padding-bottom: .5ex;
480     padding-left: .5em;
481     padding-right: .25em;
482 }
483
484 textarea.wikiedit {
485     width: 100%;
486     margin-bottom: 0.5ex;
487     margin-top: 0.5ex;
488     padding: 2px;
489 }
490
491 #editarea-size {
492     margin-top: 1ex;
493     text-align: right;
494     font-size: smaller;
495 }
496
497 /* IncludePage plugin ================================================= */
498
499 .transclusion-title {
500     font-style: oblique;
501     font-size: smaller;
502     text-decoration: none;
503     text-align: right;
504 }
505
506 .wiki-edithelp, .transclusion {
507     background: #1b1722;
508     border: 1px solid #403752;
509 }
510
511 .wiki-edithelp {
512     font-size: smaller;
513     margin: 0.5ex 0;
514 }
515
516 .wiki-edithelp, div.transclusion {
517     color: #a2a2a2;
518     background-color: #1b1722;
519     padding-left: 0.5em;
520     padding-right: 0.5em;
521     padding-top: 0.5ex;
522     padding-bottom: 0.5ex;
523     margin-left: 0;
524     margin-right: 0;
525 }
526
527 .wiki-edithelp .wiki {
528     color: #fff313;
529     font-weight: bold;
530     text-decoration: none;
531     margin-top: 1ex;
532     margin-bottom: 1ex;
533 }
534
535 .wiki-edithelp p {
536     font-family: Arial, Helvetica, sans-serif;
537     padding-left: 0.5em;
538     padding-right: 0.5em;
539     padding-top: 0.5ex;
540     padding-bottom: 0.5ex;
541     margin: 0;
542 }
543
544 /**
545  * Calendar plugin
546  */
547 table.cal {
548     border: 1px solid #006;
549     background: black;
550     margin: 0.5ex 0.5em;
551     padding: 1px;
552     /* For Mozilla */
553     empty-cells: hide;
554 }
555
556 /* cells */
557 table.cal td {
558     border: 1px solid #006;
559     color: #fff313;
560     background: black;
561     text-align: right;
562 }
563
564 /* Month-name header */
565 table.cal-header {
566     font-size: larger;
567 }
568
569 table.cal-header tr, table.cal-header td {
570     text-align: center;
571 }
572
573 .cal-arrow {
574     font-weight: bold;
575     text-decoration: none;
576 }
577
578 /* Day-names header */
579 table.cal tbody tr .cal-dayname {
580 }
581
582 .cal-dayname td {
583     text-align: center;
584     font-size: smaller;
585     text-decoration: underline;
586 }
587
588 /* Individual days */
589 a.cal-hide {
590     text-decoration: none;
591 }
592
593 /* Today */
594 /* cell */
595 table.cal td.cal-today {
596     margin: 1px;
597     border: 1px solid gray;
598 }
599
600 /* text */
601 table.cal td.cal-today a.cal-hide {
602 }
603
604 /**
605  * Diff Output
606  */
607
608 /* main box */
609 .diff .block {
610     background: #008;
611     padding: 0.5ex 0.5em;
612     margin: 0.5ex 0;
613 }
614
615 /* individual lines */
616 .diff .context {
617     background: black;
618 }
619
620 /* + - line prefix */
621 .diff .block tt {
622     font-weight: bold;
623     font-family: monospace;
624     margin-left: -.6em;
625     color: black;
626 }
627
628 .diff del, .diff ins {
629     font-weight: bold;
630     text-decoration: none;
631 }
632
633 .diff .original, .diff .deleted {
634     background: #a40024;
635 }
636
637 .diff .final, .diff .added {
638     background: #cfc;
639 }
640
641 .diff del {
642     background: #a40024;
643 }
644
645 .diff ins {
646     background: #9f9;
647 }
648
649 /**
650  * PageHistory, Info
651  */
652 table.pageinfo {
653     border: 1px solid #96c;
654 }
655
656 table.pageinfo td {
657     background: black;
658 }
659
660 table.pageinfo td.pageinfo {
661     border-right: 0.15em solid #639;
662     font-weight: bold;
663     color: #639;
664     background: #203;
665 }
666
667 table.pageinfo td + td.pageinfo {
668     border-right: 0;
669 }
670
671 .pageinfo-minoredit, .pageinfo-authorid {
672     font-size: smaller;
673     font-style: oblique;
674 }
675
676 /**
677  * RecentChanges
678  */
679 .rssicon {
680     border-color: #000;
681     border-width: 2px;
682 }
683
684 .rc-major {
685     color: #fff;
686     background: #000;
687     font-weight: normal;
688     text-decoration: none;
689 }
690
691 img.rssicon {
692     vertical-align: top;
693 }
694
695 b.wikisummary {
696     color: #fff313;
697     background: #000;
698     text-decoration: none;
699     font-weight: bold;
700 }
701
702 /**
703  * Other
704  */
705 .printer {
706     display: none;
707 }
708
709 .error {
710     color: red;
711     background: black;
712     border: medium solid red;
713     clear: both;
714 }
715
716 /* Debug */
717 .debug {
718     color: white;
719     background: black;
720     font-family: monospace;
721     font-size: smaller;
722     margin-top: 16ex;
723     margin-bottom: 4ex;
724     margin-left: 0;
725     margin-right: 0;
726     padding: 0.5ex 0.5em;
727     border: medium solid gray;
728     display: table;
729 }
730
731 .clear-floats {
732     clear: both;
733 }
734
735 /**
736  * Search Results
737  */
738 .search-context {
739     background: white;
740     font-style: oblique;
741 }
742
743 .search-term {
744     background: yellow;
745     font-weight: normal;
746 }
747
748 /**
749  * General
750  */
751 input.numeric {
752     text-align: right;
753 }
754
755 input {
756     margin: 0;
757     border-left: 1px solid #0053db;
758     border-right: 1px solid #0053db;
759     border-top: 1px solid #0053db;
760     border-bottom: 1px solid #0053db;
761     text-align: center;
762 }
763
764 input[type=text] {
765     border-left: 2px solid #0053db;
766     border-right: 2px solid #0053db;
767     border-bottom: 2px solid #0053db;
768     border-top: 0;
769     margin-top: 2px;
770     padding: 1px;
771 }
772
773 input[type=submit] {
774     color: #0053db;
775     border-left: 1.5em solid #0053db;
776     border-right: 0.15em solid #0053db;
777     border-top: 2px solid #0053db;
778     border-bottom: 2px solid #0053db;
779     padding-left: 0;
780     padding-right: 0;
781 }
782
783 input[type=submit]:hover {
784     color: #5791ff;
785     border-color: #5791ff;
786 }
787
788 .logo img {
789     margin-bottom: 1ex;
790 }
791
792 /**
793  * Wiki Forms
794  *
795  * The div inside the wikiadmin upload form does not
796  * have a class yet, so it must be referenced indirectly
797  */
798 /* div.wikiaction, div.wikiadmin { */
799 div.wikiaction, form.wikiadmin div {
800     /* Emulate the display behaviour of a table, to shrink it's width. */
801     position: relative;
802     display: table;
803 }
804
805 /* Add space between the input field and following buttons, but not after the last button. */
806 div.wikiaction input[type=text],
807 div.wikiadmin input[type=text],
808 form.wikiadmin input[type=file] {
809     margin-right: 0.5em;
810 }
811
812 /**
813  * Links
814  */
815
816 /* Make wikiaction links look futuristic */
817 a.wikiaction {
818     border-left: 1.5em solid #115511;
819     border-right: 0.15em solid #115511;
820     padding-left: 0.15em;
821     padding-right: 0.3em;
822 }
823
824 a.wikiaction:hover {
825     border-right: 0.15em solid #1bab11;
826 }
827
828 a.wikiadmin {
829     border-left: 1.5em solid #982505;
830     border-right: 0.15em solid #982505;
831     padding-left: 0.15em;
832     padding-right: 0.3em;
833 }
834
835 a.wikiadmin:hover {
836     border-right: .15em solid #ef0032;
837 }
838
839 /* QuestionMark */
840 .wikiunknown a, .named-wikiunknown a {
841     border: 1px solid black;
842     padding-left: 1px;
843     padding-right: 1px;
844     padding-top: 1px;
845     margin-right: 1px;
846     font-size: smaller;
847 }
848
849 .wikiunknown a:hover, .named-wikiunknown a:hover {
850     border: 1px solid #403752;
851 }
852
853 a.wiki-rc-action {
854     border-left: 0.15em solid #0053db;
855     padding-left: 0.2em;
856     padding-right: 0.2em;
857     padding-bottom: 0.2ex;
858     margin-left: -0.25em;
859 }
860
861 li.rc-major a.wiki-rc-action,
862 li.rc-minor a.wiki-rc-action {
863     border-left: 0;
864     margin-left: 0;
865     border-right: 0.25em solid #0053db;
866     padding-right: 0.25em;
867     margin-right: 0.8em;
868 }
869
870 p.wiki-rc-action a.wiki-rc-action:first-child {
871     border-left: 0;
872     margin-left: 0;
873     border-right: 0;
874 }
875
876 li.rc-major, li.rc-minor {
877     display: table;
878     /*border-bottom: 1px solid #222;*/
879     margin-bottom: .25ex;
880     padding-left: 0.25em;
881     padding-right: 0.25em;
882 }
883
884 li.rc-minor {
885     font-size: 75%;
886     margin-top: .5ex;
887     border-bottom: 0;
888     padding-left: 1em;
889 }
890
891 li.rc-minor a.wiki-rc-action {
892     border-right: 0.15em solid #0053db;
893     margin-right: 2em;
894 }
895
896 li.rc-major a.wiki-rc-action:hover,
897 li.rc-minor a.wiki-rc-action:hover,
898 a.wiki-rc-action:hover {
899     border-color: #5791ff;
900 }
901
902 /* Link icons */
903 img.linkicon {
904     vertical-align: middle;
905 }
906
907 /**
908  * Headings
909  */
910 h1 {
911     padding-top: 0.25ex;
912     padding-left: 0.5em;
913     padding-right: 0.25em;
914     padding-bottom: 1px;
915 }
916
917 div.toolbar h1 a.wiki, h1 a.backlinks {
918     padding-top: 0.25ex;
919     padding-left: 0.25em;
920     padding-right: 0.25em;
921     padding-bottom: 1px;
922 }
923
924 h2 a.wiki {
925     padding-top: 0.25ex;
926     padding-left: 0.25em;
927     padding-right: 0.25em;
928     padding-bottom: 1px;
929 }
930
931 div.toolbar input {
932     text-align: left;
933 }
934
935 /**
936  * Edit Page & View Source
937  */
938 div.transclusion {
939     font-size: smaller;
940 }
941
942 /**
943  * Diff Output
944  */
945 .diff .block div {
946     position: relative;
947     padding-left: 1.5em;
948 }
949
950 .diff .prefix {
951     position: absolute;
952     left: 0;
953     top: 0;
954 }
955
956 .editdate {
957     padding-top: 0.25ex;
958     padding-left: 0.5em;
959     padding-right: 0.5em;
960     padding-bottom: 1px;
961     margin-top: 2em;
962     margin-bottom: 0;
963
964     border-left: 0.5em solid #96c;
965     border-top: 0.15em solid #96c;
966 }
967
968 div.toolbar .wiki {
969     border-left: 1.5em solid #0053db;
970     border-right: 0.15em solid #0053db;
971     padding-left: 0.15em;
972     padding-right: 0.3em;
973 }
974
975 div.toolbar .wiki:hover {
976     border-right: 0.15em solid #5791ff;
977 }
978
979 b.wikisummary {
980     padding: 2px;
981     margin: 1px;
982 }
983
984 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
985
986 /*
987  * table class="boxed"
988  * will put a border around the table (but not around the cells)
989  *
990  * table class="bordered"
991  * will put a border around the table and the cells
992  *
993  * In both cases, the caption will be bold and centered under the table
994  *
995  * In both cases, the headers (th) will have a "#d8d8d8" background
996  */
997
998 table.boxed, table.bordered, table.bordered th, table.bordered td {
999     border-width: 1px;
1000     border-style: solid;
1001     border-collapse: collapse;
1002     vertical-align: top;
1003 }
1004
1005 table.boxed td, table.bordered td,
1006 table.boxed th, table.bordered th {
1007     padding-left: 5px;
1008     padding-right: 5px;
1009     padding-top: 0;
1010     padding-bottom: 0;
1011 }
1012
1013 table.boxed caption, table.bordered caption {
1014     text-align: center;
1015     font-weight: bold;
1016     caption-side: bottom;
1017     padding-top: 0.8em;
1018 }
1019
1020 table.boxed th, table.bordered th {
1021     font-weight: bold;
1022     background-color: #d8d8d8;
1023 }
1024
1025 /* For emacs users
1026  *
1027  * Local Variables:
1028  * mode: c
1029  * c-file-style: cc-mode
1030  * End:
1031  */