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