Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / src / mediawiki.skinning / elements-print.less
blobddcfd072d7b76605d716fcd4db815af251b52c91
1 /* stylelint-disable selector-class-pattern */
3 .center {
4         text-align: center;
7 /* Links */
8 a {
9         background: none !important; /* stylelint-disable-line declaration-no-important */
10         padding: 0 !important; /* stylelint-disable-line declaration-no-important */
12         &,
13         &.external,
14         &.new,
15         &.stub {
16                 color: inherit !important; /* stylelint-disable-line declaration-no-important */
17                 text-decoration: inherit !important; /* stylelint-disable-line declaration-no-important */
18         }
21 dt {
22         font-weight: bold;
25 .mw-heading,
26 h1,
27 h2,
28 h3,
29 h4,
30 h5,
31 h6 {
32         font-weight: bold;
33         /* Pagination */
34         page-break-after: avoid;
35         page-break-before: avoid;
38 p {
39         margin: 1em 0;
40         line-height: 1.2;
41         /* Pagination */
42         /* oprhans/widows not supported by Firefox */
43         /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
44         orphans: 3;
45         /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
46         widows: 3;
49 img,
50 figure {
51         /* Pagination */
52         page-break-inside: avoid;
55 img {
56         border: 0;
57         vertical-align: middle;
60 pre,
61 .mw-code {
62         background: #fff;
63         color: #000;
64         border: 1pt dashed #000;
65         padding: 1em;
66         font-size: 8pt;
67         white-space: pre-wrap;
68         /* Create a new block formatting context */
69         overflow-x: hidden;
70         /* Break really long words when they overflow to the next line */
71         word-wrap: break-word;
74 ul {
75         list-style-type: square;