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