]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
Fine tune position and style of "Last edited" message.
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2   $Id: MacOSX.css,v 1.18 2002-02-03 21:32:07 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. As of OmniWeb 4.1, OW now @imports :-(
30  */
31 @import url(MacOSX-heavy.css);
32
33 body { background: #fafafa url("image/bgpaper8.png"); }
34 body.edit { background: #fafafa url("images/bggranular.png"); }
35
36 body { }
37
38 /*
39  * NS4, defaults from body don't always propagate correctly.
40  * So we need this:
41  */ 
42 h1, h2, h3, .toolbar, td { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
43
44 input.button { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
45
46 .wikitext pre { font-family: Monaco, monospace; }
47
48 div.wikitext {
49   background: white;
50   border-top:    solid 1px #7c7c7c;
51   border-left:   solid 1px #c3c3c3;
52   border-bottom: solid 1px #dddddd;
53   border-right:  solid 1px #c3c3c3;
54   padding-left: 0.8em; 
55   padding-right: 0.8em; 
56   padding-top: 0.5em;
57   padding-bottom: 0.5em;
58   margin: 0.5ex 0px;
59  /* This breaks Netscape 4: (display does not go full width).
60     width: auto;
61  */
62  clear: both;
63 }
64
65 input.wikitext { margin:0px; }
66
67 div.toolbar { margin: 1ex 0ex; }
68
69 /*
70  * This is a kluge for NS4 which doesn't honor the clear: settings on
71  * .tool-left and .tool-right.
72  *
73  * Putting in explicit <br clear="all"> messes up the formatting in
74  * other browsers.  Instead we'll put in a:
75  *
76  *  <div class="br"><br class="ignore" clear="all"></div>
77  *
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.
80  *
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
83  * unnecessary. 
84  */
85 div.br { clear:both; line-height: 0px; }
86 .ignore { display: none; }
87  
88 div.errors {
89  background: #eee;
90  border: medium;
91  border-color: red;
92  border-style: solid;
93  padding-left: 0.8em; 
94  padding-right: 0.8em; 
95  padding-top: 0px;
96  padding-bottom: 0px;
97  margin: 1em;
98  /* This breaks Netscape 4: (display does not go full width).
99     width: auto;
100  */
101  clear: both;
102 }
103
104 .errors h4 {
105  color:red;
106  text-decoration: underline;
107  margin:0px;
108 }
109
110 p.error {
111  font-size: smaller;
112  font-family: Monaco, monospace;
113  margin:0px;
114 }
115 .error ul
116 {
117  font-size: smaller;
118  font-family: Monaco, monospace;
119 }
120
121 /*
122  * Style for <hr>s in wiki markup.
123  */
124 .wikitext hr {}
125
126
127 /*
128  * Link styles
129  */
130 /* Wiki Links */
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; }
135 */
136
137 /* Unknown links */
138 .wikiunknown a, .named-wikiunknown a, .wikiunknown U
139 { text-decoration: none; }
140
141 .wikiunknown, .named-wikiunknown
142 {color: #555; }
143
144 /* Interwiki links */
145 a.interwiki { text-decoration: none; }
146 .wikipage   { font-weight: bold; }
147
148 .interwiki,
149 i .interwiki .wikipage, em .interwiki .wikipage
150 { font-style: oblique; }
151
152 .interwiki .wikipage,
153 i .interwiki, em .interwiki  
154 { font-style: normal; }
155
156 /*
157  * wikiaction, wikiadmin, wikiunsafe:
158  */
159 a.wikiaction, a.wikiadmin       { text-decoration: none; }
160
161 /*
162  * No border on external link icons.
163  */
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; }
168 */
169 img.wiki-button         { vertical-align: middle; }
170
171 .wikiaction { border: 0; }
172  
173 /* backlinks */
174 a.backlinks { color: #006; }
175
176 /* Make the textarea on the edit page full width */
177 textarea.wikiedit { width: 100%; margin-top: 1ex; }
178
179 p.editdate { font-size: smaller; margin-bottom: -1ex; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
180
181 /* Calendar plugin */
182 a.cal-hide,
183  a.cal-arrow { text-decoration: none; }
184 .cal-arrow   { font-weight: bold; }
185 .cal-dayname { font-size: smaller;
186                text-decoration: none; }
187 table.cal   { 
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; } 
193 table.cal td {
194   background: white;
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 {
200   font-size:  larger;
201   background: white;
202   border: 0px; }
203 table.cal td.cal-dayname { background: #f4f4f4; }
204 table.cal td.cal-today {
205   background:    #f4f4f4;
206   border-top:    solid 1px #7c7c7c;
207   border-left:   solid 1px #c3c3c3;
208   border-bottom: solid 1px #dddddd;
209   border-right:  solid 1px #c3c3c3; }
210
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;
217   text-align: right;
218
219
220 div.transclusion { 
221   /* background: #fff url("images/bgpaper8.png"); */
222   /* background: white; */
223   background: #fdfdfd;
224   border-top:    solid 1px #7c7c7c;
225   border-left:   solid 1px #c3c3c3;
226   border-bottom: solid 1px #dddddd;
227   border-right:  solid 1px #c3c3c3;
228
229   padding-left: 0.8em; 
230   padding-right: 0.8em; 
231   padding-top: 0px;
232   padding-bottom: 0px;
233   margin: 0.5ex 0px;
234 }
235
236 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
237 div.wiki-edithelp .transclusion {
238   font-size: smaller;
239   background: inherit;
240   padding: 0.5ex 0.5em;
241   margin: 0.2ex 5%;
242 }
243 div.wiki-edithelp .transclusion p {
244   margin: 0;
245 }
246 div.wiki-edithelp {
247   /* background: #fff url("images/bgpaper8.png"); */
248   background: white;
249   border-top:    solid 1px #7c7c7c;
250   border-left:   solid 1px #c3c3c3;
251   border-bottom: solid 1px #dddddd;
252   border-right:  solid 1px #c3c3c3;
253
254   font-size: smaller;
255   padding: 6pt;
256 }
257 div.wiki-message {
258   background: #fff url("images/bggranular.png");
259   border: solid 1px #d8d8d8;
260   padding: 6pt;
261 }
262
263 /****************************************************************
264  **
265  ** Diff Output
266  **
267  *****************************************************************/
268 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
269 .diff .block tt { font-weight: bold; }
270 .diff del,
271 .diff ins       { font-weight: bold; text-decoration: none; }
272
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; }
276 */
277
278 .diff .block    { background: #ccc; }
279 .diff .context  { background: #fff; }
280 .diff .original,
281 .diff .deleted  { background: #fcc; }
282 .diff .final,
283 .diff .added    { background: #cfc; }
284 /*
285 .diff .original { background: #feb; }
286 .diff .final    { background: #efb; }
287 */
288 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
289 .diff del       { background: #f99; }
290 .diff ins       { background: #9f9; }
291
292 /* PageList output */
293 .pagelist tr.evenrow { background: #eee; }
294 .pagelist tr.oddrow  { background: #f7f7f7; }
295
296 /* For emacs users
297  *
298  * Local Variables:
299  * mode: c
300  * c-file-style: cc-mode
301  * End:
302  */