2 $Id: phpwiki.css,v 1.20 2002-01-09 04:11:14 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 * This is a kluge for NS4 which doesn't honor the clear: settings on
69 * .tool-left and .tool-right.
71 * Putting in explicit <br clear="all"> messes up the formatting in
72 * other browsers. Instead we'll put in a:
74 * <div class="br"><br class="ignore" clear="all"></div>
76 * The clear:both on DIV.br seems to work. And we'll disable the <br> altogether (in
77 * CSS aware browsers) by setting display:none.
79 * Actually, I haven't yet found a browser which doesn't put a line break
80 * between successive <div>'s. This makes the <br class="ignore"> completely
83 DIV.br { clear:both; line-height: 0px; }
84 .ignore { display: none; }
96 /* This breaks Netscape 4: (display does not go full width).
104 text-decoration: underline;
110 font-family: monospace;
116 font-family: monospace;
120 * Style for <hr>s in wiki markup.
128 align:center; /* for NS4 */
136 A.wiki { text-decoration: none; }
137 .wiki { font-weight: bold; }
138 /* This is obscene in NS4
139 B .wiki, STRONG .wiki { font-size: larger; }
143 .wikiunknown A, .named-wikiunknown A, .wikiunknown U
144 { text-decoration: none; }
146 .wikiunknown, .named-wikiunknown
149 /* Interwiki links */
150 A.interwiki { text-decoration: none; }
151 .wikipage { font-weight: bold; }
154 I .interwiki .wikipage, EM .interwiki .wikipage
155 { font-style: oblique; }
157 .interwiki .wikipage,
158 I .interwiki, EM .interwiki
159 { font-style: normal; }
162 * wikiaction, wikiadmin, wikiunsafe:
164 A.wikiaction, A.wikiadmin { text-decoration: none; }
165 A.wikiaction, .wikiaction TABLE, SPAN.wikiaction { background-color: #ddd; }
166 A.wikiadmin, .wikiadmin TABLE { background-color: #fdd; }
167 .wikiunsafe { background-color: #ccc; }
170 * No border on external link icons.
172 img.linkicon, img.rssicon { border: 0px; }
173 img.rssicon { vertical-align: top; }
174 /* This screws up NS4, moved to phpwiki-heavy.css
175 img.linkicon { vertical-align: middle; }
180 * Put a border around wikiaction forms:
181 * This doesn't work for NS4.
183 .wikiaction TABLE, .wikiadmin TABLE
186 border-width: medium;
188 .wikiaction TABLE { border-color: #9cf; }
189 .wikiadmin TABLE { border-color: #f99; }
192 A.backlinks { color: #006; }
194 /* Make the textarea on the edit page full width */
195 TEXTAREA.wikiedit { width: 100%; margin-top: 1ex; }
198 /* Calendar plugin */
200 a.cal-hide, a.cal-arrow { text-decoration: none; }
201 .cal-arrow { font-weight: bold; }
202 .cal-header { font-size: larger; }
203 .cal-dayname { font-size: smaller; text-decoration: underline; }
204 table.cal { border: thin solid black; }
207 /* IncludePage plugin */
208 .transclusion-title {
210 font-size: smaller; /* 0.75em; */
211 text-decoration: underline;
220 padding-right: 0.8em;
226 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
227 div.wiki-edithelp .transclusion {
230 padding: 0.5ex 0.5em;
233 div.wiki-edithelp .transclusion p {
237 background: #fff8dc; /* darker ivory */
242 /****************************************************************
246 *****************************************************************/
247 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
248 .diff .block tt { font-weight: bold; }
250 .diff ins { font-weight: bold; text-decoration: none; }
252 /* These screw up NS4 --- moved to phpwiki-heavy.css
253 .diff .block div { position: relative; padding-left: 1.5em; }
254 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
257 .diff .block { background: #ccc; }
258 .diff .context { background: #fff; }
260 .diff .deleted { background: #fcc; }
262 .diff .added { background: #cfc; }
264 .diff .original { background: #feb; }
265 .diff .final { background: #efb; }
267 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
268 .diff del { background: #f99; }
269 .diff ins { background: #9f9; }
277 * c-file-style: cc-mode