2 * $Id: phpwiki-heavy.css,v 1.24 2002-02-19 22:17:40 carstenklapp Exp $
4 * This is stuff which should be in phpwiki.css, but which breaks Netscape 4.
6 * The use of these css functions are generally bad for NS4:
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.
20 /* Hide the elements we put in just to get around NS4 bugs. */
21 div.br { display: none; }
23 /* This makes spacings in NS4 too big. */
24 .toolbar, div.toolbar { margin: 0.5ex 0ex; }
26 /* This breaks NS4, but is necessary for IE4. */
27 div.wikitext { width: auto; }
34 img { vertical-align: baseline; }
35 input { margin: 0.1em; }
36 input.numeric { text-align: right; }
42 * The div inside the wikiadmin upload form does not
43 * have a class yet, so it must be referenced indirectly
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;
55 /* Emulate the display behaviour of a table, to shrink it's width.
56 * ie5.1Mac ignores this */
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; }
66 border-top: 1px solid #b2b2d1;
67 border-left: 1px solid #d2d2f1;
68 border-bottom: 1px solid #86929e;
69 border-right: 1px solid #86929e;
72 /* Make wikiaction links look like buttons */
73 a.wikiaction, a.wikiadmin, a.wikiunsafe,
74 input.wikiaction, input.wikiadmin, input.wikiunsafe, input.button {
76 border-top: 1px solid #c6d2de;
77 border-left: 1px solid #c6d2de;
78 border-bottom: 1px solid #494f5d;
79 border-right: 1px solid #494f5d;
81 padding-bottom: 0.1ex;
86 /* Prevent buttons from overlapping when the toolbar is wrapped. */
87 a.wikiaction, a.wikiadmin { line-height: 2.6ex; }
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;
102 img.linkicon { vertical-align: middle; }
106 * Edit Page & View Source
108 /* color: inherit; and background: inherit; display as lime in NS4 */
117 /* deleted & added words */
118 .diff del, .diff ins {
127 div.errors { font-size: smaller }