]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
Hide printer-only hr
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2   $Id: MacOSX.css,v 1.20 2002-02-10 22:24:11 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 input.numeric {
47   text-align: right;
48 }
49
50 .wikitext pre { font-family: Monaco, monospace; }
51
52 div.wikitext {
53   background: white;
54   border-top:    solid 1px #7c7c7c;
55   border-left:   solid 1px #c3c3c3;
56   border-bottom: solid 1px #dddddd;
57   border-right:  solid 1px #c3c3c3;
58   padding-left: 0.8em; 
59   padding-right: 0.8em; 
60   padding-top: 0.5em;
61   padding-bottom: 0.5em;
62   margin: 0.5ex 0px;
63  /* This breaks Netscape 4: (display does not go full width).
64     width: auto;
65  */
66  clear: both;
67 }
68
69 input.wikitext { margin:0px; }
70
71 div.toolbar { margin: 1ex 0ex; }
72
73 /*
74  * This is a kluge for NS4 which doesn't honor the clear: settings on
75  * .tool-left and .tool-right.
76  *
77  * Putting in explicit <br clear="all"> messes up the formatting in
78  * other browsers.  Instead we'll put in a:
79  *
80  *  <div class="br"><br class="ignore" clear="all"></div>
81  *
82  * The clear:both on div.br seems to work.  And we'll disable the <br> altogether (in
83  * CSS aware browsers) by setting display:none.
84  *
85  * Actually, I haven't yet found a browser which doesn't put a line break
86  * between successive <div>'s.  This makes the <br class="ignore"> completely
87  * unnecessary. 
88  */
89 div.br { clear:both; line-height: 0px; }
90 .ignore { display: none; }
91  
92 div.errors {
93  background: #eee;
94  border: medium;
95  border-color: red;
96  border-style: solid;
97  padding-left: 0.8em; 
98  padding-right: 0.8em; 
99  padding-top: 0px;
100  padding-bottom: 0px;
101  margin: 1em;
102  /* This breaks Netscape 4: (display does not go full width).
103     width: auto;
104  */
105  clear: both;
106 }
107
108 .errors h4 {
109  color:red;
110  text-decoration: underline;
111  margin:0px;
112 }
113
114 p.error {
115  font-size: smaller;
116  font-family: Monaco, monospace;
117  margin:0px;
118 }
119 .error ul
120 {
121  font-size: smaller;
122  font-family: Monaco, monospace;
123 }
124
125 /*
126  * Style for <hr>s in wiki markup.
127  */
128 .wikitext hr {}
129
130
131 /*
132  * Link styles
133  */
134 /* Wiki Links */
135 a.wiki { text-decoration: none; }
136 .wiki  { font-weight: bold; color:#1d42be; } /*blue*/
137 /* This is obscene in NS4
138 b .wiki, STRONG .wiki { font-size: larger; }
139 */
140
141 /* Unknown links */
142 .wikiunknown a, .named-wikiunknown a, .wikiunknown U
143 { text-decoration: none; }
144
145 .wikiunknown, .named-wikiunknown
146 {color: #555; }
147
148 /* Interwiki links */
149 a.interwiki { text-decoration: none; }
150 .wikipage   { font-weight: bold; }
151
152 .interwiki,
153 i .interwiki .wikipage, em .interwiki .wikipage
154 { font-style: oblique; }
155
156 .interwiki .wikipage,
157 i .interwiki, em .interwiki  
158 { font-style: normal; }
159
160 /*
161  * wikiaction, wikiadmin, wikiunsafe:
162  */
163 a.wikiaction, a.wikiadmin       { text-decoration: none; }
164
165 /*
166  * No border on external link icons.
167  */
168 img.linkicon, img.rssicon       { border: 0px; }
169 img.rssicon             { vertical-align: middle; }
170 /* This screws up NS4, moved to phpwiki-heavy.css 
171 img.linkicon            { vertical-align: middle; }
172 */
173 img.wiki-button         { 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 p.editdate { font-size: smaller; margin-bottom: -1ex; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
184
185 /* Calendar plugin */
186 a.cal-hide,
187  a.cal-arrow { text-decoration: none; }
188 .cal-arrow   { font-weight: bold; }
189 .cal-dayname { font-size: smaller;
190                text-decoration: none; }
191 table.cal   { 
192   border-top:    solid 1px #7c7c7c;
193   border-left:   solid 1px #c3c3c3;
194   border-bottom: solid 1px #dddddd;
195   border-right:  solid 1px #c3c3c3;
196   background:    #bebebe; } 
197 table.cal td {
198   background: white;
199   border-top:    solid 1px #7c7c7c;
200   border-left:   solid 1px #c3c3c3;
201   border-bottom: solid 1px #dddddd;
202   border-right:  solid 1px #c3c3c3; }
203 table.cal-header td {
204   font-size:  larger;
205   background: white;
206   border: 0px; }
207 table.cal td.cal-dayname { background: #f4f4f4; }
208 table.cal td.cal-today {
209   background:    #f4f4f4;
210   border-top:    solid 1px #7c7c7c;
211   border-left:   solid 1px #c3c3c3;
212   border-bottom: solid 1px #dddddd;
213   border-right:  solid 1px #c3c3c3; }
214
215 /* IncludePage plugin */
216 .transclusion-title {
217   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
218   /* font-style: oblique; */
219   font-size: smaller; /* 0.75em; */
220   text-decoration: underline;
221   text-align: right;
222
223
224 div.transclusion { 
225   /* background: #fff url("images/bgpaper8.png"); */
226   /* background: white; */
227   background: #fdfdfd;
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   padding-left: 0.8em; 
234   padding-right: 0.8em; 
235   padding-top: 0px;
236   padding-bottom: 0px;
237   margin: 0.5ex 0px;
238 }
239
240 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
241 div.wiki-edithelp .transclusion {
242   font-size: smaller;
243   background: inherit;
244   padding: 0.5ex 0.5em;
245   margin: 0.2ex 5%;
246 }
247 div.wiki-edithelp .transclusion p {
248   margin: 0;
249 }
250 div.wiki-edithelp {
251   /* background: #fff url("images/bgpaper8.png"); */
252   background: white;
253   border-top:    solid 1px #7c7c7c;
254   border-left:   solid 1px #c3c3c3;
255   border-bottom: solid 1px #dddddd;
256   border-right:  solid 1px #c3c3c3;
257
258   font-size: smaller;
259   padding: 6pt;
260 }
261 div.wiki-message {
262   background: #fff url("images/bggranular.png");
263   border: solid 1px #d8d8d8;
264   padding: 6pt;
265 }
266 .printer { display: none; }
267
268 /****************************************************************
269  **
270  ** Diff Output
271  **
272  *****************************************************************/
273 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
274 .diff .block tt { font-weight: bold; }
275 .diff del,
276 .diff ins       { font-weight: bold; text-decoration: none; }
277
278 /* These screw up NS4 --- moved to phpwiki-heavy.css
279 .diff .block div { position: relative; padding-left: 1.5em; } 
280 .diff .prefix   { position: absolute; left: 0.5em; top: 0; }
281 */
282
283 .diff .block    { background: #ccc; }
284 .diff .context  { background: #fff; }
285 .diff .original,
286 .diff .deleted  { background: #fcc; }
287 .diff .final,
288 .diff .added    { background: #cfc; }
289 /*
290 .diff .original { background: #feb; }
291 .diff .final    { background: #efb; }
292 */
293 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
294 .diff del       { background: #f99; }
295 .diff ins       { background: #9f9; }
296
297 /* PageList output */
298 .pagelist tr.evenrow { background: #eee; }
299 .pagelist tr.oddrow  { background: #f7f7f7; }
300
301 /* For emacs users
302  *
303  * Local Variables:
304  * mode: c
305  * c-file-style: cc-mode
306  * End:
307  */