ApiBlockTest now remove block it creates
[mediawiki.git] / skins / common / commonPrint.css
blobb28042b8c0448dd71db27ea8b3dd9b35199ded2f
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 */
9 /* Thanks to A List Apart (http://alistapart.com/) for useful extras */
10 a.stub,
11 a.new {
12 color: #ba0000;
13 text-decoration: none;
16 #toc {
17 display: none;
19 .tocindent {
20 margin-left: 2em;
22 .tocline {
23 margin-bottom: 0px;
26 /* images */
27 div.floatright {
28 float: right;
29 clear: right;
30 position: relative;
31 margin: 0.5em 0 0.8em 1.4em;
33 div.floatright p {
34 font-style: italic;
36 div.floatleft {
37 float: left;
38 clear: left;
39 position: relative;
40 margin: 0.5em 1.4em 0.8em 0;
42 div.floatleft p {
43 font-style: italic;
45 div.center {
46 text-align: center;
49 /* thumbnails */
50 div.thumb {
51 border: none;
52 width: auto;
53 margin-top: 0.5em;
54 margin-bottom: 0.8em;
55 background-color: transparent;
57 div.thumbinner {
58 border:1px solid #cccccc;
59 padding: 3px !important;
60 background-color: White;
61 font-size: 94%;
62 text-align: center;
63 overflow: hidden;
65 html .thumbimage {
66 border: 1px solid #cccccc;
68 html .thumbcaption {
69 border: none;
70 text-align: left;
71 line-height: 1.4em;
72 padding: 3px !important;
73 font-size: 94%;
76 div.magnify {
77 display: none;
79 /* @noflip */
80 div.tright {
81 float: right;
82 clear: right;
83 margin: 0.5em 0 0.8em 1.4em;
85 /* @noflip */
86 div.tleft {
87 float: left;
88 clear: left;
89 margin: 0.5em 1.4em 0.8em 0;
91 img.thumbborder {
92 border: 1px solid #dddddd;
95 /* table standards */
96 table.rimage {
97 float: right;
98 width: 1pt;
99 position: relative;
100 margin-left: 1em;
101 margin-bottom: 1em;
102 text-align: center;
105 body {
106 background: White;
107 /*font-size: 11pt !important;*/
108 color: Black;
109 margin: 0;
110 padding: 0;
113 .noprint,
114 div#jump-to-nav,
115 div.top,
116 div#column-one,
117 #colophon,
118 .editsection,
119 .toctoggle,
120 .tochidden,
121 div#f-poweredbyico,
122 div#f-copyrightico,
123 li#viewcount,
124 li#about,
125 li#disclaimer,
126 li#privacy,
127 #footer-places,
128 #mw-hidden-catlinks {
129 /* Hides all the elements irrelevant for printing */
130 display: none;
133 ul {
134 list-style-type: square;
137 #content {
138 background: none;
139 border: none ! important;
140 padding: 0 ! important;
141 margin: 0 ! important;
142 direction: ltr;
144 #footer {
145 background : white;
146 color : black;
147 border-top: 1px solid black;
148 direction: ltr;
151 h1, h2, h3, h4, h5, h6 {
152 font-weight: bold;
155 p, .documentDescription {
156 margin: 1em 0 ! important;
157 line-height: 1.2em;
160 .tocindent p {
161 margin: 0 0 0 0 ! important;
164 pre {
165 border: 1pt dashed black;
166 white-space: pre;
167 font-size: 8pt;
168 overflow: auto;
169 padding: 1em 0;
170 background: white;
171 color: black;
174 table.listing,
175 table.listing td {
176 border: 1pt solid black;
177 border-collapse: collapse;
181 color: Black !important;
182 background: none !important;
183 padding: 0 !important;
186 a:link, a:visited {
187 color: #520;
188 background: transparent;
189 text-decoration: underline;
192 #content a.external.text:after, #content a.external.autonumber:after {
193 /* Expand URLs for printing */
194 content: " (" attr(href) ") ";
197 #globalWrapper {
198 width: 100% !important;
199 min-width: 0 !important;
202 #content {
203 background: white;
204 color: black;
207 #column-content {
208 margin: 0 !important;
211 #column-content #content {
212 padding: 1em;
213 margin: 0 !important;
215 /* MSIE/Win doesn't understand 'inherit' */
216 a, a.external, a.new, a.stub {
217 color: black ! important;
218 text-decoration: none ! important;
221 /* Continue ... */
222 a, a.external, a.new, a.stub {
223 color: inherit ! important;
224 text-decoration: inherit ! important;
227 img {
228 border: none;
229 vertical-align: middle;
232 /* math */
233 span.texhtml { font-family: serif; }
235 #siteNotice { display: none; }
237 /* Galleries (see shared.css for more info) */
238 li.gallerybox {
239 vertical-align: top;
240 background-color: #f9f9f9;
241 border: solid 2px white;
242 display: -moz-inline-box;
243 display: inline-block;
246 ul.gallery, li.gallerybox {
247 zoom: 1;
248 *display: inline;
251 ul.gallery {
252 margin: 2px;
253 padding: 2px;
254 display: block;
257 li.gallerycaption {
258 font-weight: bold;
259 text-align: center;
260 display: block;
261 word-wrap: break-word;
264 li.gallerybox div.thumb {
265 text-align: center;
266 border: 1px solid #ccc;
267 margin: 2px;
270 div.gallerytext {
271 overflow: hidden;
272 font-size: 94%;
273 padding: 2px 4px;
274 word-wrap: break-word;
277 ** Diff rendering
279 table.diff {
280 background: white;
282 td.diff-otitle {
283 background: #ffffff;
285 td.diff-ntitle {
286 background: #ffffff;
288 td.diff-addedline {
289 background: #ccffcc;
290 font-size: smaller;
291 border: solid 2px black;
293 td.diff-deletedline {
294 background: #ffffaa;
295 font-size: smaller;
296 border: dotted 2px black;
298 td.diff-context {
299 background: #eeeeee;
300 font-size: smaller;
302 .diffchange {
303 color: silver;
304 font-weight: bold;
305 text-decoration: underline;
309 ** Table rendering
310 ** As on shared.css but with white background.
312 table.wikitable {
313 margin: 1em 1em 1em 0;
314 border: 1px #aaa solid;
315 background: white;
316 border-collapse: collapse;
318 .wikitable th, .wikitable td {
319 border: 1px #aaa solid;
320 padding: 0.2em;
322 .wikitable th {
323 text-align: center;
324 background: white;
325 font-weight: bold;
327 .wikitable caption {
328 font-weight: bold;
331 a.sortheader {
332 margin: 0px 0.3em;
335 /* Some pagination options */
336 .wikitable, .thumb, img {
337 page-break-inside: avoid;
339 h2, h3, h4, h5, h6, h7 {
340 page-break-after: avoid;
343 widows: 3;
344 orphans: 3;