2 $Id: phpwiki-modern.css,v 1.3 2002-01-09 04:11:14 carstenklapp Exp $
4 Visit http://www.timestretch.com/db/home/load/36/ to see the inspiration for this stylesheet.
8 DIV.wikitext - the transformed wiki page text.
10 A.wiki - link to page in wiki.
11 A.named-wiki - a named link to page in wiki (from e.g. [name|WikiPage]).
12 A.interwiki - link to page in another wiki
13 SPAN.wikipage - page name within interwiki link.
14 A.named-interwiki - link to page in another wiki
15 A.url - link to external URL from wiki page.
16 A.named-url - link to external URL from wiki page.
18 .wikiunknown A, .wikiunknown U
19 .named-wikiunknown A, .named-wikiunknown U
27 TODO: Get rid of tables in wikiaction forms.
30 /* NS4 & OmniWeb 4 don't grok @import. This allows us to put things which
31 * break NS4 and OW4 in another file.
33 @import url(phpwiki-modern-heavy.css);
35 /* FIXME: logo needs to be moved...*/
37 vertical-align: baseline;
41 background: #EEEEEE; /* light grey */
45 BODY { font-family: arial, helvetica, sans-serif; }
48 * NS4, defaults from BODY don't always propagate correctly.
51 .wikitext, .toolbar, P, TD { font-family: arial, helvetica, sans-serif; }
53 INPUT.button { font-family: arial, helvetica, sans-serif; }
55 .wikitext PRE { font-family: monospace; }
60 border-color: #888888;
65 padding-bottom: 0.8em;
70 /* This breaks Netscape 4: (display does not go full width).
78 background-color : #000000;
82 padding-bottom : 0.3em;
83 padding-right : 0.3em;
88 text-decoration: none;
91 INPUT.wikitext { margin:0px; }
95 background: #DDDDDD; /* dark grey */
97 border-color: #666666; /* medium grey */
110 * This is a kluge for NS4 which doesn't honor the clear: settings on
111 * .tool-left and .tool-right.
113 * Putting in explicit <br clear="all"> messes up the formatting in
114 * other browsers. Instead we'll put in a:
116 * <div class="br"><br class="ignore" clear="all"></div>
118 * The clear:both on DIV.br seems to work. And we'll disable the <br> altogether (in
119 * CSS aware browsers) by setting display:none.
121 * Actually, I haven't yet found a browser which doesn't put a line break
122 * between successive <div>'s. This makes the <br class="ignore"> completely
125 DIV.br { clear:both; line-height: 0px; }
126 .ignore { display: none; }
132 border-style: dashed;
134 padding-right: 0.8em;
136 padding-bottom: 0.8em;
138 /* This breaks Netscape 4: (display does not go full width).
146 text-decoration: underline;
152 font-family: monospace;
158 font-family: monospace;
162 * Style for <hr>s in wiki markup.
173 A.wiki { text-decoration: none;
174 color: #004662 /* dark cyan */
177 color: #5454ff; /* blue */
185 A.wiki:hover, A.backlinks:hover {
186 color: #5454ff; /* blue */
192 /* This is obscene in NS4
193 B .wiki, STRONG .wiki { font-size: larger; }
196 color: #69798f; /* pale cyan */
200 .wikiunknown A, .named-wikiunknown A, .wikiunknown U
201 { text-decoration: none; }
203 .wikiunknown, .named-wikiunknown
206 /* Interwiki links */
207 A.interwiki { text-decoration: none; }
208 .wikipage { font-weight: bold; }
211 I .interwiki .wikipage, EM .interwiki .wikipage
212 { font-style: oblique; }
214 .interwiki .wikipage,
215 I .interwiki, EM .interwiki
216 { font-style: normal; }
219 * wikiaction, wikiadmin, wikiunsafe:
221 A.wikiaction, A.wikiadmin { text-decoration: none; }
222 A.wikiaction, .wikiaction TABLE, SPAN.wikiaction { /* background-color: #ddd; */ }
223 A.wikiadmin, .wikiadmin TABLE { /* background-color: #fdd; */ }
224 .wikiunsafe { /* background-color: #ccc; */ }
227 * No border on external link icons.
229 img.linkicon, img.rssicon { border: 0px; }
230 img.rssicon { vertical-align: baseline; }
231 /* This screws up NS4, moved to phpwiki-heavy.css
232 img.linkicon { vertical-align: middle; }
237 * Put a border around wikiaction forms:
238 * This doesn't work for NS4.
240 .wikiaction TABLE, .wikiadmin TABLE
244 border-width: medium;
247 .wikiaction TABLE { border-color: #9cf; }
248 .wikiadmin TABLE { border-color: #f99; }
251 A.backlinks { color: #006; }
253 /* Make the textarea on the edit page full width */
254 TEXTAREA.wikiedit { width: 100%; margin-top: 1ex; }
257 /* Calendar plugin */
259 a.cal-hide, a.cal-arrow { text-decoration: none; }
260 .cal-arrow { font-weight: bold; }
261 .cal-header { font-size: larger; }
262 .cal-dayname { font-size: smaller; text-decoration: underline; }
263 table.cal { border: thin solid black; }
266 /* IncludePage plugin */
267 .transclusion-title {
269 font-size: smaller; /* 0.75em; */
270 text-decoration: underline;
275 background: #EEEEFF; /*powder blue */
280 padding-right: 0.8em;
282 padding-bottom: 0.8em;
287 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
288 div.wiki-edithelp .transclusion {
291 padding: 0.5ex 0.5em;
294 div.wiki-edithelp .transclusion p {
298 div.wiki-edithelp .wiki {
299 background: #A9A9E6; /* blue highlight */
304 background: #EEEEFF; /* powder blue */
312 /****************************************************************
316 *****************************************************************/
317 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
318 .diff .block tt { font-weight: bold; }
320 .diff ins { font-weight: bold; text-decoration: none; }
322 /* These screw up NS4 --- moved to phpwiki-heavy.css
323 .diff .block div { position: relative; padding-left: 1.5em; }
324 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
327 .diff .block { background: #ccc; }
328 .diff .context { background: #fff; }
330 .diff .deleted { background: #fcc; }
332 .diff .added { background: #cfc; }
334 .diff .original { background: #feb; }
335 .diff .final { background: #efb; }
337 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
338 .diff del { background: #f99; }
339 .diff ins { background: #9f9; }
347 * c-file-style: cc-mode