]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - phpwiki-heavy.css
Fix for the double transformation bug which caused each page to be rendered twice...
[SourceForge/phpwiki.git] / phpwiki-heavy.css
1 /**
2  * $Id: phpwiki-heavy.css,v 1.24 2002-02-19 22:17:40 carstenklapp Exp $
3  *
4  * This is stuff which should be in phpwiki.css, but which breaks Netscape 4.
5  *
6  * The use of these css functions are generally bad for NS4:
7  * <ol>
8  * <li> NS4 adds the equivalent of a <br> on inline elements with
9  *      margins, padding and borders.
10  * <li> Background colors are not applied properly to inline elements with
11  *      padding. The resulting effect is visually like an "internal margin"
12  *      rather than a padding.
13  * <li> Specifying a color or background as "inherit" produces unpredictable
14  *      results, often yielding a lime green color.
15  * <li> Image alignment and text-alignment in css gives seemingly random and
16  *      unpredictable positioning of the element on the page.
17  * </ol>
18  */
19
20 /* Hide the elements we put in just to get around NS4 bugs. */
21 div.br { display: none; }
22
23 /* This makes spacings in NS4 too big. */
24 .toolbar, div.toolbar { margin: 0.5ex 0ex; }
25
26 /* This breaks NS4, but is necessary for IE4. */
27 div.wikitext { width: auto; }
28
29
30 /**
31  * General
32  */
33 /* for NS4 */
34 img { vertical-align: baseline; }
35 input { margin: 0.1em; }
36 input.numeric { text-align: right; }
37
38
39 /**
40  * Wiki Forms
41  * 
42  * The div inside the wikiadmin upload form does not
43  * have a class yet, so it must be referenced indirectly
44  */
45 /* div.wikiaction, div.wikiadmin { */
46 div.wikiaction, form.wikiadmin div {
47   border-bottom: 1px solid #d8d8e7;
48   border-right:  1px solid #d8d8e7;
49   border-top:  1px solid #96a2ae;
50   border-left: 1px solid #96a2ae;
51
52   margin-top: 0.5ex;
53   margin-bottom: 0.5ex;
54   padding: 0.5ex 0.5em;
55   /* Emulate the display behaviour of a table, to shrink it's width.
56    * ie5.1Mac ignores this */
57   display: table;
58 }
59
60 /* Add space between the input field and following buttons, but not after the last button. */
61 div.wikiaction input[type=text], div.wikiadmin input[type=text], form.wikiadmin input[type=file] { margin-right: 0.5em; }
62
63
64 /**
65  * Links
66   border-top:  1px solid #b2b2d1;
67   border-left: 1px solid #d2d2f1;
68   border-bottom: 1px solid #86929e;
69   border-right:  1px solid #86929e;
70  */
71
72 /* Make wikiaction links look like buttons */ 
73 a.wikiaction, a.wikiadmin, a.wikiunsafe,
74 input.wikiaction, input.wikiadmin, input.wikiunsafe, input.button {
75   color: black;
76   border-top:  1px solid #c6d2de;
77   border-left: 1px solid #c6d2de;
78   border-bottom: 1px solid #494f5d;
79   border-right:  1px solid #494f5d;
80   padding-top:    0.2ex;
81   padding-bottom: 0.1ex;
82   padding-left:  .5em;
83   padding-right: .5em;
84 }
85
86 /* Prevent buttons from overlapping when the toolbar is wrapped. */
87 a.wikiaction, a.wikiadmin { line-height: 2.6ex; }
88
89 /* QuestionMark */
90 .wikiunknown a, .named-wikiunknown a {
91   border-top:  1px solid #c6d2de;
92   border-left: 1px solid #c6d2de;
93   border-bottom: 1px solid #a2a2a2;
94   border-right:  1px solid #a2a2a2;
95   padding-left:  1px;
96   padding-right: 1px;
97   padding-top: 1px;
98   margin-right: .15em;
99 }
100
101 /* Link icons */
102 img.linkicon { vertical-align: middle; }
103
104
105 /**
106  * Edit Page & View Source
107  */
108 /* color: inherit; and background: inherit; display as lime in NS4 */
109
110 /**
111  * Diff Output
112  */
113 .diff .prefix {
114   position: relative;
115   left: -1em;
116 }
117 /* deleted & added words */
118 .diff del, .diff ins {
119   padding-left: 1px;
120   padding-right: 1px;
121 }
122
123 /**
124  * Other
125  */
126 /* PHP Warnings */
127 div.errors { font-size: smaller }
128