bug 1355 adding noprint
[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 text-align: left;
66 padding: 0.3em 0 0.1em 0;
67 }
68 div.magnify { display: none; }
69 div.tright {
70 float: 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.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 /* 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 text-align: left;
124 }
125 #footer {
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 }
150
151 table.listing,
152 table.listing td {
153 border: 1pt solid black;
154 border-collapse: collapse;
155 }
156
157 a {
158 color: Black !important;
159 padding: 0 !important
160 }
161
162 a:link, a:visited {
163 color: #520;
164 background: transparent;
165 text-decoration: underline;
166 }
167
168 #content a.external.text:after, #content a.external.autonumber:after {
169 /* Expand URLs for printing */
170 content: " (" attr(href) ") ";
171 }
172
173 #globalWrapper {
174 width: 100% !important;
175 min-width: 0 !important;
176 }
177
178 #column-content {
179 margin: 0 !important;
180 }
181
182 #column-content #content {
183 padding: 1em;
184 margin: 0 !important;
185 }
186 /* MSIE/Win doesn't understand 'inherit' */
187 a, a.external, a.new, a.stub {
188 color: black ! important;
189 text-decoration: none ! important;
190 }
191
192 /* Continue ... */
193 a, a.external, a.new, a.stub {
194 color: inherit ! important;
195 text-decoration: inherit ! important;
196 }
197
198 img { border: none; }
199 img.tex { vertical-align: middle; }
200 span.texhtml { font-family: serif; }
201
202 div.townBox {
203 position:relative;
204 float:right;
205 background:White;
206 margin-left:1em;
207 border: 1px solid gray;
208 padding:0.3em;
209 width: 200px;
210 overflow: hidden;
211 clear: right;
212 }
213 div.townBox dl {
214 padding: 0;
215 margin: 0 0 0.3em 0;
216 font-size: 96%;
217 }
218 div.townBox dl dt {
219 background: none;
220 margin: 0.4em 0 0 0;
221 }
222 div.townBox dl dd {
223 margin: 0.1em 0 0 1.1em;
224 background-color: #f3f3f3;
225 }
226
227 #siteNotice { display: none; }
228
229 table.gallery {
230 border: 1px solid #cccccc;
231 margin: 2px;
232 padding: 2px;
233 background-color:#ffffff;
234 }
235
236 table.gallery tr {
237 vertical-align:top;
238 }
239
240 div.gallerybox {
241 border: 1px solid #cccccc;
242 margin: 2px;
243 background-color:#f9f9f9;
244 width: 150px;
245 }
246
247 div.gallerybox div.thumb {
248 text-align: center;
249 border: 1px solid #cccccc;
250 margin: 2px;
251 }
252
253 div.gallerytext {
254 font-size: 94%;
255 padding: 2px 4px;
256 }
257
258 /*
259 ** Diff rendering
260 */
261 table.diff { background:white; }
262 td.diff-otitle { background:#ffffff; }
263 td.diff-ntitle { background:#ffffff; }
264 td.diff-addedline {
265 background:#ccffcc;
266 font-size: smaller;
267 border: solid 2px black;
268 }
269 td.diff-deletedline {
270 background:#ffffaa;
271 font-size: smaller;
272 border: dotted 2px black;
273 }
274 td.diff-context {
275 background:#eeeeee;
276 font-size: smaller;
277 }
278 span.diffchange { color: silver; font-weight: bold; text-decoration: underline; }
279