2 $Id: MacOSX.css,v 1.20 2002-02-10 22:24:11 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("image/bgpaper8.png"); }
34 body.edit { background: #fafafa url("images/bggranular.png"); }
39 * NS4, defaults from body don't always propagate correctly.
42 h1, h2, h3, .toolbar, td { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
44 input.button { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
50 .wikitext pre { font-family: Monaco, monospace; }
54 border-top: solid 1px #7c7c7c;
55 border-left: solid 1px #c3c3c3;
56 border-bottom: solid 1px #dddddd;
57 border-right: solid 1px #c3c3c3;
61 padding-bottom: 0.5em;
63 /* This breaks Netscape 4: (display does not go full width).
69 input.wikitext { margin:0px; }
71 div.toolbar { margin: 1ex 0ex; }
74 * This is a kluge for NS4 which doesn't honor the clear: settings on
75 * .tool-left and .tool-right.
77 * Putting in explicit <br clear="all"> messes up the formatting in
78 * other browsers. Instead we'll put in a:
80 * <div class="br"><br class="ignore" clear="all"></div>
82 * The clear:both on div.br seems to work. And we'll disable the <br> altogether (in
83 * CSS aware browsers) by setting display:none.
85 * Actually, I haven't yet found a browser which doesn't put a line break
86 * between successive <div>'s. This makes the <br class="ignore"> completely
89 div.br { clear:both; line-height: 0px; }
90 .ignore { display: none; }
102 /* This breaks Netscape 4: (display does not go full width).
110 text-decoration: underline;
116 font-family: Monaco, monospace;
122 font-family: Monaco, monospace;
126 * Style for <hr>s in wiki markup.
135 a.wiki { text-decoration: none; }
136 .wiki { font-weight: bold; color:#1d42be; } /*blue*/
137 /* This is obscene in NS4
138 b .wiki, STRONG .wiki { font-size: larger; }
142 .wikiunknown a, .named-wikiunknown a, .wikiunknown U
143 { text-decoration: none; }
145 .wikiunknown, .named-wikiunknown
148 /* Interwiki links */
149 a.interwiki { text-decoration: none; }
150 .wikipage { font-weight: bold; }
153 i .interwiki .wikipage, em .interwiki .wikipage
154 { font-style: oblique; }
156 .interwiki .wikipage,
157 i .interwiki, em .interwiki
158 { font-style: normal; }
161 * wikiaction, wikiadmin, wikiunsafe:
163 a.wikiaction, a.wikiadmin { text-decoration: none; }
166 * No border on external link icons.
168 img.linkicon, img.rssicon { border: 0px; }
169 img.rssicon { vertical-align: middle; }
170 /* This screws up NS4, moved to phpwiki-heavy.css
171 img.linkicon { vertical-align: middle; }
173 img.wiki-button { 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; }
183 p.editdate { font-size: smaller; margin-bottom: -1ex; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
185 /* Calendar plugin */
187 a.cal-arrow { text-decoration: none; }
188 .cal-arrow { font-weight: bold; }
189 .cal-dayname { font-size: smaller;
190 text-decoration: none; }
192 border-top: solid 1px #7c7c7c;
193 border-left: solid 1px #c3c3c3;
194 border-bottom: solid 1px #dddddd;
195 border-right: solid 1px #c3c3c3;
196 background: #bebebe; }
199 border-top: solid 1px #7c7c7c;
200 border-left: solid 1px #c3c3c3;
201 border-bottom: solid 1px #dddddd;
202 border-right: solid 1px #c3c3c3; }
203 table.cal-header td {
207 table.cal td.cal-dayname { background: #f4f4f4; }
208 table.cal td.cal-today {
210 border-top: solid 1px #7c7c7c;
211 border-left: solid 1px #c3c3c3;
212 border-bottom: solid 1px #dddddd;
213 border-right: solid 1px #c3c3c3; }
215 /* IncludePage plugin */
216 .transclusion-title {
217 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
218 /* font-style: oblique; */
219 font-size: smaller; /* 0.75em; */
220 text-decoration: underline;
225 /* background: #fff url("images/bgpaper8.png"); */
226 /* background: white; */
228 border-top: solid 1px #7c7c7c;
229 border-left: solid 1px #c3c3c3;
230 border-bottom: solid 1px #dddddd;
231 border-right: solid 1px #c3c3c3;
234 padding-right: 0.8em;
240 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
241 div.wiki-edithelp .transclusion {
244 padding: 0.5ex 0.5em;
247 div.wiki-edithelp .transclusion p {
251 /* background: #fff url("images/bgpaper8.png"); */
253 border-top: solid 1px #7c7c7c;
254 border-left: solid 1px #c3c3c3;
255 border-bottom: solid 1px #dddddd;
256 border-right: solid 1px #c3c3c3;
262 background: #fff url("images/bggranular.png");
263 border: solid 1px #d8d8d8;
266 .printer { display: none; }
268 /****************************************************************
272 *****************************************************************/
273 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
274 .diff .block tt { font-weight: bold; }
276 .diff ins { font-weight: bold; text-decoration: none; }
278 /* These screw up NS4 --- moved to phpwiki-heavy.css
279 .diff .block div { position: relative; padding-left: 1.5em; }
280 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
283 .diff .block { background: #ccc; }
284 .diff .context { background: #fff; }
286 .diff .deleted { background: #fcc; }
288 .diff .added { background: #cfc; }
290 .diff .original { background: #feb; }
291 .diff .final { background: #efb; }
293 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
294 .diff del { background: #f99; }
295 .diff ins { background: #9f9; }
297 /* PageList output */
298 .pagelist tr.evenrow { background: #eee; }
299 .pagelist tr.oddrow { background: #f7f7f7; }
305 * c-file-style: cc-mode