]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/phpwiki.css
better LIVESEARCH
[SourceForge/phpwiki.git] / themes / default / phpwiki.css
1 /**
2  * $Id: phpwiki.css,v 1.47 2005-02-11 14:49:29 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   float: right;
242   /* Netscape 4 requires this 1px border.
243      Without it, the paper borders below cause
244      the white background to disappear. */
245   border: 1px black solid;
246   /* "paper" borders */
247   border-top:  1px #e8e6df solid;
248   border-left: 1px #e8e6df solid;
249   border-bottom: 1px #d2d2d2 solid;
250   border-right:  1px #b2b2b2 solid;
251 }
252
253 /**
254  * Edit Page & View Source
255  */
256
257 /* Make the textarea the full page width */
258 textarea.wikiedit {
259   width: 100%;
260   margin-bottom: 0.5ex;
261   margin-top:    0.5ex;
262   padding: 2px;
263 }
264
265 #editarea-size {
266   margin-top: 1ex;
267   text-align: right;
268   font-size: smaller;
269 }
270 #search-replace {
271   margin-top: 1ex;
272   text-align: left;
273   font-size: smaller;
274 }
275 #toolbar { padding:0px; }
276
277 /**
278  * Search Results
279  */
280 .search-context { background: white; }
281 .search-term {
282   background: yellow;
283   font-weight: normal;
284 }
285 #LSResult {
286   position: absolute;
287   text-align: left;
288   display: none;
289   z-index: 100;
290   background-color: white;
291   border: 1px solid #d0d0d0; 
292   font-size: 9px;
293   overflow: hidden;
294 }
295 #LSHighlight {
296   background-color: #f08000;
297 }
298 #LSResult .evenrow {
299   background-color: #f0f0f0;
300
301 #LSREsult .oddrow {
302
303 .LSEnd {
304   text-align: right;
305 }
306 .LSRow:hover {
307   background-color: white;
308 }
309 .LSRow {
310   padding: 1px;
311
312 ul.LSRes {
313   margin: 0px;
314   padding: 0px;
315 }
316 li.LSRow {
317   margin: 0px;
318   list-style-image: none;
319 }
320
321 /* IncludePage plugin */
322 .transclusion-title {
323   text-align: right;
324   font-style: oblique;
325   font-size:  smaller;
326   text-decoration: underline;
327   margin-bottom: 0.25ex;
328   margin-right:  0.25em;
329
330 .transclusion, .wiki-edithelp {
331   font-size: smaller;
332 }
333 .transclusion {
334   border: 1px solid gray;
335   padding-left:  0.8em; 
336   padding-right: 0.8em; 
337   padding-top:     0px;
338   padding-bottom:  0px;
339   margin-left:   0.25em;
340   margin-right:  0.25em;
341   margin-bottom: 0.1ex;
342 }
343 .wiki-edithelp {
344   background: white;
345   border: medium solid #fff8dc; /* darker ivory */
346   padding-left:  0.5em;
347   padding-right: 0.5em;
348   padding-top:    0.75ex;
349   padding-bottom: 0.75ex;
350   margin-left:  0;
351   margin-right: 0;
352   margin-top: 1ex;
353   margin-bottom: 1ex;
354 }
355 .wiki-edithelp .wiki {
356   /* color: #5454ff;*/
357 }
358 .wiki-edithelp p {
359   font-family: Arial, Helvetica, sans-serif;
360   padding-left:  0.5em;
361   padding-right: 0.5em;
362   padding-top:    0.5ex;
363   padding-bottom: 0.5ex;
364   margin: 0;
365 }
366
367
368 /**
369  * Calendar plugin
370  */
371 table.cal {
372   border: 1px outset gray;
373   background: white;
374   margin: 0.5ex 0.5em;
375   padding: 1px;
376   /* For Mozilla */
377   empty-cells: hide;
378
379
380 /* cells */
381 table.cal td {
382   background: white;
383   text-align: right;
384
385
386 /* Month-name header */
387 table.cal-header { font-size: larger; }
388 table.cal-header tr, table.cal-header td { text-align: center; }
389 .cal-arrow {
390   font-weight: bold;
391   text-decoration: none;
392 }
393
394 /* Day-names header */
395 table.cal tbody tr .cal-dayname {  }
396 .cal-dayname td {
397   text-align: center;
398   font-size: smaller;
399   text-decoration: underline;
400 }
401
402 /* Individual days */
403 a.cal-hide { text-decoration: none; }
404
405 /* Today */
406  /* cell */
407 table.cal td.cal-today {
408   margin: 1px;
409   border: 1px solid gray;
410 }
411  /* text */
412 table.cal td.cal-today a.cal-hide {  }
413
414 /**
415  * Diff Output
416  */
417 /* main box */
418 .diff {
419   margin-top:    1ex;
420   margin-bottom: 0.5ex;
421   background: white;
422   /* Netscape 4 requires this 1px border.
423      Without it, the paper borders below cause
424      the white background to disappear. */
425   border: 1px #ccc solid;
426   color: black;
427   border-top: 1px solid #494f5d;
428   border-left:  1px solid #494f5d;
429   border-bottom:  1px solid #c6d2de;
430   border-right: 1px solid #c6d2de;
431   padding-top:    1px;
432   padding-bottom: 1px;
433   padding-left:  .125em;
434   padding-right: .125em;
435   padding: 0;
436   /* "paper" borders */
437   /*border-top: 2px #d2d2d2 solid;
438   border-left:  2px #b2b2b2 solid;
439   border-bottom:  2px #e8e6df solid;
440   border-right: 2px #e8e6df solid;*/
441 /*  padding-left:  0em; 
442   padding-bottom: 0ex;*/
443 /*  border-style: inset;*/
444   /*This breaks Netscape 4: (display does not go full width).
445    * width: auto;
446    */
447   /* I'm not sure what the intent of this was, but it's
448    *  not valid CSS: */
449   /* display: editarea; */
450   clear: both;
451 }
452 .diff .block {
453   background: #ddd;
454   padding-left: 1em;
455   /* for NS4 */
456   /*border: none;*/
457 }
458
459 /* individual blocks */
460 .diff .context {
461   background: white;
462   /* for NS4 */
463   border: none;
464 }
465 /* entire difftextblock */
466 .difftext {
467   margin-top:    0;
468   margin-bottom: 0;
469   background: white;
470   /* Netscape 4 requires this 1px border.
471      Without it, the paper borders below cause
472      the white background to disappear. */
473   border: 1px black solid;
474   /* "paper" borders */
475   border-top:  1px #e8e6df solid;
476   border-left: 1px #e8e6df solid;
477   border-bottom: 1px #d2d2d2 solid;
478   border-right:  1px #b2b2b2 solid;
479   padding-left:  0em; 
480   padding-right: 0em;
481   padding-top:    0ex;
482   padding-bottom: 0ex;
483   /*This breaks Netscape 4: (display does not go full width).
484    * width: auto;
485    */
486   clear: both;
487 }
488 /* + - line prefix */
489 .diff .block tt {
490   font-weight: normal;
491   font-family: monospace;
492   color: black;
493   /* for NS4 */
494   margin-left: 0;
495   border: none;
496 }
497 /* changed words */
498 .diff del, .diff ins {
499   font-weight: bold;
500   text-decoration: none;
501 }
502
503 /* blocks containing deleted or added words */
504 .diff .original, .diff .deleted,
505 .diff .final, .diff .added {
506   background: white;
507 }
508 /* blocks containing deleted words */
509 .diff .original, .diff .deleted {
510   background: #fcc;
511   /* for NS4 */
512   border: none;
513 }
514 /* blocks containing added words */
515 .diff .final, .diff .added {
516   background: #cfc;
517   /* for NS4 */
518   border: none;
519 }
520
521 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
522 /* deleted words */
523 .diff del { background: #f99; }
524 /* added words */
525 .diff ins { background: #9f9; }
526
527
528 /**
529  * PageHistory, Info
530  */
531 td.pageinfo { font-weight: bold; }
532 .pageinfo-minoredit, .pageinfo-authorid {
533   font-size: smaller;
534   font-style: oblique;
535 }
536
537
538 /**
539  * Other
540  */
541 .printer, .no-css { display: none; }
542
543 /* PHP Warnings */
544 div.errors {
545   color: black;
546   background: #eee;
547   margin-top:    1em;
548   margin-bottom: 1em;
549   padding-left:  0.8em; 
550   padding-right: 0.8em; 
551   padding-top:    0.8ex;
552   padding-bottom: 0;
553   border: medium solid red;
554   clear: both;
555 }
556 .errors h4 {
557   color: red;
558   margin:  0;
559   padding: 0;
560   text-decoration: underline;
561 }
562 .error { font-family: monospace; font-size: 120%; }
563 .error ul { font-family: monospace; }
564
565 /* Debug */
566 .debug {
567   color: black;
568   background: white;
569   font-family: monospace;
570   font-size: smaller;
571   margin: 1ex 0;
572   padding: 0.5ex 0.5em;
573   border: medium solid #fff8dc; /* darker ivory */
574 }
575
576 /* Hints */
577 .hint {
578   color: black;
579   background: #eeeeee;
580    /* font-size: smaller; */
581   font-style: italic;
582   margin-left: 3em;
583   padding: 0.5ex 0.5em;
584   border: thin solid #aaaaaa;
585 }
586 span.hint {
587   padding: 0;
588 }
589
590 /* Disabled Plugins */
591 .disabled-plugin
592 {
593   clear: both;
594   margin: 1ex 0;
595   padding: 0;
596 }
597 .disabled-plugin .title {
598   color: #400;
599   background-color: inherit;
600   font-size: x-small;
601   text-align: right;
602   padding: 0 0.5em;
603 }
604 .disabled-plugin pre {
605   color: black;
606   background: #ddd;
607   margin: 0;
608   padding: 0.3ex 0.5em;
609 }
610
611 /* "(Redirected from ...)" message. */
612 span.redirectfrom {
613   font-size: small;
614   font-style: oblique;
615   font-weight: normal;
616   padding-left: 1em;
617 }
618
619
620 /*
621  * Vertical margins around block elements.
622  */
623
624 p { margin: 1em 0; }            /* Normal ("loose") paragraphs */
625 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
626   
627 /* ul, ol, dl { margin: 0.2ex 0; }      /* A little room around lists. */
628 /* li ul, li ol, li dl,
629 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
630
631 /* Normal ("loose") list elements */
632 li.tightenable { margin: 1em 0; }
633 dt.tightenable { margin-top: 1em; }
634 dd.tightenable { margin-bottom: 1.5ex; }
635
636   
637 li.tightenable.top,
638 dt.tightenable.top,
639 dd.tightenable.top {
640   margin-top: 0.2ex;
641 }
642 li li.tightenable.top {
643   margin-top: 0;
644 }
645 li.tightenable.bottom,
646 dd.tightenable.bottom {
647   margin-bottom: 0.2ex;
648 }
649 li li.tightenable.bottom {
650   margin-bottom: 0;
651 }
652
653 .tightenable.top {
654   margin-top: 0;
655 }
656 .tightenable.bottom {
657   margin-bottom: 0;
658 }
659
660 /*
661  * "DL tables"
662  */
663 .wiki-dl-table {
664   border-collapse: collapse;
665   border: 2px #444 solid;
666 }
667 .wiki-dl-table tr {
668   border-top: 2px #444 solid;
669   border-bottom: 2px #444 solid;
670   border-left: none; 
671   border-right: none; 
672 }
673 .wiki-dl-table tr.tightenable.top {
674   border-top: 1px #444 solid;
675 }
676 .wiki-dl-table tr.tightenable.bottom {
677   border-bottom: 1px #444 solid;
678 }
679 .wiki-dl-table th,
680 .wiki-dl-table td {
681   padding: 0.25em 0.5em;
682 }
683 .wiki-dl-table th {
684   vertical-align: top;
685   text-align: right;
686   border-right: 1px #444 solid;
687   border-left: none;
688   border-top: none;
689   border-bottom: none;
690 }
691 .wiki-dl-table td {
692   border: none;
693 }
694
695 /*
696  * "E-mail" style blockquote
697  */
698 blockquote.mail-style-quote {
699   border-left: medium #284 solid;
700   padding-left: 1em;
701   margin-left: 0;
702   margin-right: 0;
703 }
704 .mail-style-quote blockquote.mail-style-quote {
705   margin-left: -0.6em;
706 }
707
708
709 /*
710  * wikiblog
711  */
712 .floatleft { float: left; }
713 .floatright { float: right; }
714
715 div.wikiblog {
716   /* border: thin black solid; */
717   margin: 1ex 2em;
718   padding: 0 0;
719 }
720 div.wikiblog > div {
721   margin: 0 0;
722   padding: 0.5ex 0.5em;
723 }
724 div.wikiblog-header {
725   /* background-color: #ccf; */
726 }
727 div.wikiblog > div.wikiblog-footer {
728   /* background-color: #eee; */
729   padding: 0.2ex 0.5em;
730 }
731 h3.wikiblog-summary {
732   font-size: medium;
733   font-weight: bold;
734   margin: 0 0 1ex 0;
735 }
736
737 div.wikiblog.wikiblog-form {
738   /* background-color: #eee; */
739 }
740
741 table.wikiblog-form {
742   width: auto;
743   border-collapse: collapse;
744   margin: 0.25em 0;
745 }
746 .wikiblog-form caption {
747   /* background-color: #ccf; */
748   caption-side: top;
749   font-weight: bold;
750   text-align: left;
751   padding: 0.5ex 0.5em;
752 }
753 .wikiblog-form th {
754   vertical-align: top;
755   text-align: right;
756   padding: 0 0 0.3em 0.5em;
757 }
758 .wikiblog-form td {
759   padding: 0.25em 0.5em;
760 }
761 .wikiblog-form td.submit-button {
762   padding: 0;
763 }
764 .wikiblog-form input[type=text],
765 .wikiblog-form textarea {
766   margin: 0 0;
767   width: 100%;
768 }
769 div.wikicomment div.wikicomment-footer {
770   padding: 0.2ex 0.5em;
771 }
772 div.wikicomment div.wikicomment-footer named-wiki {
773   font-size: small;
774 }
775 table.interwiki-map {
776   margin: 1em 2em;
777 }
778 .interwiki-map th {
779   text-decoration: underline;
780   text-align: left;
781   padding-left: 1em;
782 }
783 .interwiki-map td.interwiki-url {
784   padding-left: 2em;
785 }
786 .interwiki-map th.interwiki-url {
787   padding-left: 3em;
788 }
789
790 .dialog {
791   background-color: #cdf;
792   color: black;
793   margin: 2em auto 2em auto;
794   border: thin black solid;
795   width: 50%;
796 }
797 .dialog h1, .dialog p, .dialog div {
798   text-align: center;
799 }
800 .dialog h1 {
801   font-size: large;
802   margin: 0.5em 0 1em 0;
803 }
804 .dialog div.message {
805   background-color: white;
806   color: black;
807   color: black;
808   margin: 0 1em;
809   padding: 0.5em 0.5em;
810 }
811 .dialog p.buttons {
812   margin: 1em 0 0.5em 0;
813 }
814
815
816 .clear-floats {
817   clear: both;
818 }
819
820
821 /* postnuke css:*/
822 .gensmall{font-size:10px}
823 .genmed{font-size:11px}
824 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
825 /* Main table cell colours and backgrounds */
826 td.row1{background:#eaedf4;color:#000000}
827 td.row2{background:#d9e2ec;color:#000000}
828 td.row3{background:#cad9ea;color:#000000}
829 td.spacerow{background:#cad9ea;color:#000000}
830
831 /* This is the outline round the main forum tables */
832 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
833
834 /* Sidebar */
835 .box { background:#ffffff; border: 1px solid #888888 }
836 .box-title { font-weight: normal; /*font-size: 11pt; */ background-color: #ccc; color: black; /*font-style: menu;*/ text-align: center; }
837 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
838 .box-data .wiki { font-weight: normal; }
839 td.sidebar { border-spacing: 0px; margin: 0ex;}
840
841 /* RssFeed */
842 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
843 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
844 div.itemdesc {  padding-left: 1em; }
845 div.rssitem { border-top: thin dashed #aaa; }
846
847 /* SqlResult */
848 table.sqlresult { 
849   border: 1px outset gray;
850   background: white;
851   margin: 0.5ex 0.5em;
852   padding: 1px;
853 }
854 .sqlresult tr.evenrow { background: #eee; }
855 .sqlresult tr.oddrow  { background: white; }
856 table.sqlresult td {
857   margin: 1px;
858   border: 1px solid gray;
859 }
860
861 /**
862  * TeX2png plugin
863  */
864 img.tex { 
865   border: 0ex;
866   vertical-align: middle; 
867 }
868
869 /* For emacs users
870  *
871  * Local Variables:
872  * mode: c
873  * c-file-style: cc-mode
874  * End:
875  */