]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
Element names lower-case for XHTML.
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2   $Id: MacOSX.css,v 1.8 2002-01-16 20:04:04 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("bgpaper8.png"); }
34 body.edit { background: #fafafa url("bggranular.png"); }
35
36 body { font-family: arial, helvetica, sans-serif; }
37
38 /*
39  * NS4, defaults from body don't always propagate correctly.
40  * So we need this:
41  */ 
42 .wikitext, .toolbar, p, td { font-family: arial, helvetica, sans-serif; }
43
44 input.button { font-family: arial, helvetica, sans-serif; }
45
46 .wikitext pre { font-family: monospace; }
47
48 div.wikitext {
49  background: white;
50  border: 0.5pt;
51  border-color: #888;
52  border-style: solid;
53  padding-left: 0.8em; 
54  padding-right: 0.8em; 
55  padding-top: 0px;
56  padding-bottom: 0px;
57  margin: 0.5ex 0px;
58  /* This breaks Netscape 4: (display does not go full width).
59     width: auto;
60  */
61  clear: both;
62 }
63
64 input.wikitext { margin:0px; }
65
66 div.toolbar { margin: 1ex 0ex; }
67
68 /*
69  * This is a kluge for NS4 which doesn't honor the clear: settings on
70  * .tool-left and .tool-right.
71  *
72  * Putting in explicit <br clear="all"> messes up the formatting in
73  * other browsers.  Instead we'll put in a:
74  *
75  *  <div class="br"><br class="ignore" clear="all"></div>
76  *
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.
79  *
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
82  * unnecessary. 
83  */
84 div.br { clear:both; line-height: 0px; }
85 .ignore { display: none; }
86  
87 div.errors {
88  background: #eee;
89  border: medium;
90  border-color: red;
91  border-style: solid;
92  padding-left: 0.8em; 
93  padding-right: 0.8em; 
94  padding-top: 0px;
95  padding-bottom: 0px;
96  margin: 1em;
97  /* This breaks Netscape 4: (display does not go full width).
98     width: auto;
99  */
100  clear: both;
101 }
102
103 .errors h4 {
104  color:red;
105  text-decoration: underline;
106  margin:0px;
107 }
108
109 p.error {
110  font-size: smaller;
111  font-family: monospace;
112  margin:0px;
113 }
114 .error ul
115 {
116  font-size: smaller;
117  font-family: monospace;
118 }
119
120 /*
121  * Style for <hr>s in wiki markup.
122  */
123 .wikitext hr {
124  background: #666;
125  height: 1px;
126  width: 90%;
127  margin-left:auto;
128  margin-right:auto;
129  align:center; /* for NS4 */
130 }
131
132
133 /*
134  * Link styles
135  */
136 /* Wiki Links */
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; }
141 */
142
143 /* Unknown links */
144 .wikiunknown a, .named-wikiunknown a, .wikiunknown U
145 { text-decoration: none; }
146
147 .wikiunknown, .named-wikiunknown
148 {color: #600; }
149
150 /* Interwiki links */
151 a.interwiki { text-decoration: none; }
152 .wikipage   { font-weight: bold; }
153
154 .interwiki,
155 i .interwiki .wikipage, em .interwiki .wikipage
156 { font-style: oblique; }
157
158 .interwiki .wikipage,
159 i .interwiki, em .interwiki  
160 { font-style: normal; }
161
162 /*
163  * wikiaction, wikiadmin, wikiunsafe:
164  */
165 a.wikiaction, a.wikiadmin       { text-decoration: none; }
166
167 /*
168  * No border on external link icons.
169  */
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; }
174 */
175 .wikiaction { border: 0; }
176  
177 /* backlinks */
178 a.backlinks { color: #006; }
179
180 /* Make the textarea on the edit page full width */
181 textarea.wikiedit { width: 100%; margin-top: 1ex; }
182
183
184 /* Calendar plugin */
185
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; } 
191
192
193 /* IncludePage plugin */
194 .transclusion-title {
195   font-style: oblique;
196   font-size: smaller; /* 0.75em; */
197   text-decoration: underline;
198   text-align: right;
199
200
201 div.transclusion { 
202   background: #cfc;
203   border: thin;
204   border-style: solid;
205   padding-left: 0.8em; 
206   padding-right: 0.8em; 
207   padding-top: 0px;
208   padding-bottom: 0px;
209   margin: 0.5ex 0px;
210 }
211
212 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
213 div.wiki-edithelp .transclusion {
214   font-size: smaller;
215   background: inherit;
216   padding: 0.5ex 0.5em;
217   margin: 0.2ex 5%;
218 }
219 div.wiki-edithelp .transclusion p {
220   margin: 0;
221 }
222 div.wiki-edithelp {
223   background: #fff url("bgpaper8.png");
224   border: solid 1px #d8d8d8;
225   font-size: smaller;
226   padding: 6pt;
227 }
228 div.wiki-message {
229   background: #fff url("bggranular.png");
230   border: solid 1px #d8d8d8;
231   padding: 6pt;
232 }
233   
234 /****************************************************************
235  **
236  ** Diff Output
237  **
238  *****************************************************************/
239 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
240 .diff .block tt { font-weight: bold; }
241 .diff del,
242 .diff ins       { font-weight: bold; text-decoration: none; }
243
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; }
247 */
248
249 .diff .block    { background: #ccc; }
250 .diff .context  { background: #fff; }
251 .diff .original,
252 .diff .deleted  { background: #fcc; }
253 .diff .final,
254 .diff .added    { background: #cfc; }
255 /*
256 .diff .original { background: #feb; }
257 .diff .final    { background: #efb; }
258 */
259 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
260 .diff del       { background: #f99; }
261 .diff ins       { background: #9f9; }
262
263
264
265 /* For emacs users
266  *
267  * Local Variables:
268  * mode: c
269  * c-file-style: cc-mode
270  * End:
271  */