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