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
22 .ns-0
.mw-redirectedfrom
,
26 /* Deprecated, changed in core */
37 * Generic HTML elements
54 page-break-after: avoid
;
62 list-style-type: square
;
77 border: 1pt dashed
#000;
81 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-break: break-all
;
176 word-wrap: break-word
;
179 /* Expand protocol-relative URLs for printing */
180 .mw-body a
.external
.text
[href^
='//']:after
,
181 .mw-body a.external.autonumber[href^='//']:after {
182 content: " (https:" attr
( href
) ")";
185 /* MSIE/Win doesn't understand 'inherit' */
190 color: #000 !important
;
191 text-decoration: none
!important
;
199 color: inherit
!important
;
200 text-decoration: inherit
!important
;
211 margin: 0.5em 0 0.8em 1.4em;
223 margin: 0.5em 1.4em 0.8em 0;
238 background-color: transparent
;
242 margin-bottom: 0.8em;
246 background-color: #fff;
247 border: 1pt solid
#ccc;
251 /* new block formatting context,
252 * to clear background from floating content */
257 border: 1pt solid
#ccc;
272 margin: 0.5em 0 0.8em 1.4em;
279 margin: 0.5em 1.4em 0.8em 0;
283 border: 1pt solid
#ddd;
288 * As on shared.css but with white background.
294 border: 1pt solid
#aaa;
295 border-collapse: collapse
;
298 table
.wikitable
> tr
> th
,
299 table
.wikitable
> tr
> td
,
300 table
.wikitable
> * > tr
> th
,
301 table
.wikitable
> * > tr
> td
,
304 border: 1pt solid
#aaa;
308 table
.wikitable
> tr
> th
,
309 table
.wikitable
> * > tr
> th
,
316 table
.wikitable
> caption
,
317 .mw_metadata caption {
323 border: 1pt solid
#000;
324 border-collapse: collapse
;
333 list-style: none none
;
337 display: inline-block
;
340 border-left: 1pt solid
#aaa;
344 .catlinks li:first-child {