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; | |
0282321d | 58 | padding: 0 !important; |
dae45075 RK |
59 | } |
60 | } | |
61 | ||
da3c2755 RK |
62 | h1, |
63 | h2, | |
64 | h3 { | |
65 | font-weight: bold; | |
66 | } | |
67 | ||
68 | h1 { | |
69 | font-size: 1.6em; | |
70 | line-height: 1.25em; | |
71 | } | |
72 | ||
73 | h2 { | |
74 | font-size: 1.2em; | |
75 | line-height: 1.51em; | |
76 | } | |
77 | ||
78 | h3 { | |
79 | font-size: 1em; | |
80 | line-height: 1.66em; | |
81 | } | |
82 | ||
689d5552 | 83 | a:link { |
da3c2755 RK |
84 | text-decoration: underline; |
85 | font-weight: normal; | |
86 | } | |
87 | ||
689d5552 RK |
88 | a:link, |
89 | a:link:hover, | |
90 | a:link:active { | |
da3c2755 RK |
91 | color: #0095dd; |
92 | } | |
93 | ||
689d5552 RK |
94 | a:visited { |
95 | color: #c2e; | |
96 | } | |
97 | ||
da3c2755 RK |
98 | * { |
99 | max-width: 100%; | |
100 | height: auto; | |
101 | } | |
102 | ||
103 | p, | |
104 | code, | |
105 | pre, | |
106 | blockquote, | |
107 | ul, | |
108 | ol, | |
109 | li, | |
110 | figure, | |
111 | .wp-caption { | |
7729765c RK |
112 | margin: -10px -10px 20px -10px; |
113 | padding: 10px; | |
114 | border-radius: 5px; | |
da3c2755 RK |
115 | } |
116 | ||
689d5552 RK |
117 | li { |
118 | margin-bottom: 0; | |
119 | } | |
120 | ||
121 | li > ul, | |
122 | li > ol { | |
123 | margin-bottom: -10px; | |
124 | } | |
125 | ||
da3c2755 RK |
126 | p > img:only-child, |
127 | p > a:only-child > img:only-child, | |
128 | .wp-caption img, | |
129 | figure img { | |
130 | display: block; | |
131 | } | |
132 | ||
133 | img[moz-reader-center] { | |
134 | margin-left: auto; | |
135 | margin-right: auto; | |
136 | } | |
137 | ||
138 | .caption, | |
139 | .wp-caption-text, | |
140 | figcaption { | |
141 | font-size: 0.9em; | |
142 | line-height: 1.48em; | |
143 | font-style: italic; | |
144 | } | |
145 | ||
146 | code, | |
147 | pre { | |
148 | white-space: pre-wrap; | |
149 | } | |
150 | ||
151 | blockquote { | |
152 | padding: 0; | |
dae45075 | 153 | padding-inline-start: 16px; |
da3c2755 RK |
154 | } |
155 | ||
156 | ul, | |
157 | ol { | |
158 | padding: 0; | |
159 | } | |
160 | ||
161 | ul { | |
dae45075 | 162 | padding-inline-start: 30px; |
da3c2755 RK |
163 | list-style: disc; |
164 | } | |
165 | ||
166 | ol { | |
dae45075 | 167 | padding-inline-start: 30px; |
da3c2755 RK |
168 | list-style: decimal; |
169 | } | |
170 | ||
171 | /* Hide elements with common "hidden" class names */ | |
172 | .visually-hidden, | |
173 | .visuallyhidden, | |
174 | .hidden, | |
175 | .invisible, | |
176 | .sr-only { | |
177 | display: none; | |
178 | } |