]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Hawaiian/Hawaiian.css
error now indicates which directory
[SourceForge/phpwiki.git] / themes / Hawaiian / Hawaiian.css
1 /*
2   $Id: Hawaiian.css,v 1.9 2002-01-18 20:46:12 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 body {
29 /* the background image url is relative to this file's directory */
30         color :             #000;
31         background-color :  #fff;
32         background-image :  url("images/uhhbackground.jpg");
33         background-repeat : repeat;
34 }
35
36 /* NS4 doesn't grok @import.  This allows us to put things which
37  * break NS4 in another file. As of OmniWeb 4.1, OW now @imports :-(
38  */
39 @import url(Hawaiian-heavy.css);
40
41 body { font-family: arial, helvetica, sans-serif; }
42
43 /*
44  * NS4, defaults from BODY don't always propagate correctly.
45  * So we need this:
46  */ 
47 .wikitext, .toolbar, p, td { font-family: arial, helvetica, sans-serif; }
48
49 input.button { font-family: arial, helvetica, sans-serif; }
50
51 .wikitext PRE { font-family: monospace; }
52
53 div.wikitext {
54  background: transparent;
55  border: thin;
56  border-color: none;
57  border-style: solid;
58  padding-left: 0.8em; 
59  padding-right: 0.8em; 
60  padding-top: 0px;
61  padding-bottom: 0px;
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: #d6c8a8;
94  border: thin;
95  border-color: #a6977a;
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: white;
110  text-decoration: underline;
111  margin:0px;
112 }
113
114 p.error {
115  font-size: smaller;
116  font-family: monospace;
117  margin:0px;
118 }
119 .error ul
120 {
121  font-size: smaller;
122  font-family: 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; color: #506cd0;}
136 .wiki  { font-weight: bold; }
137
138 /* Unknown links */
139 .wikiunknown a, .named-wikiunknown a, .wikiunknown u
140 { text-decoration: none; }
141
142 .wikiunknown, .named-wikiunknown
143 {color: #600; }
144
145 /* Interwiki links */
146 a.interwiki { text-decoration: none; }
147 .wikipage   { font-weight: bold; }
148
149 .interwiki,
150 i .interwiki .wikipage, em .interwiki .wikipage
151 { font-style: oblique; }
152
153 .interwiki .wikipage,
154 i .interwiki, em .interwiki  
155 { font-style: normal; }
156
157 /*
158  * wikiaction, wikiadmin, wikiunsafe:
159  */
160 a.wikiaction, a.wikiadmin       { text-decoration: none; }
161 a.wikiaction, .wikiaction table, span.wikiaction  { font-weight: normal; color: #a6977a; }
162 a.wikiadmin, .wikiadmin table   { color: #444; }
163 .wikiunsafe                     { color: #ccc; }
164
165 /*
166  * No border on external link icons.
167  */
168 img.linkicon, img.rssicon       { border: 0px; }
169 img.rssicon             { vertical-align: top; }
170 /* This screws up NS4, moved to phpwiki-heavy.css 
171 img.linkicon            { vertical-align: middle; }
172 */
173
174  
175 /*
176  * Put a border around wikiaction forms:
177  * This doesn't work for NS4.
178  */
179 .wikiaction table, .wikiadmin table
180 {
181   border-style: ridge;
182   border-width: medium;
183 }
184 .wikiaction table { border-color: #9cf; }
185 .wikiadmin table  { border-color: #f99; }
186
187 /* Backlinks */
188 a.backlinks { color: #96876a; }
189
190 /* Make the textarea on the edit page full width */
191 textarea.wikiedit { width: 100%; margin-top: 1ex; }
192
193
194 /* Calendar plugin */
195
196 a.cal-hide, a.cal-arrow { text-decoration: none; }
197 .cal-arrow { font-weight: bold; }
198 .cal-header { font-size: larger; }
199 .cal-dayname { font-size: smaller; text-decoration: underline; }
200 table.cal { border: thin solid black; } 
201
202
203 /* IncludePage plugin */
204 .transclusion-title {
205   font-style: oblique;
206   font-size: smaller; /* 0.75em; */
207   text-decoration: underline;
208   text-align: right;
209
210
211 div.transclusion { 
212   background: #cfc;
213   border: thin;
214   border-style: solid;
215   padding-left: 0.8em; 
216   padding-right: 0.8em; 
217   padding-top: 0px;
218   padding-bottom: 0px;
219   margin: 0.5ex 0px;
220 }
221
222 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
223 div.wikis-edithelp .transclusion {
224   font-size: smaller;
225   background: inherit;
226   padding: 0.5ex 0.5em;
227   margin: 0.2ex 5%;
228 }
229 div.wikis-edithelp .transclusion p {
230   margin: 0;
231 }
232 div.wikis-edithelp {
233   background: #fff8dc; /* darker ivory */
234   font-size: smaller;
235   padding: 0.05ex 1%;
236 }
237   
238 /****************************************************************
239  **
240  ** Diff Output
241  **
242  *****************************************************************/
243 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
244 .diff .block tt { font-weight: bold; }
245 .diff del,
246 .diff ins       { font-weight: bold; text-decoration: none; }
247
248 /* These screw up NS4 --- moved to phpwiki-heavy.css
249 .diff .block div { position: relative; padding-left: 1.5em; } 
250 .diff .prefix   { position: absolute; left: 0.5em; top: 0; }
251 */
252
253 .diff .block    { background: #ccc; }
254 .diff .context  { background: #fff; }
255 .diff .original,
256 .diff .deleted  { background: #fcc; }
257 .diff .final,
258 .diff .added    { background: #cfc; }
259 /*
260 .diff .original { background: #feb; }
261 .diff .final    { background: #efb; }
262 */
263 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
264 .diff del       { background: #f99; }
265 .diff ins       { background: #9f9; }
266
267
268
269 /* For emacs users
270  *
271  * Local Variables:
272  * mode: c
273  * c-file-style: cc-mode
274  * End:
275  */