]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
fixed typo in url
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2  $Id: MacOSX.css,v 1.28 2002-03-06 22:36:25 carstenklapp Exp $
3
4  Classes:
5
6  div.wikitext - the transformed wiki page text.
7
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.
15
16  .wikiunknown a, .wikiunknown u
17  .named-wikiunknown a, .named-wikiunknown u
18
19  a.wikiaction
20  a.wikiadmin
21  .wikiunsafe
22
23  a.backlinks
24
25  TODO: Get rid of tables in wikiaction forms.
26  */
27
28 /* NS4 doesn't grok @import.  This allows us to put things which
29  * break NS4 in another file. */
30 @import url(MacOSX-heavy.css);
31
32 body { background: #fafafa url("images/bgpaper8.png"); }
33 body.edit { background: #fafafa url("images/bggranular.png"); }
34
35 body { }
36
37 /*
38  * NS4, defaults from body don't always propagate correctly.
39  * So we need this:
40  */
41 h1, h2, h3, .toolbar, td { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
42
43 input.button { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
44
45 input.numeric {
46   text-align: right;
47 }
48 .wikitext pre { font-family: Monaco, monospace; }
49
50
51
52
53 input[type=text] {
54   border-top:    1px solid #7c7c7c;
55   border-left:   1px solid #c3c3c3;
56   border-bottom: 1px solid #dddddd;
57   border-right:  1px solid #c3c3c3;
58 }
59 /* Add space between the input field and following buttons, but not after the last button. */
60 div.wikiaction input[type=text],
61 div.wikiadmin input[type=text],
62 form.wikiadmin input[type=file] {
63   margin-right: 0.5em;
64 }
65
66
67
68 /**
69  * Wiki
70  */
71 div.wikitext {
72   background: white;
73   /* for NS4 */
74   border: 1px solid black;
75
76   border-top:    1px solid #7c7c7c;
77   border-left:   1px solid #c3c3c3;
78   border-bottom: 1px solid #dddddd;
79   border-right:  1px solid #c3c3c3;
80   padding-left: 0.8em;
81   padding-right: 0.8em;
82   padding-top: 0.5em;
83   padding-bottom: 0.5em;
84   margin: 0.5ex 0px;
85   /* This breaks Netscape 4: (display does not go full width).
86   width: auto;
87   */
88 clear: both;
89 }
90
91 input.wikitext { margin:0px; }
92 input[type=text] {
93   height: 2.7ex;
94   padding: 0.4ex 0.3ex;
95 }
96
97 div.toolbar { margin: 1ex 0ex; }
98
99
100 /**
101  * PageTypes
102  */
103 .interwiki-map thead td {
104   background: #e8e8e8;
105   font-weight: bold;
106   font-size: smaller;
107 }
108 .interwiki-map thead td:first-child { text-decoration: underline; }
109 .interwiki-moniker { background: #eee; }
110 .interwiki-url { background: #f8f8f8; }
111
112
113 div.errors {
114   background: #eee;
115   border: 1px solid gray;
116   padding-left: 0.8em;
117   padding-right: 0.8em;
118   padding-top: 0.8ex;
119   padding-bottom: 0;
120   margin-top: 1em;
121   clear: both;
122   font-size: smaller;
123 }
124
125 .errors h4 {
126   color: black;
127   text-decoration: underline;
128   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
129   margin-top: 0;
130   margin-bottom: 0.5ex;
131 }
132
133 .error {
134   font-family: Monaco, monospace;
135   margin: 0;
136   font-size: smaller;
137 }
138 .error ul {
139   font-size: smaller;
140   font-family: Monaco, monospace;
141 }
142 /* Debug */
143 .debug {
144   color: black;
145   background: white;
146   font-family: monospace;
147   font-size: smaller;
148   margin: 1ex 0;
149   padding: 0.5ex 0.5em;
150   border: 1px solid #eee;
151 }
152
153
154 /*
155  * Style for <hr>s in wiki markup.
156  */
157 .wikitext hr {}
158
159
160 /*
161  * Link styles
162  */
163 /* Wiki Links */
164 a.wiki { text-decoration: none; }
165 .wiki, .named-wiki { font-weight: bold; color:#1d42be; } /*blue*/
166 /* This is obscene in NS4
167   b .wiki, STRONG .wiki { font-size: larger; }
168  */
169
170 /* Unknown links */
171 .wikiunknown a, .named-wikiunknown a, .wikiunknown U { text-decoration: none; }
172
173 .wikiunknown, .named-wikiunknown {color: #555; }
174
175 /* Interwiki links */
176 a.interwiki { text-decoration: none; }
177 .wikipage   { font-weight: bold; }
178
179 .interwiki,
180 i .interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
181
182 .interwiki .wikipage,
183 i .interwiki, em .interwiki { font-style: normal; }
184
185 /*
186  * wikiaction, wikiadmin, wikiunsafe:
187  */
188 a.wikiaction, a.wikiadmin { text-decoration: none; }
189
190 /*
191  * No border on external link icons.
192  */
193 img.linkicon, img.rssicon { border: 0px; }
194 img.rssicon { vertical-align: middle; }
195 /* This screws up NS4, moved to phpwiki-heavy.css
196 img.linkicon { vertical-align: middle; }
197 */
198 img.wiki-button { vertical-align: middle; }
199
200 .wikiaction { border: 0; }
201
202 /* backlinks */
203 a.backlinks { color: #006; }
204
205 /* Make the textarea on the edit page full width */
206 textarea.wikiedit { width: 100%; margin-top: 1ex; }
207
208 p.editdate { font-size: smaller; margin-bottom: 0; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
209
210 /* Calendar plugin */
211 a.cal-hide,
212 a.cal-arrow { text-decoration: none; }
213 .cal-arrow { font-weight: bold; }
214 .cal-dayname {
215   font-size: smaller;
216   text-decoration: none;
217 }
218 table.cal {
219   /* for NS4 */
220   /*border: 1px solid black;
221
222   border-top:    1px solid #7c7c7c;
223   border-left:   1px solid #c3c3c3;
224   border-bottom: 1px solid #dddddd;
225   border-right:  1px solid #c3c3c3;
226   background: #bebebe;*/
227 }
228 table.cal td {
229   background: white;
230   /* for NS4 */
231   border: 1px solid black;
232
233   border-top:    1px solid #7c7c7c;
234   border-left:   1px solid #c3c3c3;
235   border-bottom: 1px solid #dddddd;
236   border-right:  1px solid #c3c3c3;
237 }
238 table.cal-header td {
239   font-size:  larger;
240   background: white;
241   border: 0px;
242 }
243 table.cal td.cal-dayname { background: #e8e8e8; }
244 table.cal td.cal-today {
245   background:    #f4f4f4;
246   /* for NS4 */
247   border: 1px solid black;
248
249   border-top:    1px solid #7c7c7c;
250   border-left:   1px solid #c3c3c3;
251   border-bottom: 1px solid #dddddd;
252   border-right:  1px solid #c3c3c3;
253 }
254
255 /* IncludePage plugin */
256 .transclusion-title {
257   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
258   /* font-style: oblique; */
259   font-size: smaller; /* 0.75em; */
260   text-decoration: underline;
261   text-align: right;
262 }
263
264 div.transclusion {
265   /* background: #fff url("images/bgpaper8.png"); */
266   /* background: white; */
267   background: #fdfdfd;
268   /* for NS4 */
269   border: 1px solid black;
270
271   border-top:    1px solid #7c7c7c;
272   border-left:   1px solid #c3c3c3;
273   border-bottom: 1px solid #dddddd;
274   border-right:  1px solid #c3c3c3;
275
276   padding-left:  0.8em;
277   padding-right: 0.8em;
278   padding-top:    0px;
279   padding-bottom: 0px;
280   margin: 0.5ex ;
281 }
282
283 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
284 div.wiki-edithelp .transclusion {
285   font-size: smaller;
286   background: inherit;
287   padding: 0.5ex 0.5em;
288   margin: 0.2ex 5%;
289 }
290 div.wiki-edithelp .transclusion p { margin: 0; }
291 div.wiki-edithelp {
292   /* background: #fff url("images/bgpaper8.png"); */
293   background: white;
294   /* for NS4 */
295   border: 1px solid black;
296
297   border-top:    1px solid #7c7c7c;
298   border-left:   1px solid #c3c3c3;
299   border-bottom: 1px solid #dddddd;
300   border-right:  1px solid #c3c3c3;
301
302   font-size: smaller;
303   padding: 6pt;
304 }
305 div.wiki-message {
306   background: #fff url("images/bggranular.png");
307   border: solid 1px #d8d8d8;
308   padding: 6pt;
309 }
310 .printer { display: none; }
311
312
313 /**
314  * Diff Output
315  */
316 /* main box */
317 .diff {
318   background: white;
319   /* for NS4 */
320   border: 1px solid black;
321
322   border-top:    1px solid #7c7c7c;
323   border-left:   1px solid #c3c3c3;
324   border-bottom: 1px solid #dddddd;
325   border-right:  1px solid #c3c3c3;
326 }
327 .diff .block {
328   background: #ccc;
329   /* for NS4 */
330   /*  border: none;*/
331 }
332
333 /* individual blocks */
334 .diff .context {
335   background: white;
336   /* for NS4 */
337   border: none;
338 }
339 /* + - line prefix */
340 .diff .block tt {
341   font-weight: normal;
342   font-family: monospace;
343   margin-left: -0.6em;
344   color: black;
345   /* for NS4 */
346   border: none;
347 }
348 /* changed words */
349 .diff del, .diff ins {
350   font-weight: bold;
351   text-decoration: none;
352 }
353
354 /* blocks containing deleted or added words */
355 .diff .original, .diff .deleted,
356 .diff .final, .diff .added {
357   background: white;
358 }
359 /* blocks containing deleted words */
360 .diff .original, .diff .deleted {
361   background: white;
362   border: 2px solid #f99; /* fcc */
363 }
364 /* blocks containing added words */
365 .diff .final, .diff .added {
366   background: white;
367   border: 2px solid #9f9; /* cfc */
368 }
369
370 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
371 /* deleted words */
372 .diff del { background: #fcc; } /* f99 */
373 /* added words */
374 .diff ins { background: #cfc; } /* 9f9 */
375
376
377 /**
378  * PageList output
379  */
380 .pagelist tr.evenrow { background: #f8f8f8; }
381 .pagelist tr.oddrow  { background: #eee; }
382 .pagelist thead td {
383   background: #e8e8e8;
384   text-decoration: none;
385   font-weight: bold;
386   font-size: smaller;
387 }
388 .pagelist thead td u { text-decoration: none; }
389
390
391 /**
392  * Search Results
393  */
394 .search-context { background: white; }
395 .search-term {
396   background: #9bdaff;
397   font-weight: normal;
398 }
399
400
401 /* For emacs users
402  *
403  * Local Variables:
404  * mode: c
405  * c-file-style: cc-mode
406  * End:
407  */