]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Hawaiian/Hawaiian.css
just reflowing text
[SourceForge/phpwiki.git] / themes / Hawaiian / Hawaiian.css
1 /*
2   $Id: Hawaiian.css,v 1.3 2002-01-05 06:17:02 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: #ddd; }
169 A.wikiadmin, .wikiadmin TABLE   { background-color: #fdd; }
170 .wikiunsafe                     { background-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  */