2 $Id: phpwiki.css,v 1.33 2002-02-08 22:56:36 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 input.numeric { text-align: right; }
47 .wikitext pre { font-family: monospace; }
59 /* This breaks Netscape 4: (display does not go full width).
65 p.editdate { margin-bottom: 0ex; }
67 input.wikitext { margin:0px; }
69 div.toolbar { margin: 1ex 0ex; }
72 * FIXME: how much of this is needed anymore?
74 * This is a kluge for NS4 which doesn't honor the clear: settings on
75 * .tool-left and .tool-right.
77 * Putting in explicit <br clear="all"> messes up the formatting in
78 * other browsers. Instead we'll put in a:
80 * <div class="br"><br class="ignore" clear="all"></div>
82 * The clear:both on DIV.br seems to work. And we'll disable the <br> altogether (in
83 * CSS aware browsers) by setting display:none.
85 * Actually, I haven't yet found a browser which doesn't put a line break
86 * between successive <div>'s. This makes the <br class="ignore"> completely
89 div.br { clear:both; line-height: 0px; }
90 .ignore { display: none; }
92 /* FIXME: some problems in NS4 */
103 /* This breaks Netscape 4: (display does not go full width).
109 /* FIXME: to be cleaned up/simplified */
112 text-decoration: underline;
118 font-family: monospace;
124 font-family: monospace;
128 * Style for <hr>s in wiki markup.
136 /* this is not valid css but NS4 needs it to center the 90% wide line */
145 a.wiki { text-decoration: none; }
146 .wiki { font-weight: bold; }
147 /* This is obscene in NS4
148 b .wiki, strong .wiki { font-size: larger; }
152 .wikiunknown a, .named-wikiunknown a, .wikiunknown u
153 { text-decoration: none; }
155 .wikiunknown, .named-wikiunknown
158 /* This renders the ? invisible in OW4.1 < sp29 */
159 .wikiunknown A, .named-wikiunknown
160 { color: white; background-color: #600; }
162 /* Interwiki links */
163 a.interwiki { text-decoration: none; }
164 .wikipage { font-weight: bold; }
167 i .interwiki .wikipage, em .interwiki .wikipage
168 { font-style: oblique; }
170 .interwiki .wikipage,
171 i .interwiki, em .interwiki
172 { font-style: normal; }
175 * wikiaction, wikiadmin, wikiunsafe:
177 a.wikiaction, a.wikiadmin { text-decoration: none; }
178 a.wikiaction, .wikiaction table, span.wikiaction { background-color: #ddd; }
179 a.wikiadmin, .wikiadmin table { background-color: #fdd; }
180 .wikiunsafe { background-color: #ccc; }
183 * No border on external link icons.
186 img.rssicon { border: 0px; }
187 img.rssicon { vertical-align: top; }
190 * Put a border around wikiaction forms:
191 * This doesn't work for NS4.
193 .wikiaction table, .wikiadmin table
196 border-width: medium;
198 .wikiaction table { border-color: #9cf; }
199 .wikiadmin table { border-color: #f99; }
202 a.backlinks { color: #006; }
204 /* Make the textarea on the edit page full width */
205 textarea.wikiedit { width: 100%; margin-top: 1ex; }
208 /* Calendar plugin */
210 a.cal-hide, a.cal-arrow { text-decoration: none; }
211 .cal-arrow { font-weight: bold; }
212 table.cal-header { font-size: larger; }
213 .cal-dayname { font-size: smaller; text-decoration: underline; }
215 table.cal { border: thin solid black; }
217 /* IncludePage plugin */
218 .transclusion-title {
220 font-size: smaller; /* 0.75em; */
221 text-decoration: underline;
230 padding-right: 0.8em;
236 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
237 div.wiki-edithelp .transclusion {
240 padding: 0.5ex 0.5em;
243 div.wiki-edithelp .transclusion p {
247 background: #fff8dc; /* darker ivory */
252 /****************************************************************
256 *****************************************************************/
257 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
258 .diff .block tt { font-weight: bold; }
260 .diff ins { font-weight: bold; text-decoration: none; }
262 /* These screw up NS4 --- moved to phpwiki-heavy.css
263 .diff .block div { position: relative; padding-left: 1.5em; }
264 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
267 .diff .block { background: #ccc; }
268 .diff .context { background: #fff; }
270 .diff .deleted { background: #fcc; }
272 .diff .added { background: #cfc; }
274 .diff .original { background: #feb; }
275 .diff .final { background: #efb; }
277 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
278 .diff del { background: #f99; }
279 .diff ins { background: #9f9; }
281 /* PageList output */
282 .pagelist tr.evenrow { background: #eeeeee; }
283 .pagelist tr.oddrow { background: white; }
289 * c-file-style: cc-mode