2 $Id: phpwiki.css,v 1.28 2002-01-26 09:19:42 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; }
178 * No border on external link icons.
181 img.rssicon { border: 0px; }
182 img.rssicon { vertical-align: top; }
185 * Put a border around wikiaction forms:
186 * This doesn't work for NS4.
188 .wikiaction table, .wikiadmin table
191 border-width: medium;
193 .wikiaction table { border-color: #9cf; }
194 .wikiadmin table { border-color: #f99; }
197 a.backlinks { color: #006; }
199 /* Make the textarea on the edit page full width */
200 textarea.wikiedit { width: 100%; margin-top: 1ex; }
203 /* Calendar plugin */
205 a.cal-hide, a.cal-arrow { text-decoration: none; }
206 .cal-arrow { font-weight: bold; }
207 .cal-header { font-size: larger; }
208 .cal-dayname { font-size: smaller; text-decoration: underline; }
210 table.cal { border: thin solid black; }
212 /* IncludePage plugin */
213 .transclusion-title {
215 font-size: smaller; /* 0.75em; */
216 text-decoration: underline;
225 padding-right: 0.8em;
231 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
232 div.wiki-edithelp .transclusion {
235 padding: 0.5ex 0.5em;
238 div.wiki-edithelp .transclusion p {
242 background: #fff8dc; /* darker ivory */
247 /****************************************************************
251 *****************************************************************/
252 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
253 .diff .block tt { font-weight: bold; }
255 .diff ins { font-weight: bold; text-decoration: none; }
257 /* These screw up NS4 --- moved to phpwiki-heavy.css
258 .diff .block div { position: relative; padding-left: 1.5em; }
259 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
262 .diff .block { background: #ccc; }
263 .diff .context { background: #fff; }
265 .diff .deleted { background: #fcc; }
267 .diff .added { background: #cfc; }
269 .diff .original { background: #feb; }
270 .diff .final { background: #efb; }
272 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
273 .diff del { background: #f99; }
274 .diff ins { background: #9f9; }
276 /* PageList output */
277 .pagelist tr.evenrow { background: #eeeeee; }
278 .pagelist tr.oddrow { background: white; }
284 * c-file-style: cc-mode