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
9 /* Thanks to A List Apart (http://alistapart.com/) for useful extras */
12 * Hide all the elements irrelevant for printing
32 tr
.mw-metadata-show-hide-extended
,
33 span
.mw-filepage-other-resolutions
,
37 .ns-0
.mw-redirectedfrom
,
46 .wikitable, .thumb, img {
47 page-break-inside: avoid
;
51 page-break-after: avoid
;
60 * Generic HTML elements
70 list-style-type: square
;
73 h1
, h2
, h3
, h4
, h5
, h6
{
87 border: 1pt dashed black
;
97 * MediaWiki-specific elements
100 width: 100% !important
;
101 min-width: 0 !important
;
106 border: none
!important
;
107 padding: 0 !important
;
108 margin: 0 !important
;
114 margin: 0 !important
;
117 #column-content .mw-body
{
119 margin: 0 !important
;
123 border: 1px solid
#aaaaaa;
124 background-color: #f9f9f9;
126 display: inline-block
;
128 /* IE7 and earlier */
137 border-top: 1px solid
#AAA;
143 vertical-align: middle
;
157 text-decoration: none
;
161 color: black
!important
;
162 background: none
!important
;
163 padding: 0 !important
;
168 background: transparent
;
169 text-decoration: underline
;
172 /* Expand URLs for printing */
173 .mw-body a
.external
.text:after
,
174 .mw-body a.external.autonumber:after {
175 content: " (" attr
(href
) ")";
178 /* Expand protocol-relative URLs for printing */
179 .mw-body a
.external
.text
[href^
='//']:after
,
180 .mw-body a.external.autonumber[href^='//']:after {
181 content: " (https:" attr
(href
) ")";
184 /* MSIE/Win doesn't understand 'inherit' */
189 color: black
!important
;
190 text-decoration: none
!important
;
198 color: inherit
!important
;
199 text-decoration: inherit
!important
;
210 margin: 0.5em 0 0.8em 1.4em;
222 margin: 0.5em 1.4em 0.8em 0;
240 margin-bottom: 0.8em;
241 background-color: transparent
;
245 border: 1px solid
#cccccc;
246 padding: 3px !important
;
247 background-color: White
;
254 border: 1px solid
#cccccc;
261 padding: 3px !important
;
273 margin: 0.5em 0 0.8em 1.4em;
280 margin: 0.5em 1.4em 0.8em 0;
284 border: 1px solid
#dddddd;
288 * Galleries (see shared.css for more info)
292 display: inline-block
;
295 ul
.gallery
, li
.gallerybox
{
310 word-wrap: break-word
;
313 li
.gallerybox div
.thumb
{
315 border: 1px solid
#ccc;
323 word-wrap: break-word
;
328 * As on shared.css but with white background.
333 border: 1px #aaa solid
;
335 border-collapse: collapse
;
338 table
.wikitable
> tr
> th
, table
.wikitable
> tr
> td
,
339 table
.wikitable
> * > tr
> th
, table
.wikitable
> * > tr
> td
,
340 .mw_metadata th, .mw_metadata td {
341 border: 1px #aaa solid
;
345 table
.wikitable
> tr
> th
,
346 table
.wikitable
> * > tr
> th
,
353 table
.wikitable
> caption
,
354 .mw_metadata caption {
360 border: 1pt solid black
;
361 border-collapse: collapse
;
376 list-style-type: none
;
377 list-style-image: none
;
378 vertical-align: middle
!ie
;
382 display: inline-block
;
385 border-left: 1px solid
#AAA;
391 .catlinks li:first-child {
397 padding: 1em 0 1em 0;