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