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