Don't print the Privacy, about, disclaimer links in Vector.
[lhc/web/wiklou.git] / skins / common / commonPrint.css
1 /*
2 ** MediaWiki Print style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke, http://www.aulinx.de/
4 **
5 ** Derived from the plone (http://plone.org/) styles
6 ** Copyright Alexander Limi
7 */
8
9 /* Thanks to A List Apart (http://alistapart.com/) for useful extras */
10 a.stub,
11 a.new {
12 color: #ba0000;
13 text-decoration: none;
14 }
15
16 #toc {
17 border: 1px solid #aaaaaa;
18 background-color: #f9f9f9;
19 padding: 5px;
20 }
21 body.ltr .tocindent {
22 margin-left: 2em;
23 }
24 body.rtl .tocindent {
25 margin-right: 2em;
26 }
27 .tocline {
28 margin-bottom: 0px;
29 }
30
31 /* images */
32 div.floatright {
33 float: right;
34 clear: right;
35 position: relative;
36 margin: 0.5em 0 0.8em 1.4em;
37 }
38 body.rtl div.floatright {
39 float: left;
40 clear: left;
41 margin: 0.5em 1.4em 0.8em 0;
42 }
43 div.floatright p {
44 font-style: italic;
45 }
46 div.floatleft {
47 float: left;
48 clear: left;
49 position: relative;
50 margin: 0.5em 1.4em 0.8em 0;
51 }
52 body.rtl div.floatleft {
53 float: right;
54 clear: right;
55 margin: 0.5em 0 0.8em 1.4em;
56 }
57 div.floatleft p {
58 font-style: italic;
59 }
60
61 /* thumbnails */
62 div.thumb {
63 border: none;
64 width: auto;
65 margin-top: 0.5em;
66 margin-bottom: 0.8em;
67 background-color: transparent;
68 }
69 div.thumbinner {
70 border:1px solid #cccccc;
71 padding: 3px !important;
72 background-color: White;
73 font-size: 94%;
74 text-align: center;
75 overflow: hidden;
76 }
77 html .thumbimage {
78 border: 1px solid #cccccc;
79 }
80 html .thumbcaption {
81 border: none;
82 text-align: left;
83 line-height: 1.4em;
84 padding: 3px !important;
85 font-size: 94%;
86 }
87 body.rtl .thumbcaption {
88 text-align: right;
89 }
90
91 div.magnify {
92 display: none;
93 }
94 div.tright {
95 float: right;
96 clear: right;
97 margin: 0.5em 0 0.8em 1.4em;
98 }
99 div.tleft {
100 float: left;
101 clear: left;
102 margin: 0.5em 1.4em 0.8em 0;
103 }
104 body.rtl div.tright {
105 float: left;
106 clear: left;
107 border-width: 0.5em 1.4em 0.8em 0;
108 }
109 body.rtl div.tleft {
110 float: right;
111 clear: right;
112 border-width: 0.5em 0 0.8em 1.4em;
113 }
114 img.thumbborder {
115 border: 1px solid #dddddd;
116 }
117
118 /* table standards */
119 table.rimage {
120 float: right;
121 width: 1pt;
122 position: relative;
123 margin-left: 1em;
124 margin-bottom: 1em;
125 text-align: center;
126 }
127
128 body {
129 background: White;
130 /*font-size: 11pt !important;*/
131 color: Black;
132 margin: 0;
133 padding: 0;
134 }
135
136 .noprint,
137 div#jump-to-nav,
138 div.top,
139 div#column-one,
140 #colophon,
141 .editsection,
142 .toctoggle,
143 .tochidden,
144 div#f-poweredbyico,
145 div#f-copyrightico,
146 li#viewcount,
147 li#about,
148 li#disclaimer,
149 li#privacy,
150 #footer-places,
151 #mw-hidden-catlinks {
152 /* Hides all the elements irrelevant for printing */
153 display: none;
154 }
155
156 ul {
157 list-style-type: square;
158 }
159
160 #content {
161 background: none;
162 border: none ! important;
163 padding: 0 ! important;
164 margin: 0 ! important;
165 }
166 #footer {
167 background : white;
168 color : black;
169 border-top: 1px solid black;
170 }
171
172 h1, h2, h3, h4, h5, h6 {
173 font-weight: bold;
174 }
175
176 p, .documentDescription {
177 margin: 1em 0 ! important;
178 line-height: 1.2em;
179 }
180
181 .tocindent p {
182 margin: 0 0 0 0 ! important;
183 }
184
185 pre {
186 border: 1pt dashed black;
187 white-space: pre;
188 font-size: 8pt;
189 overflow: auto;
190 padding: 1em 0;
191 background: white;
192 color: black;
193 }
194
195 table.listing,
196 table.listing td {
197 border: 1pt solid black;
198 border-collapse: collapse;
199 }
200
201 a {
202 color: Black !important;
203 background: none !important;
204 padding: 0 !important;
205 }
206
207 a:link, a:visited {
208 color: #520;
209 background: transparent;
210 text-decoration: underline;
211 }
212
213 #content a.external.text:after, #content a.external.autonumber:after {
214 /* Expand URLs for printing */
215 content: " (" attr(href) ") ";
216 }
217
218 #globalWrapper {
219 width: 100% !important;
220 min-width: 0 !important;
221 }
222
223 #content {
224 background: white;
225 color: black;
226 }
227
228 #column-content {
229 margin: 0 !important;
230 }
231
232 #column-content #content {
233 padding: 1em;
234 margin: 0 !important;
235 }
236 /* MSIE/Win doesn't understand 'inherit' */
237 a, a.external, a.new, a.stub {
238 color: black ! important;
239 text-decoration: none ! important;
240 }
241
242 /* Continue ... */
243 a, a.external, a.new, a.stub {
244 color: inherit ! important;
245 text-decoration: inherit ! important;
246 }
247
248 img {
249 border: none;
250 vertical-align: middle;
251 }
252
253 /* math */
254 span.texhtml { font-family: serif; }
255
256 #siteNotice { display: none; }
257
258 /* image galleries */
259 table.gallery {
260 border: 1px solid #ccc;
261 margin: 2px;
262 padding: 2px;
263 background-color: white;
264 border-collapse: collapse;
265 }
266
267 table.gallery tr {
268 vertical-align: top;
269 }
270
271 table.gallery td {
272 vertical-align: top;
273 padding: 1px;
274 border: 1px solid #ccc;
275 }
276
277 div.gallerybox {
278 margin: 2px;
279 }
280
281 div.gallerybox div.thumb {
282 text-align: center;
283 border: 1px solid #ccc;
284 margin: 2px;
285 }
286
287 div.gallerytext {
288 overflow: hidden;
289 font-size: 94%;
290 padding: 2px 4px;
291 }
292
293 /*
294 ** Diff rendering
295 */
296 table.diff {
297 background: white;
298 }
299 td.diff-otitle {
300 background: #ffffff;
301 }
302 td.diff-ntitle {
303 background: #ffffff;
304 }
305 td.diff-addedline {
306 background: #ccffcc;
307 font-size: smaller;
308 border: solid 2px black;
309 }
310 td.diff-deletedline {
311 background: #ffffaa;
312 font-size: smaller;
313 border: dotted 2px black;
314 }
315 td.diff-context {
316 background: #eeeeee;
317 font-size: smaller;
318 }
319 .diffchange {
320 color: silver;
321 font-weight: bold;
322 text-decoration: underline;
323 }
324
325 /*
326 ** Table rendering
327 ** As on shared.css but with white background.
328 */
329 table.wikitable {
330 margin: 1em 1em 1em 0;
331 border: 1px #aaa solid;
332 background: white;
333 border-collapse: collapse;
334 }
335 .wikitable th, .wikitable td {
336 border: 1px #aaa solid;
337 padding: 0.2em;
338 }
339 .wikitable th {
340 text-align: center;
341 background: white;
342 font-weight: bold;
343 }
344 .wikitable caption {
345 font-weight: bold;
346 }
347
348 a.sortheader {
349 margin: 0px 0.3em;
350 }