Roman Elizarov | 5459c10 | 2020-08-11 12:27:36 +0300 | [diff] [blame] | 1 | @import url("//fonts.googleapis.com/css?family=Open+Sans:300,300italic,400italic,700italic,400,700"); |
| 2 | |
| 3 | body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure { |
| 4 | margin: 0; |
| 5 | padding: 0; |
| 6 | } |
| 7 | |
| 8 | body { |
| 9 | font: 400 14px/20px "Open Sans", Helvetica, Arial, sans-serif; |
| 10 | color: #111; |
| 11 | background-color: #fdfdfd; |
| 12 | -webkit-text-size-adjust: 100%; |
| 13 | -webkit-font-feature-settings: "kern" 1; |
| 14 | -moz-font-feature-settings: "kern" 1; |
| 15 | -o-font-feature-settings: "kern" 1; |
| 16 | font-feature-settings: "kern" 1; |
| 17 | font-kerning: normal; |
| 18 | } |
| 19 | |
| 20 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure { |
| 21 | margin-bottom: 15px; |
| 22 | } |
| 23 | |
| 24 | ul, ol { |
| 25 | margin-left: 30px; |
| 26 | } |
| 27 | |
| 28 | li > ul, li > ol { |
| 29 | margin-bottom: 0; |
| 30 | } |
| 31 | |
| 32 | a { |
| 33 | color: #2a7ae2; |
| 34 | text-decoration: none; |
| 35 | } |
| 36 | |
| 37 | a:visited { |
| 38 | color: #1756a9; |
| 39 | } |
| 40 | |
| 41 | a:hover { |
| 42 | color: #111; |
| 43 | text-decoration: underline; |
| 44 | } |
| 45 | |
| 46 | blockquote { |
| 47 | color: #828282; |
| 48 | border-left: 4px solid #e8e8e8; |
| 49 | padding-left: 15px; |
| 50 | font-size: 18px; |
| 51 | letter-spacing: -1px; |
| 52 | font-style: italic; |
| 53 | } |
| 54 | |
| 55 | blockquote > :last-child { |
| 56 | margin-bottom: 0; |
| 57 | } |
| 58 | |
| 59 | body { |
| 60 | -webkit-font-smoothing: antialiased; |
| 61 | font-smoothing: antialiased; |
| 62 | text-rendering: optimizeLegibility; |
| 63 | max-width: -webkit-calc(800px - (30px * 2)); |
| 64 | max-width: calc(800px - (30px * 2)); |
| 65 | margin-right: auto; |
| 66 | margin-left: auto; |
| 67 | padding-right: 30px; |
| 68 | padding-left: 30px; |
| 69 | } |
| 70 | |
| 71 | a { |
| 72 | text-decoration: underline; |
| 73 | } |
| 74 | |
| 75 | h1 { |
| 76 | margin-top: 30px; |
| 77 | margin-bottom: 15px; |
| 78 | font-size: 30px; |
| 79 | line-height: 33px; |
| 80 | } |
| 81 | |
| 82 | h1:first-of-type { |
| 83 | margin-top: 0; |
| 84 | margin-bottom: 30px; |
| 85 | } |
| 86 | |
| 87 | @media print { |
| 88 | h1 { |
| 89 | page-break-before: always; |
| 90 | page-break-after: avoid; |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | h2 { |
| 95 | margin-top: 30px; |
| 96 | margin-bottom: 15px; |
| 97 | font-size: 24px; |
| 98 | line-height: 27px; |
| 99 | } |
| 100 | |
| 101 | h2:first-of-type { |
| 102 | margin-top: 0; |
| 103 | } |
| 104 | |
| 105 | @media print { |
| 106 | h2 { |
| 107 | page-break-after: avoid; |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | h3 { |
| 112 | margin-top: 30px; |
| 113 | margin-bottom: 15px; |
| 114 | font-size: 19px; |
| 115 | line-height: 22px; |
| 116 | } |
| 117 | |
| 118 | @media print { |
| 119 | h3 { |
| 120 | page-break-after: avoid; |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | caption { |
| 125 | margin: 0; |
| 126 | } |
| 127 | |
| 128 | table { |
| 129 | margin-bottom: 30px; |
| 130 | line-height: inherit; |
| 131 | font-size: inherit; |
| 132 | border: 1px solid #dcdcdc; |
| 133 | border-collapse: collapse; |
| 134 | border-spacing: 0; |
| 135 | } |
| 136 | |
| 137 | table thead { |
| 138 | background-color: #F7F7F7; |
| 139 | border-bottom-width: 2px; |
| 140 | } |
| 141 | |
| 142 | table tfoot { |
| 143 | color: #ccc; |
| 144 | } |
| 145 | |
| 146 | table tfoot tr { |
| 147 | border-bottom: none; |
| 148 | } |
| 149 | |
| 150 | table tr { |
| 151 | border-bottom: 1px solid #dcdcdc; |
| 152 | } |
| 153 | |
| 154 | table th { |
| 155 | padding-top: 10px; |
| 156 | padding-bottom: 6px; |
| 157 | text-align: left; |
| 158 | font-weight: bold; |
| 159 | } |
| 160 | |
| 161 | table th, table td { |
| 162 | padding: 6px 10px; |
| 163 | vertical-align: top; |
| 164 | } |
| 165 | |
| 166 | table th:first-child, table td:first-child { |
| 167 | padding-left: 12px; |
| 168 | } |
| 169 | |
| 170 | table th:last-child, table td:last-child { |
| 171 | padding-right: 12px; |
| 172 | } |
| 173 | |
| 174 | table p:last-child, table pre:last-child { |
| 175 | margin-bottom: 0; |
| 176 | } |
| 177 | |
| 178 | pre { |
| 179 | background-color: #efefef; |
| 180 | overflow: auto; |
| 181 | } |
| 182 | |
| 183 | code { |
| 184 | font-family: "Liberation Mono", Consolas, Menlo, Courier, monospace; |
| 185 | font-style: normal; |
| 186 | } |
| 187 | |
| 188 | code :target { |
| 189 | background-color: #FFFFCC; |
| 190 | } |
| 191 | |
| 192 | body > code, td > code { |
| 193 | display: block; |
| 194 | background-color: #efefef; |
| 195 | padding: 4px; |
| 196 | } |
| 197 | |
| 198 | .keyword { |
| 199 | font-family: "Liberation Mono", Consolas, Menlo, Courier, monospace; |
| 200 | font-style: normal; |
| 201 | color: #0000C0; |
| 202 | } |
| 203 | |
| 204 | .symbol { |
| 205 | font-family: "Liberation Mono", Consolas, Menlo, Courier, monospace; |
| 206 | font-style: normal; |
| 207 | } |
| 208 | |
| 209 | .identifier { |
| 210 | font-family: "Liberation Mono", Consolas, Menlo, Courier, monospace; |
| 211 | font-style: normal; |
| 212 | color: darkblue; |
| 213 | } |