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 | ||
11 | h1, | |
12 | h2, | |
13 | h3 { | |
14 | font-weight: bold; | |
15 | } | |
16 | ||
17 | h1 { | |
18 | font-size: 1.6em; | |
19 | line-height: 1.25em; | |
20 | } | |
21 | ||
22 | h2 { | |
23 | font-size: 1.2em; | |
24 | line-height: 1.51em; | |
25 | } | |
26 | ||
27 | h3 { | |
28 | font-size: 1em; | |
29 | line-height: 1.66em; | |
30 | } | |
31 | ||
32 | a { | |
33 | text-decoration: underline; | |
34 | font-weight: normal; | |
35 | } | |
36 | ||
37 | a, | |
38 | a:visited, | |
39 | a:hover, | |
40 | a:active { | |
41 | color: #0095dd; | |
42 | } | |
43 | ||
44 | * { | |
45 | max-width: 100%; | |
46 | height: auto; | |
47 | } | |
48 | ||
49 | p, | |
50 | code, | |
51 | pre, | |
52 | blockquote, | |
53 | ul, | |
54 | ol, | |
55 | li, | |
56 | figure, | |
57 | .wp-caption { | |
58 | margin: 0 0 30px 0; | |
59 | } | |
60 | ||
61 | p > img:only-child, | |
62 | p > a:only-child > img:only-child, | |
63 | .wp-caption img, | |
64 | figure img { | |
65 | display: block; | |
66 | } | |
67 | ||
68 | img[moz-reader-center] { | |
69 | margin-left: auto; | |
70 | margin-right: auto; | |
71 | } | |
72 | ||
73 | .caption, | |
74 | .wp-caption-text, | |
75 | figcaption { | |
76 | font-size: 0.9em; | |
77 | line-height: 1.48em; | |
78 | font-style: italic; | |
79 | } | |
80 | ||
81 | code, | |
82 | pre { | |
83 | white-space: pre-wrap; | |
84 | } | |
85 | ||
86 | blockquote { | |
87 | padding: 0; | |
88 | -moz-padding-start: 16px; | |
89 | } | |
90 | ||
91 | ul, | |
92 | ol { | |
93 | padding: 0; | |
94 | } | |
95 | ||
96 | ul { | |
97 | -moz-padding-start: 30px; | |
98 | list-style: disc; | |
99 | } | |
100 | ||
101 | ol { | |
102 | -moz-padding-start: 30px; | |
103 | list-style: decimal; | |
104 | } | |
105 | ||
106 | /* Hide elements with common "hidden" class names */ | |
107 | .visually-hidden, | |
108 | .visuallyhidden, | |
109 | .hidden, | |
110 | .invisible, | |
111 | .sr-only { | |
112 | display: none; | |
113 | } |