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