Commit 2a5462f798
Unsigned
Layout: unified · split
theme/static/styles.css +5 −60
| @@ -16,14 +16,6 @@ html { | ||
| 16 | 16 | /* Sections |
| 17 | 17 | ========================================================================== */ |
| 18 | 18 | |
| 19 | /** | |
| 20 | * Remove the margin in all browsers. | |
| 21 | */ | |
| 22 | ||
| 23 | body { | |
| 24 | margin: 0; | |
| 25 | } | |
| 26 | ||
| 27 | 19 | /** |
| 28 | 20 | * Render the `main` element consistently in IE. |
| 29 | 21 | */ |
| @@ -56,16 +48,6 @@ hr { | ||
| 56 | 48 | overflow: visible; /* 2 */ |
| 57 | 49 | } |
| 58 | 50 | |
| 59 | /** | |
| 60 | * 1. Correct the inheritance and scaling of font size in all browsers. | |
| 61 | * 2. Correct the odd `em` font sizing in all browsers. | |
| 62 | */ | |
| 63 | ||
| 64 | pre { | |
| 65 | font-family: monospace, monospace; /* 1 */ | |
| 66 | font-size: 1em; /* 2 */ | |
| 67 | } | |
| 68 | ||
| 69 | 51 | /* Text-level semantics |
| 70 | 52 | ========================================================================== */ |
| 71 | 53 | |
| @@ -97,18 +79,6 @@ strong { | ||
| 97 | 79 | font-weight: bolder; |
| 98 | 80 | } |
| 99 | 81 | |
| 100 | /** | |
| 101 | * 1. Correct the inheritance and scaling of font size in all browsers. | |
| 102 | * 2. Correct the odd `em` font sizing in all browsers. | |
| 103 | */ | |
| 104 | ||
| 105 | code, | |
| 106 | kbd, | |
| 107 | samp { | |
| 108 | font-family: monospace, monospace; /* 1 */ | |
| 109 | font-size: 1em; /* 2 */ | |
| 110 | } | |
| 111 | ||
| 112 | 82 | /** |
| 113 | 83 | * Add the correct font size in all browsers. |
| 114 | 84 | */ |
| @@ -138,17 +108,6 @@ sup { | ||
| 138 | 108 | top: -0.5em; |
| 139 | 109 | } |
| 140 | 110 | |
| 141 | /* Embedded content | |
| 142 | ========================================================================== */ | |
| 143 | ||
| 144 | /** | |
| 145 | * Remove the border on images inside links in IE 10. | |
| 146 | */ | |
| 147 | ||
| 148 | img { | |
| 149 | border-style: none; | |
| 150 | } | |
| 151 | ||
| 152 | 111 | /* Forms |
| 153 | 112 | ========================================================================== */ |
| 154 | 113 | |
| @@ -312,25 +271,6 @@ textarea { | ||
| 312 | 271 | font: inherit; /* 2 */ |
| 313 | 272 | } |
| 314 | 273 | |
| 315 | /* Interactive | |
| 316 | ========================================================================== */ | |
| 317 | ||
| 318 | /* | |
| 319 | * Add the correct display in Edge, IE 10+, and Firefox. | |
| 320 | */ | |
| 321 | ||
| 322 | details { | |
| 323 | display: block; | |
| 324 | } | |
| 325 | ||
| 326 | /* | |
| 327 | * Add the correct display in all browsers. | |
| 328 | */ | |
| 329 | ||
| 330 | summary { | |
| 331 | display: list-item; | |
| 332 | } | |
| 333 | ||
| 334 | 274 | /* Misc |
| 335 | 275 | ========================================================================== */ |
| 336 | 276 | |
| @@ -378,6 +318,7 @@ body { | ||
| 378 | 318 | monospace; |
| 379 | 319 | font-size: 0.9rem; |
| 380 | 320 | line-height: 1.5; |
| 321 | margin: 0; | |
| 381 | 322 | max-width: 50em; |
| 382 | 323 | margin: 0 auto; |
| 383 | 324 | padding: 0 1rem; |
| @@ -435,6 +376,7 @@ a:hover { | ||
| 435 | 376 | } |
| 436 | 377 | |
| 437 | 378 | img { |
| 379 | border-style: none; | |
| 438 | 380 | width: 100%; |
| 439 | 381 | } |
| 440 | 382 | |
| @@ -460,6 +402,7 @@ td { | ||
| 460 | 402 | padding: 0.25rem; |
| 461 | 403 | } |
| 462 | 404 | |
| 405 | pre, | |
| 463 | 406 | pre > code, |
| 464 | 407 | time, |
| 465 | 408 | code { |
| @@ -539,10 +482,12 @@ blockquote p { | ||
| 539 | 482 | } |
| 540 | 483 | |
| 541 | 484 | details { |
| 485 | display: block; | |
| 542 | 486 | margin-top: 1rem; |
| 543 | 487 | } |
| 544 | 488 | |
| 545 | 489 | summary { |
| 490 | display: list-item; | |
| 546 | 491 | font-weight: bold; |
| 547 | 492 | } |
| 548 | 493 | |