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