* (bug 8463) Don't print external link icons for Monobook
[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 font-size: 11pt;
121 padding: 0 ! important;
122 margin: 0 ! important;
123 }
124 #footer {
125 background : white;
126 color : black;
127 border-top: 1px solid black;
128 }
129
130 h1, h2, h3, h4, h5, h6
131 {
132 font-weight: bold;
133 }
134
135 p, .documentDescription {
136 margin: 1em 0 ! important;
137 line-height: 1.2em;
138 }
139
140 .tocindent p {
141 margin: 0 0 0 0 ! important;
142 }
143
144 pre {
145 border: 1pt dashed black;
146 white-space: pre;
147 font-size: 8pt;
148 overflow: auto;
149 padding: 1em 0;
150 background : white;
151 color : black;
152 }
153
154 table.listing,
155 table.listing td {
156 border: 1pt solid black;
157 border-collapse: collapse;
158 }
159
160 a {
161 color: Black !important;
162 background: none !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