2 $Id: MacOSX.css,v 1.8 2002-01-16 20:04:04 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(MacOSX-heavy.css);
33 body { background: #fafafa url("bgpaper8.png"); }
34 body.edit { background: #fafafa url("bggranular.png"); }
36 body { font-family: arial, helvetica, sans-serif; }
39 * NS4, defaults from body don't always propagate correctly.
42 .wikitext, .toolbar, p, td { font-family: arial, helvetica, sans-serif; }
44 input.button { font-family: arial, helvetica, sans-serif; }
46 .wikitext pre { font-family: monospace; }
58 /* This breaks Netscape 4: (display does not go full width).
64 input.wikitext { margin:0px; }
66 div.toolbar { margin: 1ex 0ex; }
69 * This is a kluge for NS4 which doesn't honor the clear: settings on
70 * .tool-left and .tool-right.
72 * Putting in explicit <br clear="all"> messes up the formatting in
73 * other browsers. Instead we'll put in a:
75 * <div class="br"><br class="ignore" clear="all"></div>
77 * The clear:both on div.br seems to work. And we'll disable the <br> altogether (in
78 * CSS aware browsers) by setting display:none.
80 * Actually, I haven't yet found a browser which doesn't put a line break
81 * between successive <div>'s. This makes the <br class="ignore"> completely
84 div.br { clear:both; line-height: 0px; }
85 .ignore { display: none; }
97 /* This breaks Netscape 4: (display does not go full width).
105 text-decoration: underline;
111 font-family: monospace;
117 font-family: monospace;
121 * Style for <hr>s in wiki markup.
129 align:center; /* for NS4 */
137 a.wiki { text-decoration: none; }
138 .wiki { font-weight: bold; }
139 /* This is obscene in NS4
140 b .wiki, STRONG .wiki { font-size: larger; }
144 .wikiunknown a, .named-wikiunknown a, .wikiunknown U
145 { text-decoration: none; }
147 .wikiunknown, .named-wikiunknown
150 /* Interwiki links */
151 a.interwiki { text-decoration: none; }
152 .wikipage { font-weight: bold; }
155 i .interwiki .wikipage, em .interwiki .wikipage
156 { font-style: oblique; }
158 .interwiki .wikipage,
159 i .interwiki, em .interwiki
160 { font-style: normal; }
163 * wikiaction, wikiadmin, wikiunsafe:
165 a.wikiaction, a.wikiadmin { text-decoration: none; }
168 * No border on external link icons.
170 img.linkicon, img.rssicon { border: 0px; }
171 img.rssicon { vertical-align: middle; }
172 /* This screws up NS4, moved to phpwiki-heavy.css
173 img.linkicon { vertical-align: middle; }
175 .wikiaction { border: 0; }
178 a.backlinks { color: #006; }
180 /* Make the textarea on the edit page full width */
181 textarea.wikiedit { width: 100%; margin-top: 1ex; }
184 /* Calendar plugin */
186 a.cal-hide, a.cal-arrow { text-decoration: none; }
187 .cal-arrow { font-weight: bold; }
188 .cal-header { font-size: larger; }
189 .cal-dayname { font-size: smaller; text-decoration: underline; }
190 table.cal { border: thin solid black; }
193 /* IncludePage plugin */
194 .transclusion-title {
196 font-size: smaller; /* 0.75em; */
197 text-decoration: underline;
206 padding-right: 0.8em;
212 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
213 div.wiki-edithelp .transclusion {
216 padding: 0.5ex 0.5em;
219 div.wiki-edithelp .transclusion p {
223 background: #fff url("bgpaper8.png");
224 border: solid 1px #d8d8d8;
229 background: #fff url("bggranular.png");
230 border: solid 1px #d8d8d8;
234 /****************************************************************
238 *****************************************************************/
239 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
240 .diff .block tt { font-weight: bold; }
242 .diff ins { font-weight: bold; text-decoration: none; }
244 /* These screw up NS4 --- moved to phpwiki-heavy.css
245 .diff .block div { position: relative; padding-left: 1.5em; }
246 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
249 .diff .block { background: #ccc; }
250 .diff .context { background: #fff; }
252 .diff .deleted { background: #fcc; }
254 .diff .added { background: #cfc; }
256 .diff .original { background: #feb; }
257 .diff .final { background: #efb; }
259 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
260 .diff del { background: #f99; }
261 .diff ins { background: #9f9; }
269 * c-file-style: cc-mode