Merge "Make update.php file executable"
[mediawiki.git] / skins / common / commonPrint.css
bloba6d3b5569248ae8cd34bff3a727df6e548319701
1 /**
2 * MediaWiki Print style sheet for CSS2-capable browsers.
3 * Copyright Gabriel Wicke, http://www.aulinx.de/
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 border: 1px solid #aaaaaa;
18 background-color: #f9f9f9;
19 padding: 5px;
20 display: -moz-inline-block;
21 display: inline-block;
22 display: table;
23 /* IE7 and earlier */
24 zoom: 1;
25 *display: inline;
28 /* images */
29 div.floatright {
30 float: right;
31 clear: right;
32 position: relative;
33 margin: 0.5em 0 0.8em 1.4em;
36 div.floatright p {
37 font-style: italic;
40 div.floatleft {
41 float: left;
42 clear: left;
43 position: relative;
44 margin: 0.5em 1.4em 0.8em 0;
47 div.floatleft p {
48 font-style: italic;
51 div.center {
52 text-align: center;
55 /* thumbnails */
56 div.thumb {
57 border: none;
58 width: auto;
59 margin-top: 0.5em;
60 margin-bottom: 0.8em;
61 background-color: transparent;
64 div.thumbinner {
65 border: 1px solid #cccccc;
66 padding: 3px !important;
67 background-color: White;
68 font-size: 94%;
69 text-align: center;
70 overflow: hidden;
73 html .thumbimage {
74 border: 1px solid #cccccc;
77 html .thumbcaption {
78 border: none;
79 text-align: left;
80 line-height: 1.4em;
81 padding: 3px !important;
82 font-size: 94%;
85 div.magnify {
86 display: none;
89 /* @noflip */
90 div.tright {
91 float: right;
92 clear: right;
93 margin: 0.5em 0 0.8em 1.4em;
96 /* @noflip */
97 div.tleft {
98 float: left;
99 clear: left;
100 margin: 0.5em 1.4em 0.8em 0;
103 img.thumbborder {
104 border: 1px solid #dddddd;
107 body {
108 background: white;
109 color: black;
110 margin: 0;
111 padding: 0;
114 .noprint,
115 div#jump-to-nav,
116 .mw-jump,
117 div.top,
118 div#column-one,
119 #colophon,
120 .mw-editsection,
121 .mw-editsection-like,
122 .toctoggle,
123 .tochidden,
124 div#f-poweredbyico,
125 div#f-copyrightico,
126 li#viewcount,
127 li#about,
128 li#disclaimer,
129 li#mobileview,
130 li#privacy,
131 #footer-places,
132 .mw-hidden-catlinks,
133 tr.mw-metadata-show-hide-extended,
134 span.mw-filepage-other-resolutions,
135 #filetoc,
136 .usermessage,
137 .patrollink,
138 #mw-navigation {
139 /* Hides all the elements irrelevant for printing */
140 display: none;
143 ul {
144 list-style-type: square;
147 #content {
148 background: none;
149 border: none !important;
150 padding: 0 !important;
151 margin: 0 !important;
152 direction: ltr;
155 #footer {
156 background: white;
157 color: black;
158 margin-top: 1em;
159 border-top: 1px solid #AAA;
160 direction: ltr;
163 h1, h2, h3, h4, h5, h6 {
164 font-weight: bold;
167 dt {
168 font-weight: bold;
172 margin: 1em 0;
173 line-height: 1.2em;
176 pre, .mw-code {
177 border: 1pt dashed black;
178 white-space: pre;
179 font-size: 8pt;
180 overflow: auto;
181 padding: 1em 0;
182 background: white;
183 color: black;
186 table.listing,
187 table.listing td {
188 border: 1pt solid black;
189 border-collapse: collapse;
193 color: black !important;
194 background: none !important;
195 padding: 0 !important;
198 a:link, a:visited {
199 color: #520;
200 background: transparent;
201 text-decoration: underline;
204 #content a.external.text:after,
205 #content a.external.autonumber:after {
206 /* Expand URLs for printing */
207 content: " (" attr(href) ")";
210 #content a.external.text[href^='//']:after,
211 #content a.external.autonumber[href^='//']:after {
212 /* Expand protocol-relative URLs for printing */
213 content: " (https:" attr(href) ")";
216 #globalWrapper {
217 width: 100% !important;
218 min-width: 0 !important;
221 #content {
222 background: white;
223 color: black;
226 #column-content {
227 margin: 0 !important;
230 #column-content #content {
231 padding: 1em;
232 margin: 0 !important;
235 /* MSIE/Win doesn't understand 'inherit' */
237 a.external,
238 a.new,
239 a.stub {
240 color: black !important;
241 text-decoration: none !important;
244 /* Continue ... */
246 a.external,
247 a.new,
248 a.stub {
249 color: inherit !important;
250 text-decoration: inherit !important;
253 img {
254 border: none;
255 vertical-align: middle;
258 /* math */
259 span.texhtml {
260 font-family: serif;
263 #siteNotice {
264 display: none;
267 /* Galleries (see shared.css for more info) */
268 li.gallerybox {
269 vertical-align: top;
270 display: inline-block;
273 ul.gallery, li.gallerybox {
274 zoom: 1;
275 *display: inline;
278 ul.gallery {
279 margin: 2px;
280 padding: 2px;
281 display: block;
284 li.gallerycaption {
285 font-weight: bold;
286 text-align: center;
287 display: block;
288 word-wrap: break-word;
291 li.gallerybox div.thumb {
292 text-align: center;
293 border: 1px solid #ccc;
294 margin: 2px;
297 div.gallerytext {
298 overflow: hidden;
299 font-size: 94%;
300 padding: 2px 4px;
301 word-wrap: break-word;
305 * Diff rendering
307 table.diff {
308 background: white;
311 td.diff-otitle {
312 background: #ffffff;
315 td.diff-ntitle {
316 background: #ffffff;
319 td.diff-addedline {
320 background: #ccffcc;
321 font-size: smaller;
322 border: solid 2px black;
325 td.diff-deletedline {
326 background: #ffffaa;
327 font-size: smaller;
328 border: dotted 2px black;
331 td.diff-context {
332 background: #eeeeee;
333 font-size: smaller;
336 .diffchange {
337 color: silver;
338 font-weight: bold;
339 text-decoration: underline;
343 * Table rendering
344 * As on shared.css but with white background.
346 table.wikitable,
347 table.mw_metadata {
348 margin: 1em 0;
349 border: 1px #aaa solid;
350 background: white;
351 border-collapse: collapse;
354 table.wikitable > tr > th, table.wikitable > tr > td,
355 table.wikitable > * > tr > th, table.wikitable > * > tr > td,
356 .mw_metadata th, .mw_metadata td {
357 border: 1px #aaa solid;
358 padding: 0.2em;
361 table.wikitable > tr > th,
362 table.wikitable > * > tr > th,
363 .mw_metadata th {
364 text-align: center;
365 background: white;
366 font-weight: bold;
369 table.wikitable > caption,
370 .mw_metadata caption {
371 font-weight: bold;
374 a.sortheader {
375 margin: 0 0.3em;
378 /* Some pagination options */
379 .wikitable, .thumb, img {
380 page-break-inside: avoid;
383 h2, h3, h4, h5, h6 {
384 page-break-after: avoid;
388 widows: 3;
389 orphans: 3;
393 * Categories
395 .catlinks ul {
396 display: inline;
397 margin: 0;
398 padding: 0;
399 list-style: none;
400 list-style-type: none;
401 list-style-image: none;
402 vertical-align: middle !ie;
405 .catlinks li {
406 display: inline-block;
407 line-height: 1.15em;
408 padding: 0 .4em;
409 border-left: 1px solid #AAA;
410 margin: 0.1em 0;
411 zoom: 1;
412 display: inline !ie;
415 .catlinks li:first-child {
416 padding-left: .2em;
417 border-left: none;