]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
Custom sculped borders for .wikitext, .wiki-edithelp, .transclusion--a little more...
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2   $Id: MacOSX.css,v 1.16 2002-01-26 09:20:59 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: 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: monospace;
113  margin:0px;
114 }
115 .error ul
116 {
117  font-size: smaller;
118  font-family: 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
180 /* Calendar plugin */
181
182 a.cal-hide, a.cal-arrow { text-decoration: none; }
183 .cal-arrow { font-weight: bold; }
184 .cal-header { font-size: larger; }
185 .cal-dayname { font-size: smaller; text-decoration: underline; }
186 table.cal   { border: thin solid black; } 
187 td.cal-today { background: #c4e0fb; }
188
189
190 /* IncludePage plugin */
191 .transclusion-title {
192   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
193   /* font-style: oblique; */
194   font-size: smaller; /* 0.75em; */
195   text-decoration: underline;
196   text-align: right;
197
198
199 div.transclusion { 
200   /* background: #fff url("images/bgpaper8.png"); */
201   /* background: white; */
202   background: #fdfdfd;
203   border-top:    solid 1px #7c7c7c;
204   border-left:   solid 1px #c3c3c3;
205   border-bottom: solid 1px #dddddd;
206   border-right:  solid 1px #c3c3c3;
207
208   padding-left: 0.8em; 
209   padding-right: 0.8em; 
210   padding-top: 0px;
211   padding-bottom: 0px;
212   margin: 0.5ex 0px;
213 }
214
215 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
216 div.wiki-edithelp .transclusion {
217   font-size: smaller;
218   background: inherit;
219   padding: 0.5ex 0.5em;
220   margin: 0.2ex 5%;
221 }
222 div.wiki-edithelp .transclusion p {
223   margin: 0;
224 }
225 div.wiki-edithelp {
226   /* background: #fff url("images/bgpaper8.png"); */
227   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;
232
233   font-size: smaller;
234   padding: 6pt;
235 }
236 div.wiki-message {
237   background: #fff url("images/bggranular.png");
238   border: solid 1px #d8d8d8;
239   padding: 6pt;
240 }
241
242 /****************************************************************
243  **
244  ** Diff Output
245  **
246  *****************************************************************/
247 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
248 .diff .block tt { font-weight: bold; }
249 .diff del,
250 .diff ins       { font-weight: bold; text-decoration: none; }
251
252 /* These screw up NS4 --- moved to phpwiki-heavy.css
253 .diff .block div { position: relative; padding-left: 1.5em; } 
254 .diff .prefix   { position: absolute; left: 0.5em; top: 0; }
255 */
256
257 .diff .block    { background: #ccc; }
258 .diff .context  { background: #fff; }
259 .diff .original,
260 .diff .deleted  { background: #fcc; }
261 .diff .final,
262 .diff .added    { background: #cfc; }
263 /*
264 .diff .original { background: #feb; }
265 .diff .final    { background: #efb; }
266 */
267 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
268 .diff del       { background: #f99; }
269 .diff ins       { background: #9f9; }
270
271 /* PageList output */
272 .pagelist tr.evenrow { background: #eee; }
273 .pagelist tr.oddrow  { background: #f7f7f7; }
274
275 /* For emacs users
276  *
277  * Local Variables:
278  * mode: c
279  * c-file-style: cc-mode
280  * End:
281  */