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