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