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
;
91 page-break-inside: avoid
;
96 vertical-align: middle
;
100 * MediaWiki-specific elements
103 width: 100% !important
;
104 min-width: 0 !important
;
110 border: 0 !important
;
111 padding: 0 !important
;
112 margin: 0 !important
;
117 margin: 0 !important
;
120 #column-content .mw-body
{
122 margin: 0 !important
;
126 background-color: #f9f9f9;
127 border: 1pt solid
#aaa;
132 /* Separate columns for tocnumber and toctext */
138 /* Space between the columns for tocnumber and toctext */
141 padding-right: 0.5em;
145 .mw-content-ltr .tocnumber {
147 padding-right: 0.5em;
151 .mw-content-rtl .tocnumber {
160 border-top: 1pt solid
#aaa;
168 background: none
!important
;
169 padding: 0 !important
;
172 /* Expand URLs for printing */
173 .mw-body a
.external
.text:after
,
174 .mw-body a.external.autonumber:after {
175 content: " (" attr
( href
) ")";
176 word-break: break-all
;
177 word-wrap: break-word
;
180 /* Expand protocol-relative URLs for printing */
181 .mw-body a
.external
.text
[href^
='//']:after
,
182 .mw-body a.external.autonumber[href^='//']:after {
183 content: " (https:" attr
( href
) ")";
186 /* MSIE/Win doesn't understand 'inherit' */
191 color: #000 !important
;
192 text-decoration: none
!important
;
200 color: inherit
!important
;
201 text-decoration: inherit
!important
;
212 margin: 0.5em 0 0.8em 1.4em;
224 margin: 0.5em 1.4em 0.8em 0;
239 background-color: transparent
;
243 margin-bottom: 0.8em;
247 background-color: #fff;
248 border: 1pt solid
#ccc;
249 padding: 3px !important
;
252 /* new block formatting context,
253 * to clear background from floating content */
258 border: 1pt solid
#ccc;
265 padding: 3px !important
;
273 margin: 0.5em 0 0.8em 1.4em;
280 margin: 0.5em 1.4em 0.8em 0;
284 border: 1pt solid
#ddd;
289 * As on shared.css but with white background.
295 border: 1pt solid
#aaa;
296 border-collapse: collapse
;
299 table
.wikitable
> tr
> th
,
300 table
.wikitable
> tr
> td
,
301 table
.wikitable
> * > tr
> th
,
302 table
.wikitable
> * > tr
> td
,
305 border: 1pt solid
#aaa;
309 table
.wikitable
> tr
> th
,
310 table
.wikitable
> * > tr
> th
,
317 table
.wikitable
> caption
,
318 .mw_metadata caption {
324 border: 1pt solid
#000;
325 border-collapse: collapse
;
338 list-style: none none
;
342 display: inline-block
;
345 border-left: 1pt solid
#aaa;
349 .catlinks li:first-child {