]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/phpwiki-printer.css
Remove NS4 stuff
[SourceForge/phpwiki.git] / themes / default / phpwiki-printer.css
1 /**
2  * $Id$
3  *
4  * PhpWiki style sheet for the printed page:
5  * Black on white only, with no toolbar commands and no link icons.
6  * Styles are kept to a minimum, so the printed page will otherwise
7  * appear according to your browser's default font settings.
8  */
9
10 /**
11  * General
12  */
13  
14 /**
15  * required for Mozilla with MacOSX theme, because of
16  * body {background-image: url(/finkwiki/themes/MacOSX/images/bgpaper8.png);}
17  * within the html itself. It still does not suppress
18  * the bg image of a small strip near the top and bottom. :/
19  */
20 html { background: white; }
21
22 body {
23   margin: 1em;
24   padding: 0;
25   color:  black;
26   background: white;
27 }
28 div.wikitext {
29   border: 0;
30   padding: 0;
31   margin: 0;
32   margin-top: 1ex;
33   background: white;
34 }
35 img {
36   border: 0;
37   vertical-align: baseline;
38 }
39
40 form  { margin: 0; }
41 input { margin: 0.1em; }
42 input.numeric { text-align: right; }
43
44 table {
45   border-spacing: 1px;
46   /* For Mozilla */
47   empty-cells: show;
48 }
49 caption {
50   caption-side: top;
51   text-align: left;
52   margin-bottom: .5ex;
53   /* Allow the caption to extend to the full page width
54      Mac ie5.1 ignores this*/
55   width: 100%;
56 }
57
58 /**
59  * Render links with black text and no underlines for readability on b&w
60  * printers which try to render colors as greys. (Greyscale text is often
61  * difficult to read on older 300dpi lasers.)
62  */
63 a {
64   color: black;
65   text-decoration: none;
66 }
67 /* Override the above to keep underlines for WikiLinks and generic urls,
68    they are useful indicators on the printed page.
69    (most browsers underline links by default anyway but this overrides
70    any user-defined default style sheets.) */
71 .wiki {
72   text-decoration: underline;
73   font-weight: bold;
74 }
75 /* Interwiki links */
76 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage {
77   font-style: oblique;
78 }
79 .wikipage {
80   text-decoration: underline;
81 }
82 .interwiki .wikipage, i .interwiki, em .interwiki {
83   font-style: normal;
84 }
85
86 .rawurl {
87   text-decoration: underline;
88 }
89
90 .wikiblog-form { display: none }
91
92 /**
93  * Toolbars
94  */
95 #header, #logo, #footer {
96   background: white;
97 }
98 /**
99  * Get rid of extra space at bottom (which may contain a bg image)
100  * this br was used to clear past the xhtml validator
101  * buttons which are not visible here.
102  */
103 table + br.clear-floats { display: none; }
104 #navbuttons, #actionbuttons, #signin {
105   display: none;
106 }
107 p.editdate {
108   font-size: smaller;
109   margin-top: 0;
110   background: white;
111 }
112
113 hr.toolbar {
114   display: none;
115 }
116
117 hr.printer {
118   display: block;
119   background: white;
120 }
121
122 /* Hide (diff) links and days buttons in RecentChanges */
123 .wiki-rc-action {
124   display: none;
125 }
126
127 /**
128  * Hide image borders for older browsers--newer broswers default to a zero
129  * border around images anyway.
130  */
131 img {
132   vertical-align: baseline;
133   border: 0 none white;
134 }
135
136 /* Hide other non-essential page elements. */
137 .linkicon {
138   display: none;
139 }
140
141 /* Hide the rss icon (perhaps this should be left in?) */
142 .rssicon {
143   display: none;
144 }
145
146 /**
147  * Edit Page & View Source
148  */
149
150 /* Make the textarea the full page width */
151 textarea.wikiedit {
152   width: 100%;
153   margin-bottom: 0.5ex;
154   margin-top:    0.5ex;
155   padding: 2px;
156 }
157
158 #editarea-size {
159   display: none;
160 }
161
162 /* IncludePage plugin */
163 .transclusion-title {
164   text-align: right;
165   font-style: oblique;
166   font-size:  smaller;
167   text-decoration: underline;
168   margin-bottom: 0.25ex;
169   margin-right:  0.25em;
170
171 .transclusion, .wiki-edithelp {
172   font-size: smaller;
173 }
174 .transclusion {
175   background: inherit;
176   border: 1pt solid gray;
177   padding-left:  0.8em; 
178   padding-right: 0.8em; 
179   padding-top:     0px;
180   padding-bottom:  0px;
181   margin-left:   0.25em;
182   margin-right:  0.25em;
183   margin-bottom: 0.1ex;
184 }
185 .wiki-edithelp {
186   border: 1pt solid black;
187   padding-left:  0.5em;
188   padding-right: 0.5em;
189   padding-top:    0.75ex;
190   padding-bottom: 0.75ex;
191   margin-left:  0;
192   margin-right: 0;
193   margin-top: 1ex;
194   margin-bottom: 1ex;
195 }
196 .wiki-edithelp p {
197   font-family: Arial, Helvetica, sans-serif;
198   padding-left:  0.5em;
199   padding-right: 0.5em;
200   padding-top:    0.5ex;
201   padding-bottom: 0.5ex;
202   margin: 0;
203 }
204
205 /**
206  * Calendar plugin
207  */
208 table.cal {
209   border: thin outset gray;
210   margin: 0.5ex 0.5em;
211   padding: 1px;
212   /* For Mozilla */
213   empty-cells: hide;
214
215
216 /* cells */
217 table.cal td {
218   text-align: right;
219
220
221 /* Month-name header */
222 table.cal-header { /* the html for this should really be in the thead */
223   font-size: larger;
224 }
225 table.cal-header tr, table.cal-header td {
226   text-align: center;
227   background: inherit;
228 }
229
230 .cal-dayname td {
231   text-align: center;
232   font-size: smaller;
233   text-decoration: underline;
234 }
235
236 /* Individual days */
237 a.cal-hide { text-decoration: none; }
238
239 /* Today */
240  /* cell */
241 table.cal td.cal-today {
242   background: inherit;
243   margin: 1px;
244   border: 1px solid black;
245 }
246
247 /**
248  * Other
249  */
250
251 /* Hide the w3.org validator images */
252 #xhtml-validator {
253   display: none;
254 }
255
256 /* PHP Warnings */
257 div.errors {
258   margin-top:    1em;
259   margin-bottom: 1em;
260   padding-left:  0.8em; 
261   padding-right: 0.8em; 
262   padding-top:    0.8ex;
263   padding-bottom: 0;
264   font-size: smaller;
265   border: 0.5pt solid black;
266   clear: both;
267 /*
268   display: none;
269 */
270 }
271 .errors h4 {
272   margin:  0;
273   padding: 0;
274   text-decoration: underline;
275 }
276 .error { font-family: monospace; }
277 .error ul { font-family: monospace; }
278
279 /* Debug */
280 .debug {
281   /* font-family: monospace;
282   margin: 1ex 0;*/
283   display: none;
284 }
285
286
287 /* For emacs users
288  *
289  * Local Variables:
290  * mode: c
291  * c-file-style: cc-mode
292  * End:
293  */