]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/MacOSX.css
alternating row coloring
[SourceForge/phpwiki.git] / themes / MacOSX / MacOSX.css
1 /*
2   $Id: MacOSX.css,v 1.14 2002-01-22 09:23:09 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: 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
125
126 /*
127  * Link styles
128  */
129 /* Wiki Links */
130 a.wiki { text-decoration: none; }
131 .wiki  { font-weight: bold; color:#1d42be; } /*blue*/
132 /* This is obscene in NS4
133 b .wiki, STRONG .wiki { font-size: larger; }
134 */
135
136 /* Unknown links */
137 .wikiunknown a, .named-wikiunknown a, .wikiunknown U
138 { text-decoration: none; }
139
140 .wikiunknown, .named-wikiunknown
141 {color: #555; }
142
143 /* Interwiki links */
144 a.interwiki { text-decoration: none; }
145 .wikipage   { font-weight: bold; }
146
147 .interwiki,
148 i .interwiki .wikipage, em .interwiki .wikipage
149 { font-style: oblique; }
150
151 .interwiki .wikipage,
152 i .interwiki, em .interwiki  
153 { font-style: normal; }
154
155 /*
156  * wikiaction, wikiadmin, wikiunsafe:
157  */
158 a.wikiaction, a.wikiadmin       { text-decoration: none; }
159
160 /*
161  * No border on external link icons.
162  */
163 img.linkicon, img.rssicon       { border: 0px; }
164 img.rssicon             { vertical-align: middle; }
165 /* This screws up NS4, moved to phpwiki-heavy.css 
166 img.linkicon            { vertical-align: middle; }
167 */
168 img.wiki-button         { vertical-align: middle; }
169
170 .wikiaction { border: 0; }
171  
172 /* backlinks */
173 a.backlinks { color: #006; }
174
175 /* Make the textarea on the edit page full width */
176 textarea.wikiedit { width: 100%; margin-top: 1ex; }
177
178
179 /* Calendar plugin */
180
181 a.cal-hide, a.cal-arrow { text-decoration: none; }
182 .cal-arrow { font-weight: bold; }
183 .cal-header { font-size: larger; }
184 .cal-dayname { font-size: smaller; text-decoration: underline; }
185 table.cal { border: thin solid black; } 
186
187
188 /* IncludePage plugin */
189 .transclusion-title {
190   font-style: oblique;
191   font-size: smaller; /* 0.75em; */
192   text-decoration: underline;
193   text-align: right;
194
195
196 div.transclusion { 
197   background: #cfc;
198   border: thin;
199   border-style: solid;
200   padding-left: 0.8em; 
201   padding-right: 0.8em; 
202   padding-top: 0px;
203   padding-bottom: 0px;
204   margin: 0.5ex 0px;
205 }
206
207 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
208 div.wiki-edithelp .transclusion {
209   font-size: smaller;
210   background: inherit;
211   padding: 0.5ex 0.5em;
212   margin: 0.2ex 5%;
213 }
214 div.wiki-edithelp .transclusion p {
215   margin: 0;
216 }
217 div.wiki-edithelp {
218   background: #fff url("images/bgpaper8.png");
219   border: solid 1px #d8d8d8;
220   font-size: smaller;
221   padding: 6pt;
222 }
223 div.wiki-message {
224   background: #fff url("images/bggranular.png");
225   border: solid 1px #d8d8d8;
226   padding: 6pt;
227 }
228   
229 /****************************************************************
230  **
231  ** Diff Output
232  **
233  *****************************************************************/
234 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
235 .diff .block tt { font-weight: bold; }
236 .diff del,
237 .diff ins       { font-weight: bold; text-decoration: none; }
238
239 /* These screw up NS4 --- moved to phpwiki-heavy.css
240 .diff .block div { position: relative; padding-left: 1.5em; } 
241 .diff .prefix   { position: absolute; left: 0.5em; top: 0; }
242 */
243
244 .diff .block    { background: #ccc; }
245 .diff .context  { background: #fff; }
246 .diff .original,
247 .diff .deleted  { background: #fcc; }
248 .diff .final,
249 .diff .added    { background: #cfc; }
250 /*
251 .diff .original { background: #feb; }
252 .diff .final    { background: #efb; }
253 */
254 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
255 .diff del       { background: #f99; }
256 .diff ins       { background: #9f9; }
257
258 /* PageList output */
259 tr.pagelistcolor { background: #eeeeee; }
260 tr.pagelistnocolor { background: white; }
261
262 /* For emacs users
263  *
264  * Local Variables:
265  * mode: c
266  * c-file-style: cc-mode
267  * End:
268  */