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