|
| 1 | +html { |
| 2 | + font-size: 100%; |
| 3 | + overflow-y: scroll; |
| 4 | + -webkit-text-size-adjust: 100%; |
| 5 | + -ms-text-size-adjust: 100%; |
| 6 | +} |
| 7 | + |
| 8 | +body { |
| 9 | + color: #444; |
| 10 | + font-family: Helvetica, Arial, sans-serif; |
| 11 | + font-size: 20px; |
| 12 | + line-height: 2; |
| 13 | + padding: 1em; |
| 14 | + margin: auto; |
| 15 | + max-width: 887px; |
| 16 | + background: #fefefe; |
| 17 | +} |
| 18 | + |
| 19 | +a { |
| 20 | + color: #059; |
| 21 | + text-decoration: none; |
| 22 | +} |
| 23 | + |
| 24 | +a:visited { |
| 25 | + color: #048; |
| 26 | +} |
| 27 | + |
| 28 | +a:hover { |
| 29 | + color: #06a; |
| 30 | +} |
| 31 | + |
| 32 | +a:active { |
| 33 | + color: #06a; |
| 34 | +} |
| 35 | + |
| 36 | +a:focus { |
| 37 | + outline: thin dotted; |
| 38 | +} |
| 39 | + |
| 40 | +*::-moz-selection { |
| 41 | + background: rgba(0, 200, 255, 0.3); |
| 42 | + color: #111; |
| 43 | +} |
| 44 | + |
| 45 | +*::selection { |
| 46 | + background: rgba(0, 200, 255, 0.3); |
| 47 | + color: #111; |
| 48 | +} |
| 49 | + |
| 50 | +a::-moz-selection { |
| 51 | + background: rgba(0, 200, 255, 0.3); |
| 52 | + color: #048; |
| 53 | +} |
| 54 | + |
| 55 | +a::selection { |
| 56 | + background: rgba(0, 200, 255, 0.3); |
| 57 | + color: #048; |
| 58 | +} |
| 59 | + |
| 60 | +a > span.emoji { |
| 61 | + font-size: 30px; |
| 62 | + margin-left: 5px; |
| 63 | +} |
| 64 | + |
| 65 | +p { |
| 66 | + margin: 1em 0; |
| 67 | +} |
| 68 | + |
| 69 | +img { |
| 70 | + max-width: 100%; |
| 71 | +} |
| 72 | + |
| 73 | +h1, h2, h3, h4, h5, h6 { |
| 74 | + color: #111; |
| 75 | + line-height: 125%; |
| 76 | + margin-top: 1em; |
| 77 | + font-weight: lighter; |
| 78 | + font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif; |
| 79 | +} |
| 80 | + |
| 81 | +h4, h5, h6 { |
| 82 | + font-weight: bold; |
| 83 | +} |
| 84 | + |
| 85 | +h1 { |
| 86 | + font-size: 2.5em; |
| 87 | +} |
| 88 | + |
| 89 | +h2 { |
| 90 | + font-size: 2em; |
| 91 | +} |
| 92 | + |
| 93 | +h3 { |
| 94 | + font-size: 1.5em; |
| 95 | +} |
| 96 | + |
| 97 | +h4 { |
| 98 | + font-size: 1.2em; |
| 99 | +} |
| 100 | + |
| 101 | +h5 { |
| 102 | + font-size: 1em; |
| 103 | +} |
| 104 | + |
| 105 | +h6 { |
| 106 | + font-size: 0.9em; |
| 107 | +} |
| 108 | + |
| 109 | +blockquote { |
| 110 | + color: #666666; |
| 111 | + margin: 0; |
| 112 | + padding-left: 3em; |
| 113 | + border-left: 0.5em #EEE solid; |
| 114 | +} |
| 115 | + |
| 116 | +hr { |
| 117 | + display: block; |
| 118 | + height: 2px; |
| 119 | + border: 0; |
| 120 | + border-top: 1px solid #aaa; |
| 121 | + border-bottom: 1px solid #eee; |
| 122 | + margin: 1em 0; |
| 123 | + padding: 0; |
| 124 | +} |
| 125 | + |
| 126 | +pre, code, kbd, samp { |
| 127 | + font-family: monospace; |
| 128 | + font-size: 14px; |
| 129 | +} |
| 130 | + |
| 131 | +pre { |
| 132 | + white-space: pre; |
| 133 | + white-space: pre-wrap; |
| 134 | + word-wrap: break-word; |
| 135 | + padding: 15px; |
| 136 | +} |
| 137 | + |
| 138 | +b, strong { |
| 139 | + font-weight: bold; |
| 140 | +} |
| 141 | + |
| 142 | +p > code { |
| 143 | + font-weight: bold; |
| 144 | +} |
| 145 | + |
| 146 | +dfn { |
| 147 | + font-style: italic; |
| 148 | +} |
| 149 | + |
| 150 | +ins { |
| 151 | + background: #ff9; |
| 152 | + color: #000; |
| 153 | + text-decoration: none; |
| 154 | +} |
| 155 | + |
| 156 | +mark { |
| 157 | + background: #ff0; |
| 158 | + color: #000; |
| 159 | + font-style: italic; |
| 160 | + font-weight: bold; |
| 161 | +} |
| 162 | + |
| 163 | +sub, sup { |
| 164 | + font-size: 75%; |
| 165 | + line-height: 0; |
| 166 | + position: relative; |
| 167 | + vertical-align: baseline; |
| 168 | +} |
| 169 | + |
| 170 | +sup { |
| 171 | + top: -0.5em; |
| 172 | +} |
| 173 | + |
| 174 | +sub { |
| 175 | + bottom: -0.25em; |
| 176 | +} |
| 177 | + |
| 178 | +ul, ol { |
| 179 | + margin: 1em 0; |
| 180 | + padding: 0 0 0 2em; |
| 181 | +} |
| 182 | + |
| 183 | +li p:last-child { |
| 184 | + margin-bottom: 0; |
| 185 | +} |
| 186 | + |
| 187 | +ul ul, ol ol { |
| 188 | + margin: .3em 0; |
| 189 | +} |
| 190 | + |
| 191 | +dl { |
| 192 | + margin-bottom: 1em; |
| 193 | +} |
| 194 | + |
| 195 | +dt { |
| 196 | + font-weight: bold; |
| 197 | + margin-bottom: .8em; |
| 198 | +} |
| 199 | + |
| 200 | +dd { |
| 201 | + margin: 0 0 .8em 2em; |
| 202 | +} |
| 203 | + |
| 204 | +dd:last-child { |
| 205 | + margin-bottom: 0; |
| 206 | +} |
| 207 | + |
| 208 | +img { |
| 209 | + border: 0; |
| 210 | + -ms-interpolation-mode: bicubic; |
| 211 | + vertical-align: middle; |
| 212 | +} |
| 213 | + |
| 214 | +figure { |
| 215 | + display: block; |
| 216 | + text-align: center; |
| 217 | + margin: 1em 0; |
| 218 | +} |
| 219 | + |
| 220 | +figure img { |
| 221 | + border: none; |
| 222 | + margin: 0 auto; |
| 223 | +} |
| 224 | + |
| 225 | +figcaption { |
| 226 | + font-size: 0.8em; |
| 227 | + font-style: italic; |
| 228 | + margin: 0 0 .8em; |
| 229 | +} |
| 230 | + |
| 231 | +table { |
| 232 | + margin-bottom: 2em; |
| 233 | + border-bottom: 1px solid #ddd; |
| 234 | + border-right: 1px solid #ddd; |
| 235 | + border-spacing: 0; |
| 236 | + border-collapse: collapse; |
| 237 | +} |
| 238 | + |
| 239 | +table th { |
| 240 | + padding: .2em 1em; |
| 241 | + background-color: #eee; |
| 242 | + border-top: 1px solid #ddd; |
| 243 | + border-left: 1px solid #ddd; |
| 244 | +} |
| 245 | + |
| 246 | +table td { |
| 247 | + padding: .2em 1em; |
| 248 | + border-top: 1px solid #ddd; |
| 249 | + border-left: 1px solid #ddd; |
| 250 | + vertical-align: top; |
| 251 | +} |
| 252 | + |
| 253 | +kbd { |
| 254 | + border: 1px solid #999; |
| 255 | + padding: 5px; |
| 256 | + border-radius: 2px; |
| 257 | + background-color: #555; |
| 258 | + color: #eee; |
| 259 | + white-space: nowrap; |
| 260 | +} |
| 261 | + |
| 262 | +.author { |
| 263 | + font-size: 1.2em; |
| 264 | + text-align: center; |
| 265 | +} |
| 266 | + |
| 267 | +@media print { |
| 268 | + * { |
| 269 | + background: transparent !important; |
| 270 | + color: black !important; |
| 271 | + filter: none !important; |
| 272 | + -ms-filter: none !important; |
| 273 | + } |
| 274 | + |
| 275 | + body { |
| 276 | + font-size: 12pt; |
| 277 | + max-width: 100%; |
| 278 | + } |
| 279 | + |
| 280 | + a, a:visited { |
| 281 | + text-decoration: underline; |
| 282 | + } |
| 283 | + |
| 284 | + hr { |
| 285 | + height: 1px; |
| 286 | + border: 0; |
| 287 | + border-bottom: 1px solid black; |
| 288 | + } |
| 289 | + |
| 290 | + a[href]:after { |
| 291 | + content: " (" attr(href) ")"; |
| 292 | + } |
| 293 | + |
| 294 | + abbr[title]:after { |
| 295 | + content: " (" attr(title) ")"; |
| 296 | + } |
| 297 | + |
| 298 | + .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { |
| 299 | + content: ""; |
| 300 | + } |
| 301 | + |
| 302 | + pre, blockquote { |
| 303 | + border: 1px solid #999; |
| 304 | + padding-right: 1em; |
| 305 | + page-break-inside: avoid; |
| 306 | + } |
| 307 | + |
| 308 | + tr, img { |
| 309 | + page-break-inside: avoid; |
| 310 | + } |
| 311 | + |
| 312 | + img { |
| 313 | + max-width: 100% !important; |
| 314 | + } |
| 315 | + |
| 316 | + @page :left { |
| 317 | + margin: 15mm 20mm 15mm 10mm; |
| 318 | +} |
| 319 | + |
| 320 | + @page :right { |
| 321 | + margin: 15mm 10mm 15mm 20mm; |
| 322 | +} |
| 323 | + |
| 324 | + p, h2, h3 { |
| 325 | + orphans: 3; |
| 326 | + widows: 3; |
| 327 | + } |
| 328 | + |
| 329 | + h2, h3 { |
| 330 | + page-break-after: avoid; |
| 331 | + } |
| 332 | +} |
0 commit comments