2 * MediaWiki print style sheet
3 * Largely based on work by Gabriel Wicke
5 * Originally derived from Plone (https://plone.org/) styles
6 * Copyright Alexander Limi
10 * Hide all the elements irrelevant for printing
23 .ns-0
.mw-redirectedfrom
,
27 /* Deprecated, changed in core */
38 * Generic HTML elements
55 page-break-after: avoid
;
63 list-style-type: square
;
78 border: 1pt dashed
#000;
82 word-wrap: break-word
;
90 page-break-inside: avoid
;
95 vertical-align: middle
;
99 * MediaWiki-specific elements
102 width: 100% !important
;
103 min-width: 0 !important
;
109 border: 0 !important
;
110 padding: 0 !important
;
111 margin: 0 !important
;
116 margin: 0 !important
;
119 #column-content .mw-body
{
121 margin: 0 !important
;
125 background-color: #f9f9f9;
126 border: 1pt solid
#aaa;
131 /* Separate columns for tocnumber and toctext */
137 /* Space between the columns for tocnumber and toctext */
140 padding-right: 0.5em;
144 .mw-content-ltr .tocnumber {
146 padding-right: 0.5em;
150 .mw-content-rtl .tocnumber {
159 border-top: 1pt solid
#aaa;
167 background: none
!important
;
168 padding: 0 !important
;
171 /* Expand URLs for printing */
172 .mw-body a
.external
.text:after
,
173 .mw-body a.external.autonumber:after {
174 content: " (" attr
( href
) ")";
175 word-wrap: break-word
;
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: #000 !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;
237 background-color: transparent
;
241 margin-bottom: 0.8em;
245 background-color: #fff;
246 border: 1pt solid
#ccc;
247 padding: 3px !important
;
253 border: 1pt solid
#ccc;
260 padding: 3px !important
;
263 word-wrap: break-word
;
270 margin: 0.5em 0 0.8em 1.4em;
277 margin: 0.5em 1.4em 0.8em 0;
281 border: 1pt solid
#ddd;
286 * As on shared.css but with white background.
292 border: 1pt solid
#aaa;
293 border-collapse: collapse
;
296 table
.wikitable
> tr
> th
,
297 table
.wikitable
> tr
> td
,
298 table
.wikitable
> * > tr
> th
,
299 table
.wikitable
> * > tr
> td
,
302 border: 1pt solid
#aaa;
306 table
.wikitable
> tr
> th
,
307 table
.wikitable
> * > tr
> th
,
314 table
.wikitable
> caption
,
315 .mw_metadata caption {
321 border: 1pt solid
#000;
322 border-collapse: collapse
;
335 list-style: none none
;
339 display: inline-block
;
342 border-left: 1pt solid
#aaa;
346 .catlinks li:first-child {