]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Hawaiian/Hawaiian.css
Element names lower-case for XHTML.
[SourceForge/phpwiki.git] / themes / Hawaiian / Hawaiian.css
1 /*
2   $Id: Hawaiian.css,v 1.7 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 body {
29 /* the background image url is relative to this file's directory */
30         color :             #000;
31         background-color :  #fff;
32         background-image :  url("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: black;
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: #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: 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  background: #666;
130  height: 1px;
131  width: 90%;
132  margin-left:auto;
133  margin-right:auto;
134  align:center; /* for NS4 */
135 }
136
137
138 /*
139  * Link styles
140  */
141 /* Wiki Links */
142 a.wiki { text-decoration: none; }
143 .wiki  { font-weight: bold; }
144
145 /* Unknown links */
146 .wikiunknown a, .named-wikiunknown a, .wikiunknown u
147 { text-decoration: none; }
148
149 .wikiunknown, .named-wikiunknown
150 {color: #600; }
151
152 /* Interwiki links */
153 a.interwiki { text-decoration: none; }
154 .wikipage   { font-weight: bold; }
155
156 .interwiki,
157 i .interwiki .wikipage, em .interwiki .wikipage
158 { font-style: oblique; }
159
160 .interwiki .wikipage,
161 i .interwiki, em .interwiki  
162 { font-style: normal; }
163
164 /*
165  * wikiaction, wikiadmin, wikiunsafe:
166  */
167 a.wikiaction, a.wikiadmin       { text-decoration: none; }
168 a.wikiaction, .wikiaction table, span.wikiaction  { font-weight: normal; color: #ff7e00; }
169 a.wikiadmin, .wikiadmin table   { color: #444; }
170 .wikiunsafe                     { color: #ccc; }
171
172 /*
173  * No border on external link icons.
174  */
175 img.linkicon, img.rssicon       { border: 0px; }
176 img.rssicon             { vertical-align: top; }
177 /* This screws up NS4, moved to phpwiki-heavy.css 
178 img.linkicon            { vertical-align: middle; }
179 */
180
181  
182 /*
183  * Put a border around wikiaction forms:
184  * This doesn't work for NS4.
185  */
186 .wikiaction table, .wikiadmin table
187 {
188   border-style: ridge;
189   border-width: medium;
190 }
191 .wikiaction table { border-color: #9cf; }
192 .wikiadmin table  { border-color: #f99; }
193
194 /* Backlinks */
195 a.backlinks { color: #006; }
196
197 /* Make the textarea on the edit page full width */
198 textarea.wikiedit { width: 100%; margin-top: 1ex; }
199
200
201 /* Calendar plugin */
202
203 a.cal-hide, a.cal-arrow { text-decoration: none; }
204 .cal-arrow { font-weight: bold; }
205 .cal-header { font-size: larger; }
206 .cal-dayname { font-size: smaller; text-decoration: underline; }
207 table.cal { border: thin solid black; } 
208
209
210 /* IncludePage plugin */
211 .transclusion-title {
212   font-style: oblique;
213   font-size: smaller; /* 0.75em; */
214   text-decoration: underline;
215   text-align: right;
216
217
218 div.transclusion { 
219   background: #cfc;
220   border: thin;
221   border-style: solid;
222   padding-left: 0.8em; 
223   padding-right: 0.8em; 
224   padding-top: 0px;
225   padding-bottom: 0px;
226   margin: 0.5ex 0px;
227 }
228
229 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
230 div.wikis-edithelp .transclusion {
231   font-size: smaller;
232   background: inherit;
233   padding: 0.5ex 0.5em;
234   margin: 0.2ex 5%;
235 }
236 div.wikis-edithelp .transclusion p {
237   margin: 0;
238 }
239 div.wikis-edithelp {
240   background: #fff8dc; /* darker ivory */
241   font-size: smaller;
242   padding: 0.05ex 1%;
243 }
244   
245 /****************************************************************
246  **
247  ** Diff Output
248  **
249  *****************************************************************/
250 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
251 .diff .block tt { font-weight: bold; }
252 .diff del,
253 .diff ins       { font-weight: bold; text-decoration: none; }
254
255 /* These screw up NS4 --- moved to phpwiki-heavy.css
256 .diff .block div { position: relative; padding-left: 1.5em; } 
257 .diff .prefix   { position: absolute; left: 0.5em; top: 0; }
258 */
259
260 .diff .block    { background: #ccc; }
261 .diff .context  { background: #fff; }
262 .diff .original,
263 .diff .deleted  { background: #fcc; }
264 .diff .final,
265 .diff .added    { background: #cfc; }
266 /*
267 .diff .original { background: #feb; }
268 .diff .final    { background: #efb; }
269 */
270 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
271 .diff del       { background: #f99; }
272 .diff ins       { background: #9f9; }
273
274
275
276 /* For emacs users
277  *
278  * Local Variables:
279  * mode: c
280  * c-file-style: cc-mode
281  * End:
282  */