Commit | Line | Data |
---|---|---|
da3c2755 RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
3 | * You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 | ||
5 | #moz-reader-content { | |
6 | display: none; | |
7 | font-size: 1em; | |
8 | line-height: 1.6em; | |
9 | } | |
10 | ||
dae45075 RK |
11 | #moz-reader-content.line-height1 { |
12 | line-height: 1em; | |
13 | } | |
14 | ||
15 | #moz-reader-content.line-height2 { | |
16 | line-height: 1.2em; | |
17 | } | |
18 | ||
19 | #moz-reader-content.line-height3 { | |
20 | line-height: 1.4em; | |
21 | } | |
22 | ||
23 | #moz-reader-content.line-height4 { | |
24 | line-height: 1.6em; | |
25 | } | |
26 | ||
27 | #moz-reader-content.line-height5 { | |
28 | line-height: 1.8em; | |
29 | } | |
30 | ||
31 | #moz-reader-content.line-height6 { | |
32 | line-height: 2.0em; | |
33 | } | |
34 | ||
35 | #moz-reader-content.line-height7 { | |
36 | line-height: 2.2em; | |
37 | } | |
38 | ||
39 | #moz-reader-content.line-height8 { | |
40 | line-height: 2.4em; | |
41 | } | |
42 | ||
43 | #moz-reader-content.line-height9 { | |
44 | line-height: 2.6em; | |
45 | } | |
46 | ||
47 | @media print { | |
48 | p, | |
49 | code, | |
50 | pre, | |
51 | blockquote, | |
52 | ul, | |
53 | ol, | |
54 | li, | |
55 | figure, | |
56 | .wp-caption { | |
57 | margin: 0 0 10px 0 !important; | |
58 | } | |
59 | } | |
60 | ||
da3c2755 RK |
61 | h1, |
62 | h2, | |
63 | h3 { | |
64 | font-weight: bold; | |
65 | } | |
66 | ||
67 | h1 { | |
68 | font-size: 1.6em; | |
69 | line-height: 1.25em; | |
70 | } | |
71 | ||
72 | h2 { | |
73 | font-size: 1.2em; | |
74 | line-height: 1.51em; | |
75 | } | |
76 | ||
77 | h3 { | |
78 | font-size: 1em; | |
79 | line-height: 1.66em; | |
80 | } | |
81 | ||
82 | a { | |
83 | text-decoration: underline; | |
84 | font-weight: normal; | |
85 | } | |
86 | ||
87 | a, | |
88 | a:visited, | |
89 | a:hover, | |
90 | a:active { | |
91 | color: #0095dd; | |
92 | } | |
93 | ||
94 | * { | |
95 | max-width: 100%; | |
96 | height: auto; | |
97 | } | |
98 | ||
99 | p, | |
100 | code, | |
101 | pre, | |
102 | blockquote, | |
103 | ul, | |
104 | ol, | |
105 | li, | |
106 | figure, | |
107 | .wp-caption { | |
7729765c RK |
108 | margin: -10px -10px 20px -10px; |
109 | padding: 10px; | |
110 | border-radius: 5px; | |
da3c2755 RK |
111 | } |
112 | ||
113 | p > img:only-child, | |
114 | p > a:only-child > img:only-child, | |
115 | .wp-caption img, | |
116 | figure img { | |
117 | display: block; | |
118 | } | |
119 | ||
120 | img[moz-reader-center] { | |
121 | margin-left: auto; | |
122 | margin-right: auto; | |
123 | } | |
124 | ||
125 | .caption, | |
126 | .wp-caption-text, | |
127 | figcaption { | |
128 | font-size: 0.9em; | |
129 | line-height: 1.48em; | |
130 | font-style: italic; | |
131 | } | |
132 | ||
133 | code, | |
134 | pre { | |
135 | white-space: pre-wrap; | |
136 | } | |
137 | ||
138 | blockquote { | |
139 | padding: 0; | |
dae45075 | 140 | padding-inline-start: 16px; |
da3c2755 RK |
141 | } |
142 | ||
143 | ul, | |
144 | ol { | |
145 | padding: 0; | |
146 | } | |
147 | ||
148 | ul { | |
dae45075 | 149 | padding-inline-start: 30px; |
da3c2755 RK |
150 | list-style: disc; |
151 | } | |
152 | ||
153 | ol { | |
dae45075 | 154 | padding-inline-start: 30px; |
da3c2755 RK |
155 | list-style: decimal; |
156 | } | |
157 | ||
158 | /* Hide elements with common "hidden" class names */ | |
159 | .visually-hidden, | |
160 | .visuallyhidden, | |
161 | .hidden, | |
162 | .invisible, | |
163 | .sr-only { | |
164 | display: none; | |
165 | } |