|
| 1 | +@import "//fonts.googleapis.com/css?family=Montserrat:700"; |
| 2 | +@import "//fonts.googleapis.com/css?family=Inconsolata:400,700"; |
| 3 | + |
| 4 | +html { |
| 5 | + font: 16px/1.3 Inconsolata, sans-serif |
| 6 | +} |
| 7 | + |
| 8 | +@media(min-width:30rem) { |
| 9 | + html { |
| 10 | + font-size: 20px |
| 11 | + } |
| 12 | +} |
| 13 | + |
| 14 | +body { |
| 15 | + margin: 2rem 0 5rem; |
| 16 | + color: #333; |
| 17 | + animation: fadeIn 1.4s ease 0s 1 normal; |
| 18 | + -webkit-animation: fadeIn 1.4s ease 0s 1 normal; |
| 19 | +} |
| 20 | + |
| 21 | +@media(min-width:30rem) { |
| 22 | + body { |
| 23 | + margin-top: 5rem |
| 24 | + } |
| 25 | +} |
| 26 | + |
| 27 | +@keyframes fadeIn { |
| 28 | + 0% {opacity: 0} |
| 29 | + 100% {opacity: 1} |
| 30 | +} |
| 31 | + |
| 32 | +@-webkit-keyframes fadeIn { |
| 33 | + 0% {opacity: 0} |
| 34 | + 100% {opacity: 1} |
| 35 | +} |
| 36 | + |
| 37 | +a { |
| 38 | + color: #0074d9; |
| 39 | + text-decoration: none |
| 40 | +} |
| 41 | + |
| 42 | +a:hover, a:focus { |
| 43 | + text-decoration: underline |
| 44 | +} |
| 45 | + |
| 46 | +h1, h2, h3, h4, h5, h6 { |
| 47 | + font-family: Montserrat, sans-serif; |
| 48 | + margin: 0 0 .5rem -.1rem; |
| 49 | + line-height: 1; |
| 50 | + color: #111; |
| 51 | + text-rendering: optimizeLegibility |
| 52 | +} |
| 53 | + |
| 54 | +h1 { |
| 55 | + font-size: 2.5rem; |
| 56 | + margin-bottom: 1rem |
| 57 | +} |
| 58 | + |
| 59 | +@media(min-width:30rem) { |
| 60 | + h1 { |
| 61 | + font-size: 3rem; |
| 62 | + margin-bottom: 3rem |
| 63 | + } |
| 64 | +} |
| 65 | + |
| 66 | +h1 a { |
| 67 | + color: inherit |
| 68 | +} |
| 69 | + |
| 70 | +h2 { |
| 71 | + margin-top: 2rem; |
| 72 | + font-size: 1.25rem; |
| 73 | + margin-bottom: .75rem |
| 74 | +} |
| 75 | + |
| 76 | +@media(min-width:30rem) { |
| 77 | + h2 { |
| 78 | + margin-top: 2.5rem; |
| 79 | + font-size: 1.5rem; |
| 80 | + margin-bottom: 1rem |
| 81 | + } |
| 82 | +} |
| 83 | + |
| 84 | +h3, h4, h5, h6 { |
| 85 | + margin-top: 1.5rem; |
| 86 | + font-size: 1rem; |
| 87 | + text-transform: uppercase |
| 88 | +} |
| 89 | + |
| 90 | +p, ul, ol, dl, table, pre, blockquote { |
| 91 | + margin-top: 0; |
| 92 | + margin-bottom: 1rem |
| 93 | +} |
| 94 | + |
| 95 | +ul, ol { |
| 96 | + padding-left: 1.5rem |
| 97 | +} |
| 98 | + |
| 99 | +dd { |
| 100 | + margin-left: 1.5rem |
| 101 | +} |
| 102 | + |
| 103 | +blockquote { |
| 104 | + margin-left: 0; |
| 105 | + margin-right: 0; |
| 106 | + padding: .5rem 1rem; |
| 107 | + border-left: .25rem solid #ccc; |
| 108 | + color: #666 |
| 109 | +} |
| 110 | + |
| 111 | +blockquote p:last-child { |
| 112 | + margin-bottom: 0 |
| 113 | +} |
| 114 | + |
| 115 | +hr { |
| 116 | + border: none; |
| 117 | + margin: 1.5rem 0; |
| 118 | + border-bottom: 1px solid #ccc; |
| 119 | + position: relative; |
| 120 | + top: -1px |
| 121 | +} |
| 122 | + |
| 123 | +.container img, .container iframe { |
| 124 | + max-width: 100% |
| 125 | +} |
| 126 | + |
| 127 | +.container img { |
| 128 | + margin: 0 auto; |
| 129 | + display: block |
| 130 | +} |
| 131 | + |
| 132 | +table { |
| 133 | + width: 100%; |
| 134 | + border: 1px solid #ccc; |
| 135 | + border-collapse: collapse |
| 136 | +} |
| 137 | + |
| 138 | +td, th { |
| 139 | + padding: .25rem .5rem; |
| 140 | + border: 1px solid #ccc |
| 141 | +} |
| 142 | + |
| 143 | +pre, code { |
| 144 | + font-family: inherit; |
| 145 | + background-color: #eee |
| 146 | +} |
| 147 | + |
| 148 | +pre { |
| 149 | + padding: .5rem 1rem; |
| 150 | + font-size: .8rem; |
| 151 | + font: 16px/1.5 Inconsolata, sans-serif |
| 152 | +} |
| 153 | + |
| 154 | +code { |
| 155 | + padding: .1rem .25rem |
| 156 | +} |
| 157 | + |
| 158 | +pre > code { |
| 159 | + padding: 0 |
| 160 | +} |
| 161 | + |
| 162 | +.container { |
| 163 | + max-width: 30rem; |
| 164 | + margin: 0 auto; |
| 165 | + padding: 0 1rem |
| 166 | +} |
0 commit comments