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