]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Hawaiian/Hawaiian.css
Hide printer-only hr
[SourceForge/phpwiki.git] / themes / Hawaiian / Hawaiian.css
1 /*
2   $Id: Hawaiian.css,v 1.20 2002-02-10 22:24:10 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 /* NS4 doesn't grok @import.  This allows us to put things which
29  * break NS4 in another file. As of OmniWeb 4.1, OW now @imports :-(
30  */
31 @import url(Hawaiian-heavy.css);
32
33 body {
34 /* the background image url is relative to this file's directory */
35         color :             #000;
36         background-color :  #fff;
37         background-image :  url("images/uhhbackground.jpg");
38         background-repeat : repeat;
39 }
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 input.numeric {
52   text-align: right;
53 }
54
55 .wikitext PRE { font-family: monospace; }
56
57 div.wikitext {
58  padding-left: 0.8em; 
59  padding-right: 0.8em; 
60  padding-top: 0px;
61  padding-bottom: 0px;
62  margin: 0.5ex 0px;
63  clear: both;
64 }
65
66 p.editdate { margin-bottom: 0ex; }
67
68 input.wikitext { margin:0px; }
69
70 div.toolbar { margin: 1ex 0ex; }
71
72 /*
73  * This is a kluge for NS4 which doesn't honor the clear: settings on
74  * .tool-left and .tool-right.
75  *
76  * Putting in explicit <br clear="all"> messes up the formatting in
77  * other browsers.  Instead we'll put in a:
78  *
79  *  <div class="br"><br class="ignore" clear="all"></div>
80  *
81  * The clear:both on DIV.br seems to work.  And we'll disable the <br> altogether (in
82  * CSS aware browsers) by setting display:none.
83  *
84  * Actually, I haven't yet found a browser which doesn't put a line break
85  * between successive <div>'s.  This makes the <br class="ignore"> completely
86  * unnecessary. 
87  */
88 div.br { clear:both; line-height: 0px; }
89 .ignore { display: none; }
90  
91 div.errors {
92  background: #d6c8a8;
93  border: thin;
94  border-color: #a6977a;
95  border-style: solid;
96  padding-left: 0.8em; 
97  padding-right: 0.8em; 
98  padding-top: 0px;
99  padding-bottom: 0px;
100  margin: 1em;
101  /* This breaks Netscape 4: (display does not go full width).
102     width: auto;
103  */
104  clear: both;
105 }
106
107 .errors h4 {
108  color: white;
109  text-decoration: underline;
110  margin:0px;
111 }
112
113 p.error {
114  font-size: smaller;
115  font-family: monospace;
116  margin:0px;
117 }
118 .error ul
119 {
120  font-size: smaller;
121  font-family: monospace;
122 }
123
124 /*
125  * Style for <hr>s in wiki markup.
126  */
127 .wikitext hr {}
128
129
130 /*
131  * Link styles
132  */
133 /* Wiki Links */
134 a.wiki { text-decoration: none; color: #36c;}
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: #a6977a; }
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: #1d2a3b ; }
162 a.wikiadmin, .wikiadmin table   { color: #ff7e00; }
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  
171 /*
172  * Put a border around wikiaction forms:
173  * This doesn't work for NS4.
174  */
175 .wikiaction table, .wikiadmin table
176 {
177   border-style: ridge;
178   border-width: medium;
179 }
180 .wikiaction table { border-color: #9cf; }
181 .wikiadmin table  { border-color: #f99; }
182
183 /* Backlinks */
184 a.backlinks { color: #81748e;}
185
186 /* Make the textarea on the edit page full width */
187 textarea.wikiedit { width: 100%; margin-top: 1ex; }
188
189
190 /* Calendar plugin */
191 a.cal-hide, a.cal-arrow { text-decoration: none; }
192 .cal-arrow       { font-weight: bold; }
193 table.cal-header { font-size: larger; }
194 .cal-dayname     { font-size: smaller; text-decoration: underline; }
195 table.cal        { border: thin solid black; } 
196
197
198 /* IncludePage plugin */
199 .transclusion-title {
200   font-style: oblique;
201   font-size: smaller; /* 0.75em; */
202   text-decoration: underline;
203   text-align: right;
204
205
206 div.transclusion { 
207   background: #cfc;
208   border: thin;
209   border-style: solid;
210   padding-left: 0.8em; 
211   padding-right: 0.8em; 
212   padding-top: 0px;
213   padding-bottom: 0px;
214   margin: 0.5ex 0px;
215 }
216
217 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
218 div.wiki-edithelp .transclusion {
219   font-size: smaller;
220   background: inherit;
221   padding: 0.5ex 0.5em;
222   margin: 0.2ex 5%;
223 }
224 div.wiki-edithelp .transclusion p {
225   margin: 0;
226 }
227 div.wiki-edithelp {
228   background: url("images/tchecker-sand.png");
229   font-size: smaller;
230   padding: 0.05ex 1%;
231 }
232 .printer { display: none; }
233 /****************************************************************
234  **
235  ** Diff Output
236  **
237  *****************************************************************/
238 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
239 .diff .block tt { font-weight: bold; }
240 .diff del,
241 .diff ins       { font-weight: bold; text-decoration: none; }
242
243 /* These screw up NS4 --- moved to phpwiki-heavy.css
244 .diff .block div { position: relative; padding-left: 1.5em; } 
245 .diff .prefix   { position: absolute; left: 0.5em; top: 0; }
246 */
247
248 .diff .block    { background: #ccc; }
249 .diff .context  { background: #fff; }
250 .diff .original,
251 .diff .deleted  { background: #fcc; }
252 .diff .final,
253 .diff .added    { background: #cfc; }
254 /*
255 .diff .original { background: #feb; }
256 .diff .final    { background: #efb; }
257 */
258 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
259 .diff del       { background: #f99; }
260 .diff ins       { background: #9f9; }
261
262 /* PageList output */
263 .pagelist tr.evenrow  { background: #eeeeee; }
264 .pagelist tr.oddrow   { background: white; }
265
266 /* For emacs users
267  *
268  * Local Variables:
269  * mode: c
270  * c-file-style: cc-mode
271  * End:
272  */