*spaces -> tabs for indentation
[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 #mw-hidden-catlinks {
151 /* Hides all the elements irrelevant for printing */
152 display: none;
153 }
154
155 ul {
156 list-style-type: square;
157 }
158
159 #content {
160 background: none;
161 border: none ! important;
162 padding: 0 ! important;
163 margin: 0 ! important;
164 }
165 #footer {
166 background : white;
167 color : black;
168 border-top: 1px solid black;
169 }
170
171 h1, h2, h3, h4, h5, h6 {
172 font-weight: bold;
173 }
174
175 p, .documentDescription {
176 margin: 1em 0 ! important;
177 line-height: 1.2em;
178 }
179
180 .tocindent p {
181 margin: 0 0 0 0 ! important;
182 }
183
184 pre {
185 border: 1pt dashed black;
186 white-space: pre;
187 font-size: 8pt;
188 overflow: auto;
189 padding: 1em 0;
190 background: white;
191 color: black;
192 }
193
194 table.listing,
195 table.listing td {
196 border: 1pt solid black;
197 border-collapse: collapse;
198 }
199
200 a {
201 color: Black !important;
202 background: none !important;
203 padding: 0 !important;
204 }
205
206 a:link, a:visited {
207 color: #520;
208 background: transparent;
209 text-decoration: underline;
210 }
211
212 #content a.external.text:after, #content a.external.autonumber:after {
213 /* Expand URLs for printing */
214 content: " (" attr(href) ") ";
215 }
216
217 #globalWrapper {
218 width: 100% !important;
219 min-width: 0 !important;
220 }
221
222 #content {
223 background: white;
224 color: black;
225 }
226
227 #column-content {
228 margin: 0 !important;
229 }
230
231 #column-content #content {
232 padding: 1em;
233 margin: 0 !important;
234 }
235 /* MSIE/Win doesn't understand 'inherit' */
236 a, a.external, a.new, a.stub {
237 color: black ! important;
238 text-decoration: none ! important;
239 }
240
241 /* Continue ... */
242 a, a.external, a.new, a.stub {
243 color: inherit ! important;
244 text-decoration: inherit ! important;
245 }
246
247 img {
248 border: none;
249 vertical-align: middle;
250 }
251
252 /* math */
253 span.texhtml { font-family: serif; }
254
255 #siteNotice { display: none; }
256
257 /* image galleries */
258 table.gallery {
259 border: 1px solid #ccc;
260 margin: 2px;
261 padding: 2px;
262 background-color: white;
263 border-collapse: collapse;
264 }
265
266 table.gallery tr {
267 vertical-align: top;
268 }
269
270 table.gallery td {
271 vertical-align: top;
272 padding: 1px;
273 border: 1px solid #ccc;
274 }
275
276 div.gallerybox {
277 margin: 2px;
278 }
279
280 div.gallerybox div.thumb {
281 text-align: center;
282 border: 1px solid #ccc;
283 margin: 2px;
284 }
285
286 div.gallerytext {
287 overflow: hidden;
288 font-size: 94%;
289 padding: 2px 4px;
290 }
291
292 /*
293 ** Diff rendering
294 */
295 table.diff {
296 background: white;
297 }
298 td.diff-otitle {
299 background: #ffffff;
300 }
301 td.diff-ntitle {
302 background: #ffffff;
303 }
304 td.diff-addedline {
305 background: #ccffcc;
306 font-size: smaller;
307 border: solid 2px black;
308 }
309 td.diff-deletedline {
310 background: #ffffaa;
311 font-size: smaller;
312 border: dotted 2px black;
313 }
314 td.diff-context {
315 background: #eeeeee;
316 font-size: smaller;
317 }
318 .diffchange {
319 color: silver;
320 font-weight: bold;
321 text-decoration: underline;
322 }
323
324 /*
325 ** Table rendering
326 */
327 table.wikitable {
328 margin: 1em 1em 1em 0;
329 border: 1px #aaa solid;
330 border-collapse: collapse;
331 }
332 .wikitable th, .wikitable td {
333 border: 1px #aaa solid;
334 padding: 0.2em;
335 }
336 .wikitable th {
337 text-align: center;
338 background: #F9F9F9;
339 font-weight: bold;
340 }
341 .wikitable caption {
342 font-weight: bold;
343 }
344
345 a.sortheader {
346 margin: 0px 0.3em;
347 }