]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Hawaiian/Hawaiian.css
Removed: make wikiaction links look like buttons.
[SourceForge/phpwiki.git] / themes / Hawaiian / Hawaiian.css
1 /*
2   $Id: Hawaiian.css,v 1.4 2002-01-07 18:37: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  { background-color: inherit; }
169 A.wikiadmin, .wikiadmin TABLE   { background-color: inherit ; }
170 .wikiunsafe                     { background-color: inherit; }
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 .wikiaction TABLE { border-color: inherit; }
183 .wikiadmin TABLE  { border-color: inherit; }
184
185 /* Backlinks */
186 A.backlinks { color: #006; }
187
188 /* Make the textarea on the edit page full width */
189 TEXTAREA.wikiedit { width: 100%; margin-top: 1ex; }
190
191
192 /* Calendar plugin */
193
194 a.cal-hide, a.cal-arrow { text-decoration: none; }
195 .cal-arrow { font-weight: bold; }
196 .cal-header { font-size: larger; }
197 .cal-dayname { font-size: smaller; text-decoration: underline; }
198 table.cal { border: thin solid black; } 
199
200
201 /* IncludePage plugin */
202 .transclusion-title {
203   font-style: oblique;
204   font-size: smaller; /* 0.75em; */
205   text-decoration: underline;
206   text-align: right;
207
208
209 div.transclusion { 
210   background: #cfc;
211   border: thin;
212   border-style: solid;
213   padding-left: 0.8em; 
214   padding-right: 0.8em; 
215   padding-top: 0px;
216   padding-bottom: 0px;
217   margin: 0.5ex 0px;
218 }
219
220 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
221 div.wikis-edithelp .transclusion {
222   font-size: smaller;
223   background: inherit;
224   padding: 0.5ex 0.5em;
225   margin: 0.2ex 5%;
226 }
227 div.wikis-edithelp .transclusion p {
228   margin: 0;
229 }
230 div.wikis-edithelp {
231   background: #fff8dc; /* darker ivory */
232   font-size: smaller;
233   padding: 0.05ex 1%;
234 }
235   
236 /****************************************************************
237  **
238  ** Diff Output
239  **
240  *****************************************************************/
241 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
242 .diff .block tt { font-weight: bold; }
243 .diff del,
244 .diff ins       { font-weight: bold; text-decoration: none; }
245
246 /* These screw up NS4 --- moved to phpwiki-heavy.css
247 .diff .block div { position: relative; padding-left: 1.5em; } 
248 .diff .prefix    { position: absolute; left: 0.5em; top: 0; }
249 */
250
251 .diff .block    { background: #ccc; }
252 .diff .context  { background: #fff; }
253 .diff .original,
254 .diff .deleted  { background: #fcc; }
255 .diff .final,
256 .diff .added    { background: #cfc; }
257 /*
258 .diff .original { background: #feb; }
259 .diff .final    { background: #efb; }
260 */
261 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
262 .diff del       { background: #f99; }
263 .diff ins       { background: #9f9; }
264
265
266
267 /* For emacs users
268  *
269  * Local Variables:
270  * mode: c
271  * c-file-style: cc-mode
272  * End:
273  */