/** * $Id: phpwiki-heavy.css,v 1.18 2002-02-14 03:27:58 carstenklapp Exp $ * * This is stuff which should be in phpwiki.css, but which breaks Netscape 4. * * The use of these css functions are generally bad for NS4: *
    *
  1. NS4 adds the equivalent of a
    on inline elements with * margins, padding and borders. *
  2. Background colors are not applied properly to inline elements with * padding. The resulting effect is visually like an "internal margin" * rather than a padding. *
  3. Specifying a color or background as "inherit" produces unpredictable * results, often yielding a lime green color. *
  4. Image alignment and text-alignment in css gives seemingly random and * unpredictable positioning of the element on the page. *
*/ /* Hide the elements we put in just to get around NS4 bugs. */ div.br { display: none; } /* This makes spacings in NS4 too big. */ .toolbar, div.toolbar { margin: 0.5ex 0ex; } /* This breaks NS4, but is necessary for IE4. */ div.wikitext { width: auto; } /** * General */ /* for NS4 */ img { vertical-align: baseline; } input { margin: 0.1em; } input.numeric { text-align: right; } /** * Links */ .wikiaction table { padding: 0.25ex 0.25em; margin: 0.25ex 0.25em; border: 1px inset; } /* Make wikiaction links look like buttons */ .wikiaction, .wikiadmin, .wikiunsafe input.wikiaction, input.wikiadmin, input.wikiunsafe, input.button { color: black; border: 1px outset #006; padding-top: 0.2ex; padding-bottom: 0.1ex; padding-left: .5em; padding-right: .5em; } form.wikiadmin { border: 1px inset #006 } /* Prevent buttons from overlapping when the toolbar is wrapped. */ a.wikiaction, a.wikiadmin { line-height: 2.6ex; } /* QuestionMark */ .wikiunknown a, .named-wikiunknown a { border: 1px outset black; padding-left: 1px; padding-right: 1px; padding-top: 1px; margin-right: 1px; } /* Link icons */ img.linkicon { vertical-align: middle; } /** * Edit Page & View Source */ /* color: inherit; and background: inherit; display as lime in NS4 */ /** * Diff Output */ .diff .block div { position: relative; padding-left: 1.5em; } .diff .prefix { position: absolute; left: 0; top: 0; }