Debian Codegraph @

resources/src/mediawiki.skinning/elements-print.less

raw
1 /* stylelint-disable selector-class-pattern */
2
3 .center {
4 text-align: center;
5 }
6
7 /* Links */
8 a {
9 background: none !important; /* stylelint-disable-line declaration-no-important */
10 padding: 0 !important; /* stylelint-disable-line declaration-no-important */
11
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 }
19 }
20
21 dt {
22 font-weight: bold;
23 }
24
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;
36 }
37
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;
47 }
48
49 img,
50 figure {
51 /* Pagination */
52 page-break-inside: avoid;
53 }
54
55 img {
56 border: 0;
57 vertical-align: middle;
58 }
59
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;
72 }
73
74 ul {
75 list-style-type: square;
76 }