| 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: -10px -10px 20px -10px; |
| 59 | padding: 10px; |
| 60 | border-radius: 5px; |
| 61 | } |
| 62 | |
| 63 | p > img:only-child, |
| 64 | p > a:only-child > img:only-child, |
| 65 | .wp-caption img, |
| 66 | figure img { |
| 67 | display: block; |
| 68 | } |
| 69 | |
| 70 | img[moz-reader-center] { |
| 71 | margin-left: auto; |
| 72 | margin-right: auto; |
| 73 | } |
| 74 | |
| 75 | .caption, |
| 76 | .wp-caption-text, |
| 77 | figcaption { |
| 78 | font-size: 0.9em; |
| 79 | line-height: 1.48em; |
| 80 | font-style: italic; |
| 81 | } |
| 82 | |
| 83 | code, |
| 84 | pre { |
| 85 | white-space: pre-wrap; |
| 86 | } |
| 87 | |
| 88 | blockquote { |
| 89 | padding: 0; |
| 90 | -moz-padding-start: 16px; |
| 91 | } |
| 92 | |
| 93 | ul, |
| 94 | ol { |
| 95 | padding: 0; |
| 96 | } |
| 97 | |
| 98 | ul { |
| 99 | -moz-padding-start: 30px; |
| 100 | list-style: disc; |
| 101 | } |
| 102 | |
| 103 | ol { |
| 104 | -moz-padding-start: 30px; |
| 105 | list-style: decimal; |
| 106 | } |
| 107 | |
| 108 | /* Hide elements with common "hidden" class names */ |
| 109 | .visually-hidden, |
| 110 | .visuallyhidden, |
| 111 | .hidden, |
| 112 | .invisible, |
| 113 | .sr-only { |
| 114 | display: none; |
| 115 | } |