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