2 $Id: MacOSX.css,v 1.18 2002-02-03 21:32:07 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; }
46 .wikitext pre { font-family: Monaco, monospace; }
50 border-top: solid 1px #7c7c7c;
51 border-left: solid 1px #c3c3c3;
52 border-bottom: solid 1px #dddddd;
53 border-right: solid 1px #c3c3c3;
57 padding-bottom: 0.5em;
59 /* This breaks Netscape 4: (display does not go full width).
65 input.wikitext { margin:0px; }
67 div.toolbar { margin: 1ex 0ex; }
70 * This is a kluge for NS4 which doesn't honor the clear: settings on
71 * .tool-left and .tool-right.
73 * Putting in explicit <br clear="all"> messes up the formatting in
74 * other browsers. Instead we'll put in a:
76 * <div class="br"><br class="ignore" clear="all"></div>
78 * The clear:both on div.br seems to work. And we'll disable the <br> altogether (in
79 * CSS aware browsers) by setting display:none.
81 * Actually, I haven't yet found a browser which doesn't put a line break
82 * between successive <div>'s. This makes the <br class="ignore"> completely
85 div.br { clear:both; line-height: 0px; }
86 .ignore { display: none; }
98 /* This breaks Netscape 4: (display does not go full width).
106 text-decoration: underline;
112 font-family: Monaco, monospace;
118 font-family: Monaco, monospace;
122 * Style for <hr>s in wiki markup.
131 a.wiki { text-decoration: none; }
132 .wiki { font-weight: bold; color:#1d42be; } /*blue*/
133 /* This is obscene in NS4
134 b .wiki, STRONG .wiki { font-size: larger; }
138 .wikiunknown a, .named-wikiunknown a, .wikiunknown U
139 { text-decoration: none; }
141 .wikiunknown, .named-wikiunknown
144 /* Interwiki links */
145 a.interwiki { text-decoration: none; }
146 .wikipage { font-weight: bold; }
149 i .interwiki .wikipage, em .interwiki .wikipage
150 { font-style: oblique; }
152 .interwiki .wikipage,
153 i .interwiki, em .interwiki
154 { font-style: normal; }
157 * wikiaction, wikiadmin, wikiunsafe:
159 a.wikiaction, a.wikiadmin { text-decoration: none; }
162 * No border on external link icons.
164 img.linkicon, img.rssicon { border: 0px; }
165 img.rssicon { vertical-align: middle; }
166 /* This screws up NS4, moved to phpwiki-heavy.css
167 img.linkicon { vertical-align: middle; }
169 img.wiki-button { vertical-align: middle; }
171 .wikiaction { border: 0; }
174 a.backlinks { color: #006; }
176 /* Make the textarea on the edit page full width */
177 textarea.wikiedit { width: 100%; margin-top: 1ex; }
179 p.editdate { font-size: smaller; margin-bottom: -1ex; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
181 /* Calendar plugin */
183 a.cal-arrow { text-decoration: none; }
184 .cal-arrow { font-weight: bold; }
185 .cal-dayname { font-size: smaller;
186 text-decoration: none; }
188 border-top: solid 1px #7c7c7c;
189 border-left: solid 1px #c3c3c3;
190 border-bottom: solid 1px #dddddd;
191 border-right: solid 1px #c3c3c3;
192 background: #bebebe; }
195 border-top: solid 1px #7c7c7c;
196 border-left: solid 1px #c3c3c3;
197 border-bottom: solid 1px #dddddd;
198 border-right: solid 1px #c3c3c3; }
199 table.cal-header td {
203 table.cal td.cal-dayname { background: #f4f4f4; }
204 table.cal td.cal-today {
206 border-top: solid 1px #7c7c7c;
207 border-left: solid 1px #c3c3c3;
208 border-bottom: solid 1px #dddddd;
209 border-right: solid 1px #c3c3c3; }
211 /* IncludePage plugin */
212 .transclusion-title {
213 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
214 /* font-style: oblique; */
215 font-size: smaller; /* 0.75em; */
216 text-decoration: underline;
221 /* background: #fff url("images/bgpaper8.png"); */
222 /* background: white; */
224 border-top: solid 1px #7c7c7c;
225 border-left: solid 1px #c3c3c3;
226 border-bottom: solid 1px #dddddd;
227 border-right: solid 1px #c3c3c3;
230 padding-right: 0.8em;
236 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
237 div.wiki-edithelp .transclusion {
240 padding: 0.5ex 0.5em;
243 div.wiki-edithelp .transclusion p {
247 /* background: #fff url("images/bgpaper8.png"); */
249 border-top: solid 1px #7c7c7c;
250 border-left: solid 1px #c3c3c3;
251 border-bottom: solid 1px #dddddd;
252 border-right: solid 1px #c3c3c3;
258 background: #fff url("images/bggranular.png");
259 border: solid 1px #d8d8d8;
263 /****************************************************************
267 *****************************************************************/
268 .diff .block { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
269 .diff .block tt { font-weight: bold; }
271 .diff ins { font-weight: bold; text-decoration: none; }
273 /* These screw up NS4 --- moved to phpwiki-heavy.css
274 .diff .block div { position: relative; padding-left: 1.5em; }
275 .diff .prefix { position: absolute; left: 0.5em; top: 0; }
278 .diff .block { background: #ccc; }
279 .diff .context { background: #fff; }
281 .diff .deleted { background: #fcc; }
283 .diff .added { background: #cfc; }
285 .diff .original { background: #feb; }
286 .diff .final { background: #efb; }
288 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
289 .diff del { background: #f99; }
290 .diff ins { background: #9f9; }
292 /* PageList output */
293 .pagelist tr.evenrow { background: #eee; }
294 .pagelist tr.oddrow { background: #f7f7f7; }
300 * c-file-style: cc-mode