2 $Id: phpwiki-modern.css,v 1.4 2002-01-14 05:21:16 carstenklapp Exp $
4 Inspiration for this stylesheet:
6 http://www.timestretch.com/db/home/load/36/
11 DIV.wikitext - the transformed wiki page text.
13 A.wiki - link to page in wiki.
14 A.named-wiki - a named link to page in wiki (from e.g. [name|WikiPage]).
15 A.interwiki - link to page in another wiki
16 SPAN.wikipage - page name within interwiki link.
17 A.named-interwiki - link to page in another wiki
18 A.url - link to external URL from wiki page.
19 A.named-url - link to external URL from wiki page.
21 .wikiunknown A, .wikiunknown U
22 .named-wikiunknown A, .named-wikiunknown U
30 TODO: Get rid of tables in wikiaction forms.
33 /* NS4 & OmniWeb 4 don't grok @import. This allows us to put things which
34 * break NS4 and OW4 in another file.
36 @import url(phpwiki-modern-heavy.css);
38 /* FIXME: logo needs to be moved, it's floating upwards in Mozilla for some reason */
40 vertical-align: baseline; }
43 background: #EEEEEE; /* light grey */
47 BODY { font-family: arial, helvetica, sans-serif; }
50 * NS4, defaults from BODY don't always propagate correctly.
53 .wikitext, .toolbar, P, TD { font-family: arial, helvetica, sans-serif; }
55 INPUT.button { font-family: arial, helvetica, sans-serif; }
57 .wikitext PRE { font-family: monospace; }
62 border-color: #888888;
67 padding-bottom: 0.8em;
72 /* This breaks Netscape 4: (display does not go full width).
79 background-color : #000000;
83 padding-bottom : 0.2em;
84 padding-right : 0.6em;
89 text-decoration: none;
94 background-color : #525D76;
98 padding-bottom : 0.1em;
99 padding-right : 0.3em;
102 h3 { color : #ffffff;
103 background-color : #828DA6;
106 padding-left : 0.3em;
107 padding-bottom : 0.1em;
108 padding-right : 0.3em;
111 INPUT.wikitext { margin: 0px; }
115 background: #DDDDDD; /* dark grey */
117 border-color: #666666; /* medium grey */
130 * This is a kluge for NS4 which doesn't honor the clear: settings on
131 * .tool-left and .tool-right.
133 * Putting in explicit <br clear="all"> messes up the formatting in
134 * other browsers. Instead we'll put in a:
136 * <div class="br"><br class="ignore" clear="all"></div>
138 * The clear:both on DIV.br seems to work. And we'll disable the <br> altogether (in
139 * CSS aware browsers) by setting display:none.
141 * Actually, I haven't yet found a browser which doesn't put a line break
142 * between successive <div>'s. This makes the <br class="ignore"> completely
145 DIV.br { clear:both; line-height: 0px; }
146 .ignore { display: none; }
152 border-style: dashed;
154 padding-right: 0.8em;
156 padding-bottom: 0.8em;
158 /* This breaks Netscape 4: (display does not go full width).
166 text-decoration: underline;
172 font-family: monospace;
178 font-family: monospace;
182 * Style for <hr>s in wiki markup.
184 .wikitext HR { height: 1pt; }
191 A.wiki { text-decoration: none;
192 color: #004662 /* dark cyan */
195 color: #5454ff; /* blue */
203 A.wiki:hover, A.backlinks:hover {
204 color: #5454ff; /* blue */
210 /* This is obscene in NS4
211 B .wiki, STRONG .wiki { font-size: larger; }
214 color: #69798f; /* pale cyan */
218 .wikiunknown A, .named-wikiunknown A, .wikiunknown U
219 { text-decoration: none; }
221 .wikiunknown, .named-wikiunknown
224 /* Interwiki links */
225 A.interwiki { text-decoration: none; }
226 .wikipage { font-weight: bold; }
229 I .interwiki .wikipage, EM .interwiki .wikipage
230 { font-style: oblique; }
232 .interwiki .wikipage,
233 I .interwiki, EM .interwiki
234 { font-style: normal; }
237 * wikiaction, wikiadmin, wikiunsafe:
239 A.wikiaction, A.wikiadmin { text-decoration: none; }
240 A.wikiaction, .wikiaction TABLE, SPAN.wikiaction { /* background-color: #ddd; */ }
241 A.wikiadmin, .wikiadmin TABLE { /* background-color: #fdd; */ }
242 .wikiunsafe { /* background-color: #ccc; */ }
245 * No border on external link icons.
247 img.linkicon, img.rssicon { border: 0px; }
248 img.rssicon { vertical-align: baseline; }
249 /* This screws up NS4, moved to phpwiki-heavy.css
250 img.linkicon { vertical-align: middle; }
255 * Put a border around wikiaction forms:
256 * This doesn't work for NS4.
258 .wikiaction TABLE, .wikiadmin TABLE
262 border-width: medium;
265 .wikiaction TABLE { border-color: #9cf; }
266 .wikiadmin TABLE { border-color: #f99; }
269 A.backlinks { color: #006; }
271 /* Make the textarea on the edit page full width */
272 TEXTAREA.wikiedit { width: 100%; margin-top: 1ex; }
275 /* Calendar plugin */
277 a.cal-hide, a.cal-arrow { text-decoration: none; }
278 .cal-arrow { font-weight: bold; }
279 .cal-header { font-size: larger; }
280 .cal-dayname { font-size: smaller; text-decoration: underline; }
281 table.cal { border: thin solid black; }
284 /* IncludePage plugin */
285 .transclusion-title {
287 font-size: smaller; /* 0.75em; */
288 text-decoration: underline;
293 background: #EEEEFF; /*powder blue */
298 padding-right: 0.8em;
300 padding-bottom: 0.8em;
305 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
306 div.wiki-edithelp .transclusion {
309 padding: 0.5ex 0.5em;
312 div.wiki-edithelp .transclusion p {
316 div.wiki-edithelp .wiki {
317 background: #A9A9E6; /* blue highlight */
322 background: #EEEEFF; /* powder blue */
330 /****************************************************************
334 *****************************************************************/
335 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
336 .diff .block tt { font-weight: bold; }
338 .diff ins { font-weight: bold; text-decoration: none; }
340 /* These screw up NS4 --- moved to phpwiki-heavy.css
341 .diff .block div { position: relative; padding-left: 1.5em; }
342 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
345 .diff .block { background: #ccc; }
346 .diff .context { background: #fff; }
348 .diff .deleted { background: #fcc; }
350 .diff .added { background: #cfc; }
352 .diff .original { background: #feb; }
353 .diff .final { background: #efb; }
355 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
356 .diff del { background: #f99; }
357 .diff ins { background: #9f9; }
365 * c-file-style: cc-mode