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