]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/phpwiki.css
added Sidebar existing calendar dates
[SourceForge/phpwiki.git] / themes / default / phpwiki.css
1 /**
2  * $Id: phpwiki.css,v 1.40 2004-06-03 16:56:22 rurban Exp $
3  *
4  * This incarnation of this stylesheet is a complete rewrite from the
5  * ground up.
6  *
7  * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting
8  * tool for mapping the more complex CSS node selectors, such as those
9  * used to reference the various CalendarPlugin elements.
10  */
11
12 /**
13  * NS4 doesn't grok @import. This allows us to put things which
14  * break NS4 in another file.
15  */
16 @import url(phpwiki-heavy.css);
17
18
19 /**
20  * General
21  */ 
22 img { border: 0ex; }
23
24 form { margin: 0ex; }
25
26 table {
27   border-spacing: 1px;
28   /* For Mozilla */
29   empty-cells: show;
30 }
31
32 caption {
33   caption-side: top;
34   text-align: left;
35   margin-bottom: .5ex;
36   /* Allow the caption to extend to the full page width
37      Mac ie5.1 ignores this*/
38   width: 100%;
39 }
40
41
42 /**
43  * Wiki
44  */
45 body {
46   /* ivory #ffe #fffff0*/
47   background: #fffff0;
48   font-family: Arial, Helvetica, sans-serif;
49   font-size: 85%; /* The default is too large. But enlarge monospace below */
50   margin: 1.5ex 1em;
51 }
52
53 div.wikitext hr { height: 1px; }
54
55 div.wikitext pre { font-family: monospace; }
56
57
58 /**
59  * PageTypes
60  */
61 /* Main wiki text box */
62 div.wikitext {
63   margin-top:    1ex;
64   margin-bottom: 0.5ex;
65   background: white;
66   /* Netscape 4 requires this 1px border.
67      Without it, the paper borders below cause
68      the white background to disappear. */
69   border: 1px black solid;
70   /* "paper" borders */
71   border-top:  1px #e8e6df solid;
72   border-left: 1px #e8e6df solid;
73   border-bottom: 1px #d2d2d2 solid;
74   border-right:  1px #b2b2b2 solid;
75   padding-left:  0.8em; 
76   padding-right: 0.8em;
77   padding-top:    0.5ex;
78   padding-bottom: 0.5ex;
79   /*This breaks Netscape 4: (display does not go full width).
80    * width: auto;
81    */
82   clear: both;
83 }
84 /* .interwiki-map thead td { text-decoration: underline; } */
85
86 /* Mozilla RecentChanges Sidebar */
87 body.sidebar {
88   font-size: smaller;
89   margin: 0.5em;
90 }
91 body.sidebar div.wikitext {
92   padding: 0.5em;
93 }
94 body.sidebar div.wikitext ul { padding-left: 1em; }
95 body.sidebar h2 { margin-top: 0; }
96
97
98 /**
99  * Wiki Forms
100  * 
101  * The div inside the wikiadmin upload form does not
102  * have a class yet, so it must be referenced indirectly
103  */
104 div.wikiaction { background-color: #eee; }
105 /* div.wikiadmin { background-color: #fee; } */
106 form.wikiadmin div { background-color: #fee; }
107
108
109 /**
110  * Link styles
111  */
112 .wiki, .named-wiki {
113   text-decoration: none;
114   /* font-weight: normal; */
115   font-weight: bold;
116 }
117
118 /* Action buttons */
119 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
120 input.wikiaction, input.button, input.wikiadmin {
121   text-decoration: none;
122   font-family: Arial, Helvetica, sans-serif;
123   /* don't wrap text buttons */
124   white-space: nowrap;
125   /*font-size: inherit; */
126 }
127
128 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button { background-color: #ddd; }
129
130 .wikiunsafe { background-color: #fcc; }
131
132 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin  { background-color: #fdd; }
133
134 /* Unknown links */
135 .wikiunknown, .named-wikiunknown {
136   font-weight: normal;
137   font-size: 100%;
138 }
139  /* QuestionMark #600 */
140 .wikiunknown a, .named-wikiunknown a {
141   color: #447;
142   background-color: #eee;
143   text-decoration: none;
144   font-weight: normal;
145   font-size: smaller;
146 }
147
148 /* Backlinks */
149 .backlinks {
150   text-decoration: underline;
151   color: #006;
152 }
153 h1 .backlinks { text-decoration: underline; }
154
155 /* Interwiki links */
156 /* .wikipage  { font-weight: bold; } */
157 .wikipage  { font-weight: normal; }
158 .interwiki { text-decoration: none; }
159 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
160 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
161
162
163 /**
164  * headings: Georgia
165  */
166 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
167
168 h1 { margin: 0; font-size: 140% }
169
170
171 /**
172  * Tables
173  */
174 table, td { font-family: Arial, Helvetica, sans-serif; }
175 caption { font-family: Arial, Helvetica, sans-serif; }
176 .pagelist { }
177 .pagelist thead td {
178   background: #e8e8e8;
179   text-decoration: none;
180   font-weight: bold;
181   font-size: smaller;
182 }
183 .pagelist thead td u { text-decoration: none; }
184 .pagelist tr.evenrow { background: #eee; }
185 .pagelist tr.oddrow  { background: white; }
186 th.gridbutton {
187   background-color: threedlightshadow;
188   color: black;
189   font-family: Tahoma, sans-serif, Arial, Helvetica;
190   font-size: small;
191   font-weight: normal;
192   /*font-style: menu;*/
193   white-space: nowrap;
194   margin: 5px 0px;
195   max-height: 24px;
196   padding: 5px 0px 5px 0px;
197   border-width: 1px;
198   border-style: solid;
199   border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
200 }
201 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
202   text-decoration: none;
203   font-size: small;
204   font-weight: normal;
205   /*font-style: menu;*/
206   font-family: Tahoma, sans-serif, Arial, Helvetica;
207   background-color: threedlightshadow;
208   color: black;
209 }
210
211
212 /**
213  * Toolbar
214  */
215 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
216
217 .toolbar {
218   padding: 0;
219   margin:  0;
220 }
221 .edit-toolbar {
222   padding: 0;
223   margin:  0;
224 }
225 .edit-toolbar img, .edit-toolbar input {
226   background-color: #fff;
227   border: 1px solid ButtonFace;
228 }
229
230 #navbuttons {
231   padding-right: 4em; /* wrap around logo */
232   padding-bottom: 1ex; /* space for h1 */
233 }
234 .editdate {
235   font-family: Arial, Helvetica, sans-serif;
236   margin: 0;
237   padding: 0;
238   padding-top: 0.25ex;
239 }
240 #logo img {
241   /* Netscape 4 requires this 1px border.
242      Without it, the paper borders below cause
243      the white background to disappear. */
244   border: 1px black solid;
245   /* "paper" borders */
246   border-top:  1px #e8e6df solid;
247   border-left: 1px #e8e6df solid;
248   border-bottom: 1px #d2d2d2 solid;
249   border-right:  1px #b2b2b2 solid;
250 }
251
252 /**
253  * Edit Page & View Source
254  */
255
256 /* Make the textarea the full page width */
257 textarea.wikiedit {
258   width: 100%;
259   margin-bottom: 0.5ex;
260   margin-top:    0.5ex;
261   padding: 2px;
262 }
263
264 #editarea-size {
265   margin-top: 1ex;
266   text-align: right;
267   font-size: smaller;
268 }
269 #search-replace {
270   margin-top: 1ex;
271   text-align: left;
272   font-size: smaller;
273 }
274 #toolbar { padding:0px; }
275
276 /**
277  * Search Results
278  */
279 .search-context { background: white; }
280 .search-term {
281   background: yellow;
282   font-weight: normal;
283 }
284
285 /* IncludePage plugin */
286 .transclusion-title {
287   text-align: right;
288   font-style: oblique;
289   font-size:  smaller;
290   text-decoration: underline;
291   margin-bottom: 0.25ex;
292   margin-right:  0.25em;
293
294 .transclusion, .wiki-edithelp {
295   font-size: smaller;
296 }
297 .transclusion {
298   border: 1px solid gray;
299   padding-left:  0.8em; 
300   padding-right: 0.8em; 
301   padding-top:     0px;
302   padding-bottom:  0px;
303   margin-left:   0.25em;
304   margin-right:  0.25em;
305   margin-bottom: 0.1ex;
306 }
307 .wiki-edithelp {
308   background: white;
309   border: medium solid #fff8dc; /* darker ivory */
310   padding-left:  0.5em;
311   padding-right: 0.5em;
312   padding-top:    0.75ex;
313   padding-bottom: 0.75ex;
314   margin-left:  0;
315   margin-right: 0;
316   margin-top: 1ex;
317   margin-bottom: 1ex;
318 }
319 .wiki-edithelp .wiki {
320   /* color: #5454ff;*/
321 }
322 .wiki-edithelp p {
323   font-family: Arial, Helvetica, sans-serif;
324   padding-left:  0.5em;
325   padding-right: 0.5em;
326   padding-top:    0.5ex;
327   padding-bottom: 0.5ex;
328   margin: 0;
329 }
330
331
332 /**
333  * Calendar plugin
334  */
335 table.cal {
336   border: 1px outset gray;
337   background: white;
338   margin: 0.5ex 0.5em;
339   padding: 1px;
340   /* For Mozilla */
341   empty-cells: hide;
342
343
344 /* cells */
345 table.cal td {
346   background: white;
347   text-align: right;
348
349
350 /* Month-name header */
351 table.cal-header { font-size: larger; }
352 table.cal-header tr, table.cal-header td { text-align: center; }
353 .cal-arrow {
354   font-weight: bold;
355   text-decoration: none;
356 }
357
358 /* Day-names header */
359 table.cal tbody tr .cal-dayname {  }
360 .cal-dayname td {
361   text-align: center;
362   font-size: smaller;
363   text-decoration: underline;
364 }
365
366 /* Individual days */
367 a.cal-hide { text-decoration: none; }
368
369 /* Today */
370  /* cell */
371 table.cal td.cal-today {
372   margin: 1px;
373   border: 1px solid gray;
374 }
375  /* text */
376 table.cal td.cal-today a.cal-hide {  }
377
378 /**
379  * Diff Output
380  */
381 /* main box */
382 .diff {
383   margin-top:    1ex;
384   margin-bottom: 0.5ex;
385   background: white;
386   /* Netscape 4 requires this 1px border.
387      Without it, the paper borders below cause
388      the white background to disappear. */
389   border: 1px #ccc solid;
390   color: black;
391   border-top: 1px solid #494f5d;
392   border-left:  1px solid #494f5d;
393   border-bottom:  1px solid #c6d2de;
394   border-right: 1px solid #c6d2de;
395   padding-top:    1px;
396   padding-bottom: 1px;
397   padding-left:  .125em;
398   padding-right: .125em;
399   padding: 0;
400   /* "paper" borders */
401   /*border-top: 2px #d2d2d2 solid;
402   border-left:  2px #b2b2b2 solid;
403   border-bottom:  2px #e8e6df solid;
404   border-right: 2px #e8e6df solid;*/
405 /*  padding-left:  0em; 
406   padding-bottom: 0ex;*/
407 /*  border-style: inset;*/
408   /*This breaks Netscape 4: (display does not go full width).
409    * width: auto;
410    */
411   /* I'm not sure what the intent of this was, but it's
412    *  not valid CSS: */
413   /* display: editarea; */
414   clear: both;
415 }
416 .diff .block {
417   background: #ddd;
418   padding-left: 1em;
419   /* for NS4 */
420   /*border: none;*/
421 }
422
423 /* individual blocks */
424 .diff .context {
425   background: white;
426   /* for NS4 */
427   border: none;
428 }
429 /* entire difftextblock */
430 .difftext {
431   margin-top:    0;
432   margin-bottom: 0;
433   background: white;
434   /* Netscape 4 requires this 1px border.
435      Without it, the paper borders below cause
436      the white background to disappear. */
437   border: 1px black solid;
438   /* "paper" borders */
439   border-top:  1px #e8e6df solid;
440   border-left: 1px #e8e6df solid;
441   border-bottom: 1px #d2d2d2 solid;
442   border-right:  1px #b2b2b2 solid;
443   padding-left:  0em; 
444   padding-right: 0em;
445   padding-top:    0ex;
446   padding-bottom: 0ex;
447   /*This breaks Netscape 4: (display does not go full width).
448    * width: auto;
449    */
450   clear: both;
451 }
452 /* + - line prefix */
453 .diff .block tt {
454   font-weight: normal;
455   font-family: monospace;
456   color: black;
457   /* for NS4 */
458   margin-left: 0;
459   border: none;
460 }
461 /* changed words */
462 .diff del, .diff ins {
463   font-weight: bold;
464   text-decoration: none;
465 }
466
467 /* blocks containing deleted or added words */
468 .diff .original, .diff .deleted,
469 .diff .final, .diff .added {
470   background: white;
471 }
472 /* blocks containing deleted words */
473 .diff .original, .diff .deleted {
474   background: #fcc;
475   /* for NS4 */
476   border: none;
477 }
478 /* blocks containing added words */
479 .diff .final, .diff .added {
480   background: #cfc;
481   /* for NS4 */
482   border: none;
483 }
484
485 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
486 /* deleted words */
487 .diff del { background: #f99; }
488 /* added words */
489 .diff ins { background: #9f9; }
490
491
492 /**
493  * PageHistory, Info
494  */
495 td.pageinfo { font-weight: bold; }
496 .pageinfo-minoredit, .pageinfo-authorid {
497   font-size: smaller;
498   font-style: oblique;
499 }
500
501
502 /**
503  * Other
504  */
505 .printer, .no-css { display: none; }
506
507 /* PHP Warnings */
508 div.errors {
509   color: black;
510   background: #eee;
511   margin-top:    1em;
512   margin-bottom: 1em;
513   padding-left:  0.8em; 
514   padding-right: 0.8em; 
515   padding-top:    0.8ex;
516   padding-bottom: 0;
517   border: medium solid red;
518   clear: both;
519 }
520 .errors h4 {
521   color: red;
522   margin:  0;
523   padding: 0;
524   text-decoration: underline;
525 }
526 .error { font-family: monospace; font-size: 120%; }
527 .error ul { font-family: monospace; }
528
529 /* Debug */
530 .debug {
531   color: black;
532   background: white;
533   font-family: monospace;
534   font-size: smaller;
535   margin: 1ex 0;
536   padding: 0.5ex 0.5em;
537   border: medium solid #fff8dc; /* darker ivory */
538 }
539
540 /* Hints */
541 .hint {
542   color: black;
543   background: #eeeeee;
544    /* font-size: smaller; */
545   font-style: italic;
546   margin-left: 3em;
547   padding: 0.5ex 0.5em;
548   border: thin solid #aaaaaa;
549 }
550 span.hint {
551   padding: 0;
552 }
553
554 /* Disabled Plugins */
555 .disabled-plugin
556 {
557   clear: both;
558   margin: 1ex 0;
559   padding: 0;
560 }
561 .disabled-plugin .title {
562   color: #400;
563   background-color: inherit;
564   font-size: x-small;
565   text-align: right;
566   padding: 0 0.5em;
567 }
568 .disabled-plugin pre {
569   color: black;
570   background: #ddd;
571   margin: 0;
572   padding: 0.3ex 0.5em;
573 }
574
575 /* "(Redirected from ...)" message. */
576 span.redirectfrom {
577   font-size: small;
578   font-style: oblique;
579   font-weight: normal;
580   padding-left: 1em;
581 }
582
583
584 /*
585  * Vertical margins around block elements.
586  */
587
588 p { margin: 1em 0; }            /* Normal ("loose") paragraphs */
589 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
590   
591 /* ul, ol, dl { margin: 0.2ex 0; }      /* A little room around lists. */
592 /* li ul, li ol, li dl,
593 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
594
595 /* Normal ("loose") list elements */
596 li.tightenable { margin: 1em 0; }
597 dt.tightenable { margin-top: 1em; }
598 dd.tightenable { margin-bottom: 1.5ex; }
599
600   
601 li.tightenable.top,
602 dt.tightenable.top,
603 dd.tightenable.top {
604   margin-top: 0.2ex;
605 }
606 li li.tightenable.top {
607   margin-top: 0;
608 }
609 li.tightenable.bottom,
610 dd.tightenable.bottom {
611   margin-bottom: 0.2ex;
612 }
613 li li.tightenable.bottom {
614   margin-bottom: 0;
615 }
616
617 .tightenable.top {
618   margin-top: 0;
619 }
620 .tightenable.bottom {
621   margin-bottom: 0;
622 }
623
624 /*
625  * "DL tables"
626  */
627 .wiki-dl-table {
628   border-collapse: collapse;
629   border: 2px #444 solid;
630 }
631 .wiki-dl-table tr {
632   border-top: 2px #444 solid;
633   border-bottom: 2px #444 solid;
634   border-left: none; 
635   border-right: none; 
636 }
637 .wiki-dl-table tr.tightenable.top {
638   border-top: 1px #444 solid;
639 }
640 .wiki-dl-table tr.tightenable.bottom {
641   border-bottom: 1px #444 solid;
642 }
643 .wiki-dl-table th,
644 .wiki-dl-table td {
645   padding: 0.25em 0.5em;
646 }
647 .wiki-dl-table th {
648   vertical-align: top;
649   text-align: right;
650   border-right: 1px #444 solid;
651   border-left: none;
652   border-top: none;
653   border-bottom: none;
654 }
655 .wiki-dl-table td {
656   border: none;
657 }
658
659 /*
660  * "E-mail" style blockquote
661  */
662 blockquote.mail-style-quote {
663   border-left: medium #284 solid;
664   padding-left: 1em;
665   margin-left: 0;
666   margin-right: 0;
667 }
668 .mail-style-quote blockquote.mail-style-quote {
669   margin-left: -0.6em;
670 }
671
672
673 /*
674  * wikiblog
675  */
676 .floatleft { float: left; }
677 .floatright { float: right; }
678
679 div.wikiblog {
680   border: thin black solid;
681   margin: 1ex 2em;
682   padding: 0 0;
683 }
684 div.wikiblog > div {
685   margin: 0 0;
686   padding: 0.5ex 0.5em;
687 }
688 div.wikiblog-header {
689   background-color: #ccf;
690 }
691 div.wikiblog > div.wikiblog-footer {
692   background-color: #eee;
693   padding: 0.2ex 0.5em;
694 }
695 h3.wikiblog-summary {
696   font-size: medium;
697   font-weight: bold;
698   margin: 0 0 1ex 0;
699 }
700
701 div.wikiblog.wikiblog-form {
702   background-color: #eee;
703 }
704
705 table.wikiblog-form {
706   width: auto;
707   border-collapse: collapse;
708   margin: 0.25em 0;
709 }
710 .wikiblog-form caption {
711   background-color: #ccf;
712   caption-side: top;
713   font-weight: bold;
714   text-align: left;
715   padding: 0.5ex 0.5em;
716 }
717 .wikiblog-form th {
718   vertical-align: top;
719   text-align: right;
720   padding: 0 0 0.3em 0.5em;
721 }
722 .wikiblog-form td {
723   padding: 0.25em 0.5em;
724 }
725 .wikiblog-form td.submit-button {
726   padding: 0;
727 }
728 .wikiblog-form input[type=text],
729 .wikiblog-form textarea {
730   margin: 0 0;
731   width: 100%;
732 }
733 div.wikicomment div.wikicomment-footer {
734   padding: 0.2ex 0.5em;
735 }
736 div.wikicomment div.wikicomment-footer named-wiki {
737   font-size: small;
738 }
739 table.interwiki-map {
740   margin: 1em 2em;
741 }
742 .interwiki-map th {
743   text-decoration: underline;
744   text-align: left;
745   padding-left: 1em;
746 }
747 .interwiki-map td.interwiki-url {
748   padding-left: 2em;
749 }
750 .interwiki-map th.interwiki-url {
751   padding-left: 3em;
752 }
753
754 .dialog {
755   background-color: #cdf;
756   color: black;
757   margin: 2em auto 2em auto;
758   border: thin black solid;
759   width: 50%;
760 }
761 .dialog h1, .dialog p, .dialog div {
762   text-align: center;
763 }
764 .dialog h1 {
765   font-size: large;
766   margin: 0.5em 0 1em 0;
767 }
768 .dialog div.message {
769   background-color: white;
770   color: black;
771   color: black;
772   margin: 0 1em;
773   padding: 0.5em 0.5em;
774 }
775 .dialog p.buttons {
776   margin: 1em 0 0.5em 0;
777 }
778
779
780 .clear-floats {
781   clear: both;
782 }
783
784
785 /* postnuke css:*/
786 .gensmall{font-size:10px}
787 .genmed{font-size:11px}
788 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
789 /* Main table cell colours and backgrounds */
790 td.row1{background:#eaedf4;color:#000000}
791 td.row2{background:#d9e2ec;color:#000000}
792 td.row3{background:#cad9ea;color:#000000}
793 td.spacerow{background:#cad9ea;color:#000000}
794
795 /* This is the outline round the main forum tables */
796 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
797
798 /* Sidebar */
799 .box { background:#ffffff; border: 1px solid #888888 }
800 .box-title { font-weight: bold; font-size: 11pt; background-color: #ccc; color: black; /*font-style: menu;*/ }
801 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
802 .box-data .wiki { font-weight: normal; }
803 table.sidebar { border-spacing: 0px; margin: 0ex;}
804
805 /* RssFeed */
806 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
807 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
808 div.itemdesc {  padding-left: 1em; }
809 div.rssitem { border-top: thin dashed #aaa; }
810
811 /* SqlResult */
812 table.sqlresult { 
813   border: 1px outset gray;
814   background: white;
815   margin: 0.5ex 0.5em;
816   padding: 1px;
817 }
818 .sqlresult tr.evenrow { background: #eee; }
819 .sqlresult tr.oddrow  { background: white; }
820 table.sqlresult td {
821   margin: 1px;
822   border: 1px solid gray;
823 }
824
825
826 /* For emacs users
827  *
828  * Local Variables:
829  * mode: c
830  * c-file-style: cc-mode
831  * End:
832  */