]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - phpwiki-modern.css
regenerated po files, one new string to translate
[SourceForge/phpwiki.git] / phpwiki-modern.css
1 /*
2   $Id: phpwiki-modern.css,v 1.3 2002-01-09 04:11:14 carstenklapp Exp $
3
4   Visit http://www.timestretch.com/db/home/load/36/ to see the inspiration for this stylesheet.
5
6   Classes:
7
8   DIV.wikitext - the transformed wiki page text.
9
10   A.wiki           - link to page in wiki.
11   A.named-wiki    - a named link to page in wiki (from e.g. [name|WikiPage]).
12   A.interwiki     - link to page in another wiki
13     SPAN.wikipage    - page name within interwiki link.
14   A.named-interwiki  - link to page in another wiki
15   A.url           - link to external URL from wiki page.
16   A.named-url     - link to external URL from wiki page.
17
18   .wikiunknown A, .wikiunknown U
19   .named-wikiunknown A, .named-wikiunknown U
20   
21   A.wikiaction
22   A.wikiadmin
23   .wikiunsafe
24
25   A.backlinks
26   
27 TODO: Get rid of tables in wikiaction forms.
28 */
29
30 /* NS4 & OmniWeb 4 don't grok @import.  This allows us to put things which
31  * break NS4 and OW4 in another file.
32  */
33 @import url(phpwiki-modern-heavy.css);
34
35 /* FIXME: logo needs to be moved...*/
36 img {
37 vertical-align: baseline;
38 }
39
40 BODY {
41  background: #EEEEEE; /* light grey */
42  margin: 0;
43 }
44
45 BODY { font-family: arial, helvetica, sans-serif; }
46
47 /*
48  * NS4, defaults from BODY don't always propagate correctly.
49  * So we need this:
50  */ 
51 .wikitext, .toolbar, P, TD { font-family: arial, helvetica, sans-serif; }
52
53 INPUT.button { font-family: arial, helvetica, sans-serif; }
54
55 .wikitext PRE { font-family: monospace; }
56
57 DIV.wikitext {
58  background: white;
59  border: 0.5pt;
60  border-color: #888888;
61  border-style: solid;
62  padding-left: 0.8em; 
63  padding-right: 0.8em; 
64  padding-top: 0.8em;
65  padding-bottom: 0.8em;
66  margin-left: 2%;
67  margin-right: 2%;
68  margin-top: 2%;
69  margin-bottom: 2%;
70  /* This breaks Netscape 4: (display does not go full width).
71     width: auto;
72  */
73  clear: both;
74 }
75
76 h1 {
77         color :            #ffffff;
78         background-color : #000000;
79         width :            100%;
80         padding-top :      1em;
81         padding-left :     0.3em;
82         padding-bottom :   0.3em;
83         padding-right :   0.3em;
84 }
85
86 h1 A.backlinks {
87         color :            #ffffff;
88        text-decoration: none;
89 }
90
91 INPUT.wikitext { margin:0px; }
92
93 .toolbar {
94  color: black;
95  background: #DDDDDD; /* dark grey */
96  border: 0.5pt;
97  border-color: #666666; /* medium grey */
98  border-style: solid;
99  padding-left: 5pt; 
100  padding-right: 5pt; 
101  padding-top: 2pt;
102  padding-bottom: 3pt;
103  margin: 1em;
104  margin-top: 0;
105  margin-bottom: 2pt;
106  width: 94%;
107 }
108
109 /*
110  * This is a kluge for NS4 which doesn't honor the clear: settings on
111  * .tool-left and .tool-right.
112  *
113  * Putting in explicit <br clear="all"> messes up the formatting in
114  * other browsers.  Instead we'll put in a:
115  *
116  *  <div class="br"><br class="ignore" clear="all"></div>
117  *
118  * The clear:both on DIV.br seems to work.  And we'll disable the <br> altogether (in
119  * CSS aware browsers) by setting display:none.
120  *
121  * Actually, I haven't yet found a browser which doesn't put a line break
122  * between successive <div>'s.  This makes the <br class="ignore"> completely
123  * unnecessary. 
124  */
125 DIV.br { clear:both; line-height: 0px; }
126 .ignore { display: none; }
127  
128 DIV.errors {
129  background: white;
130  border: thin;
131  border-color: red;
132  border-style: dashed;
133  padding-left: 0.8em; 
134  padding-right: 0.8em; 
135  padding-top: 0.5em;
136  padding-bottom: 0.8em;
137  margin: 1em;
138  /* This breaks Netscape 4: (display does not go full width).
139     width: auto;
140  */
141  clear: both;
142 }
143
144 .errors H4 {
145  color:red;
146  text-decoration: underline;
147  margin:0px;
148 }
149
150 P.error {
151  font-size: smaller;
152  font-family: monospace;
153  margin:0px;
154 }
155 .error UL
156 {
157  font-size: smaller;
158  font-family: monospace;
159 }
160
161 /*
162  * Style for <hr>s in wiki markup.
163  */
164 .wikitext HR {
165  height: 1pt;
166 }
167
168
169 /*
170  * Link styles
171  */
172 /* Wiki Links */
173 A.wiki { text-decoration: none;
174 color: #004662 /* dark cyan */
175 }
176 A.wikiaction:hover {
177   color: #5454ff;  /* blue */
178   padding-top:    1pt;
179   padding-left:   0pt;
180   padding-bottom: 1pt;
181   padding-right:  0pt;
182
183 }
184
185 A.wiki:hover, A.backlinks:hover {
186   color: #5454ff;  /* blue */
187 }
188
189 .wiki  { 
190  font-weight: bold;
191 }
192 /* This is obscene in NS4
193 B .wiki, STRONG .wiki { font-size: larger; }
194 */
195 .wikiaction  { 
196   color: #69798f;  /* pale cyan */
197 }
198
199 /* Unknown links */
200 .wikiunknown A, .named-wikiunknown A, .wikiunknown U
201 { text-decoration: none; }
202
203 .wikiunknown, .named-wikiunknown
204 {color: #600; }
205
206 /* Interwiki links */
207 A.interwiki { text-decoration: none; }
208 .wikipage   { font-weight: bold; }
209
210 .interwiki,
211 I .interwiki .wikipage, EM .interwiki .wikipage
212 { font-style: oblique; }
213
214 .interwiki .wikipage,
215 I .interwiki, EM .interwiki  
216 { font-style: normal; }
217
218 /*
219  * wikiaction, wikiadmin, wikiunsafe:
220  */
221 A.wikiaction, A.wikiadmin       { text-decoration: none; }
222 A.wikiaction, .wikiaction TABLE, SPAN.wikiaction  { /* background-color: #ddd; */ }
223 A.wikiadmin, .wikiadmin TABLE   { /* background-color: #fdd; */ }
224 .wikiunsafe                     { /* background-color: #ccc; */ }
225
226 /*
227  * No border on external link icons.
228  */
229 img.linkicon, img.rssicon       { border: 0px; }
230 img.rssicon             { vertical-align: baseline; }
231 /* This screws up NS4, moved to phpwiki-heavy.css 
232 img.linkicon            { vertical-align: middle; }
233 */
234
235  
236 /*
237  * Put a border around wikiaction forms:
238  * This doesn't work for NS4.
239  */
240 .wikiaction TABLE, .wikiadmin TABLE
241 {
242 /*
243   border-style: ridge;
244   border-width: medium;
245 */
246 }
247 .wikiaction TABLE { border-color: #9cf; }
248 .wikiadmin TABLE  { border-color: #f99; }
249
250 /* Backlinks */
251 A.backlinks { color: #006; }
252
253 /* Make the textarea on the edit page full width */
254 TEXTAREA.wikiedit { width: 100%; margin-top: 1ex; }
255
256
257 /* Calendar plugin */
258
259 a.cal-hide, a.cal-arrow { text-decoration: none; }
260 .cal-arrow { font-weight: bold; }
261 .cal-header { font-size: larger; }
262 .cal-dayname { font-size: smaller; text-decoration: underline; }
263 table.cal { border: thin solid black; } 
264
265
266 /* IncludePage plugin */
267 .transclusion-title {
268   font-style: oblique;
269   font-size: smaller; /* 0.75em; */
270   text-decoration: underline;
271   text-align: right;
272
273
274 div.transclusion { 
275   background: #EEEEFF; /*powder blue */
276   border: 0.5pt;
277   border-color: white;
278   border-style: solid;
279   padding-left: 0.8em; 
280   padding-right: 0.8em; 
281   padding-top: 0.8em;
282   padding-bottom: 0.8em;
283   margin-top: 1em;
284   margin-bottom: 1em;
285 }
286
287 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
288 div.wiki-edithelp .transclusion {
289   font-size: smaller;
290   background: inherit;
291   padding: 0.5ex 0.5em;
292   margin: 0.2ex 5%;
293 }
294 div.wiki-edithelp .transclusion p {
295   margin: 0;
296 }
297
298 div.wiki-edithelp .wiki {
299   background: #A9A9E6;  /* blue highlight */
300   padding: 1pt;
301 }
302
303 div.wiki-edithelp {
304   background: #EEEEFF;  /* powder blue */
305   border: 1pt;
306   border-color: white;
307   border-style: solid;
308   font-size: smaller;
309   padding: 0.05ex 2pt;
310 }
311   
312 /****************************************************************
313  **
314  ** Diff Output
315  **
316  *****************************************************************/
317 .diff .block    { padding: 0.5ex 0.5em; margin: 0.5ex 0; }
318 .diff .block tt { font-weight: bold; }
319 .diff del,
320 .diff ins       { font-weight: bold; text-decoration: none; }
321
322 /* These screw up NS4 --- moved to phpwiki-heavy.css
323 .diff .block div { position: relative; padding-left: 1.5em; } 
324 .diff .prefix   { position: absolute; left: 0.5em; top: 0; }
325 */
326
327 .diff .block    { background: #ccc; }
328 .diff .context  { background: #fff; }
329 .diff .original,
330 .diff .deleted  { background: #fcc; }
331 .diff .final,
332 .diff .added    { background: #cfc; }
333 /*
334 .diff .original { background: #feb; }
335 .diff .final    { background: #efb; }
336 */
337 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
338 .diff del       { background: #f99; }
339 .diff ins       { background: #9f9; }
340
341
342
343 /* For emacs users
344  *
345  * Local Variables:
346  * mode: c
347  * c-file-style: cc-mode
348  * End:
349  */