2 $Id: phpwiki.css,v 1.25 2002-01-23 03:24:01 carstenklapp Exp $
6 div.wikitext - the transformed wiki page text.
8 a.wiki - link to page in wiki.
9 a.named-wiki - a named link to page in wiki (from e.g. [name|WikiPage]).
10 a.interwiki - link to page in another wiki
11 span.wikipage - page name within interwiki link.
12 a.named-interwiki - link to page in another wiki
13 a.url - link to external URL from wiki page.
14 a.named-url - link to external URL from wiki page.
16 .wikiunknown a, .wikiunknown u
17 .named-wikiunknown a, .named-wikiunknown u
25 TODO: Get rid of tables in wikiaction forms.
28 /* NS4 doesn't grok @import. This allows us to put things which
29 * break NS4 in another file. As of OmniWeb 4.1, OW now @imports :-(
31 @import url(phpwiki-heavy.css);
33 body { background: ivory; } /* #ffe */
35 body { font-family: arial, helvetica, sans-serif; }
38 * NS4, defaults from BODY don't always propagate correctly.
41 .wikitext, .toolbar, p, td { font-family: arial, helvetica, sans-serif; }
43 input.button { font-family: arial, helvetica, sans-serif; }
45 .wikitext pre { font-family: monospace; }
57 /* This breaks Netscape 4: (display does not go full width).
63 input.wikitext { margin:0px; }
65 div.toolbar { margin: 1ex 0ex; }
68 * FIXME: how much of this is needed anymore?
70 * This is a kluge for NS4 which doesn't honor the clear: settings on
71 * .tool-left and .tool-right.
73 * Putting in explicit <br clear="all"> messes up the formatting in
74 * other browsers. Instead we'll put in a:
76 * <div class="br"><br class="ignore" clear="all"></div>
78 * The clear:both on DIV.br seems to work. And we'll disable the <br> altogether (in
79 * CSS aware browsers) by setting display:none.
81 * Actually, I haven't yet found a browser which doesn't put a line break
82 * between successive <div>'s. This makes the <br class="ignore"> completely
85 div.br { clear:both; line-height: 0px; }
86 .ignore { display: none; }
88 /* FIXME: some problems in NS4 */
99 /* This breaks Netscape 4: (display does not go full width).
105 /* FIXME: to be cleaned up/simplified */
108 text-decoration: underline;
114 font-family: monospace;
120 font-family: monospace;
124 * Style for <hr>s in wiki markup.
132 align:center; /* for NS4 */
140 a.wiki { text-decoration: none; }
141 .wiki { font-weight: bold; }
142 /* This is obscene in NS4
143 b .wiki, strong .wiki { font-size: larger; }
147 .wikiunknown a, .named-wikiunknown a, .wikiunknown u
148 { text-decoration: none; }
150 .wikiunknown, .named-wikiunknown
153 /* This renders the ? invisible in OW4.1 < sp29 */
154 .wikiunknown A, .named-wikiunknown
155 { color: white; background-color: #600; }
157 /* Interwiki links */
158 a.interwiki { text-decoration: none; }
159 .wikipage { font-weight: bold; }
162 i .interwiki .wikipage, em .interwiki .wikipage
163 { font-style: oblique; }
165 .interwiki .wikipage,
166 i .interwiki, em .interwiki
167 { font-style: normal; }
170 * wikiaction, wikiadmin, wikiunsafe:
172 a.wikiaction, a.wikiadmin { text-decoration: none; }
173 a.wikiaction, .wikiaction table, span.wikiaction { background-color: #ddd; }
174 a.wikiadmin, .wikiadmin table { background-color: #fdd; }
175 .wikiunsafe { background-color: #ccc; }
177 /* Adds a little more surface area to make actions a little more like
178 buttons. Apparently some versions of ie choke on percentages, so
179 these just are fixed dimensions and may need some tweaking, add or
180 subtract a pixel or so.
182 DELETEME: This completely screws up NS4. (Margins and padding on
183 in-line elements are generally bad for NS4.) So this belongs in
184 phpwiki-heavy.css. But it's already there (albeit, with different
187 a.wikiadmin { padding-top: 0pt;
190 padding-right: 6pt; }
193 /* reduces the size of "(diff)" buttons in RecentChanges a bit so they
194 don't overlap as much (for mozilla)
196 This, too, completely screws up NS4.
198 .wikiaction { font-size: smaller;
202 padding-right: 2pt; }
206 * No border on external link icons.
209 img.rssicon { border: 0px; }
210 img.rssicon { vertical-align: top; }
211 /* This screws up NS4, moved to phpwiki-heavy.css
212 img.linkicon { vertical-align: middle; }
217 * Put a border around wikiaction forms:
218 * This doesn't work for NS4.
220 .wikiaction table, .wikiadmin table
223 border-width: medium;
225 .wikiaction table { border-color: #9cf; }
226 .wikiadmin table { border-color: #f99; }
229 a.backlinks { color: #006; }
231 /* Make the textarea on the edit page full width */
232 textarea.wikiedit { width: 100%; margin-top: 1ex; }
235 /* Calendar plugin */
237 a.cal-hide, a.cal-arrow { text-decoration: none; }
238 .cal-arrow { font-weight: bold; }
239 .cal-header { font-size: larger; }
240 .cal-dayname { font-size: smaller; text-decoration: underline; }
241 table.cal { border: thin solid black; }
244 /* IncludePage plugin */
245 .transclusion-title {
247 font-size: smaller; /* 0.75em; */
248 text-decoration: underline;
257 padding-right: 0.8em;
263 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
264 div.wiki-edithelp .transclusion {
267 padding: 0.5ex 0.5em;
270 div.wiki-edithelp .transclusion p {
274 background: #fff8dc; /* darker ivory */
279 /****************************************************************
283 *****************************************************************/
284 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
285 .diff .block tt { font-weight: bold; }
287 .diff ins { font-weight: bold; text-decoration: none; }
289 /* These screw up NS4 --- moved to phpwiki-heavy.css
290 .diff .block div { position: relative; padding-left: 1.5em; }
291 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
294 .diff .block { background: #ccc; }
295 .diff .context { background: #fff; }
297 .diff .deleted { background: #fcc; }
299 .diff .added { background: #cfc; }
301 .diff .original { background: #feb; }
302 .diff .final { background: #efb; }
304 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
305 .diff del { background: #f99; }
306 .diff ins { background: #9f9; }
308 /* PageList output */
309 tr.pagelist .evenrow { background: #eeeeee; }
310 tr.pagelist .oddrow { background: white; }
316 * c-file-style: cc-mode