| 1 |
* { |
| 2 |
box-sizing: border-box; |
| 3 |
} |
| 4 |
html { |
| 5 |
font-size: 62.5%; |
| 6 |
} |
| 7 |
html, |
| 8 |
body { |
| 9 |
background: #fff; |
| 10 |
margin: 0 auto; |
| 11 |
width: 100%; |
| 12 |
height: 100%; |
| 13 |
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif; |
| 14 |
color: #181818; |
| 15 |
} |
| 16 |
body { |
| 17 |
font-size: 16px; |
| 18 |
} |
| 19 |
h1 { |
| 20 |
font-size: 30px; |
| 21 |
margin: 0 auto 20px; |
| 22 |
padding: 3px; |
| 23 |
} |
| 24 |
@media (min-width: 768px) { |
| 25 |
h1 { |
| 26 |
font-size: 60px; |
| 27 |
margin: 0 auto 40px; |
| 28 |
} |
| 29 |
} |
| 30 |
p, |
| 31 |
main li { |
| 32 |
font-size: 16px; |
| 33 |
color: #181818; |
| 34 |
text-align: left; |
| 35 |
} |
| 36 |
p, |
| 37 |
main ul { |
| 38 |
margin: 0 auto 30px; |
| 39 |
} |
| 40 |
@media (min-width: 768px) { |
| 41 |
p, |
| 42 |
main ul { |
| 43 |
margin: 0 auto 50px; |
| 44 |
} |
| 45 |
} |
| 46 |
main ul { |
| 47 |
display: block; |
| 48 |
padding: 0; |
| 49 |
list-style-type: none; |
| 50 |
} |
| 51 |
main ul li { |
| 52 |
display: block; |
| 53 |
padding: 0 0 0 20px; |
| 54 |
position: relative; |
| 55 |
margin: 0 0 10px; |
| 56 |
} |
| 57 |
@media (min-width: 768px) { |
| 58 |
main ul li { |
| 59 |
margin: 0 0 20px; |
| 60 |
} |
| 61 |
} |
| 62 |
main ul li:before { |
| 63 |
content: ''; |
| 64 |
height: 2px; |
| 65 |
width: 10px; |
| 66 |
background: #00a2fe; |
| 67 |
display: block; |
| 68 |
position: absolute; |
| 69 |
left: 0; |
| 70 |
top: 10px; |
| 71 |
} |
| 72 |
.u-color-blue { |
| 73 |
color: #00a2fe !important; |
| 74 |
} |
| 75 |
.u-color-purple { |
| 76 |
color: #733df9 !important; |
| 77 |
} |
| 78 |
h1 span, |
| 79 |
p span, |
| 80 |
li span { |
| 81 |
display: inline-block; |
| 82 |
overflow: hidden; |
| 83 |
vertical-align: middle; |
| 84 |
} |
| 85 |
h1 span > span, |
| 86 |
p span > span, |
| 87 |
li span > span { |
| 88 |
display: block; |
| 89 |
animation: slideUp 0.8s cubic-bezier(0.075, 0.82, 0.165, 1) forwards; |
| 90 |
transform: translate3d(0, 100%, 0); |
| 91 |
} |
| 92 |
html.is-changing .transition-default { |
| 93 |
transition: 0.1s; |
| 94 |
opacity: 1; |
| 95 |
} |
| 96 |
html.is-animating .transition-default { |
| 97 |
opacity: 0; |
| 98 |
} |
| 99 |
.transition-default.is-changing { |
| 100 |
transition: 0.1s; |
| 101 |
opacity: 1; |
| 102 |
} |
| 103 |
.transition-default.is-animating { |
| 104 |
opacity: 0; |
| 105 |
} |
| 106 |
.wrapper { |
| 107 |
width: 100%; |
| 108 |
text-align: center; |
| 109 |
display: flex; |
| 110 |
justify-content: flex-start; |
| 111 |
align-items: center; |
| 112 |
flex-direction: column; |
| 113 |
margin: 0; |
| 114 |
padding: 40px 20px; |
| 115 |
} |
| 116 |
.wrapper-inner { |
| 117 |
max-width: 600px; |
| 118 |
margin: 0 auto; |
| 119 |
} |
| 120 |
.button { |
| 121 |
display: inline-block; |
| 122 |
text-transform: uppercase; |
| 123 |
line-height: 1.4; |
| 124 |
padding: 16px 30px; |
| 125 |
border-radius: 4px; |
| 126 |
text-decoration: none; |
| 127 |
cursor: pointer; |
| 128 |
text-align: center; |
| 129 |
min-width: 160px; |
| 130 |
font-weight: 700; |
| 131 |
font-size: 15px; |
| 132 |
margin: 0 1px 10px; |
| 133 |
} |
| 134 |
@media (min-width: 768px) { |
| 135 |
.button { |
| 136 |
margin: 0 10px 10px; |
| 137 |
} |
| 138 |
} |
| 139 |
.button--white { |
| 140 |
background: #fff; |
| 141 |
border: 1px solid #181818; |
| 142 |
color: #181818; |
| 143 |
margin: 0; |
| 144 |
} |
| 145 |
.button--blue { |
| 146 |
border: 2px solid #00a2fe; |
| 147 |
background: #00a2fe; |
| 148 |
color: #fff; |
| 149 |
box-shadow: 0 16px 10px -10px rgba(0,162,254,0.6); |
| 150 |
} |
| 151 |
.button--blue:active { |
| 152 |
box-shadow: 0 14px 10px -10px rgba(0,162,254,0.6); |
| 153 |
} |
| 154 |
.button--blue-border { |
| 155 |
border: 2px solid #00a2fe; |
| 156 |
background: #fff; |
| 157 |
color: #00a2fe; |
| 158 |
box-shadow: 0 16px 10px -10px rgba(0,162,254,0.2); |
| 159 |
} |
| 160 |
.button--blue-border:active { |
| 161 |
box-shadow: 0 14px 10px -10px rgba(0,162,254,0.2); |
| 162 |
} |
| 163 |
.button--purple { |
| 164 |
border: 2px solid #733df9; |
| 165 |
background: #733df9; |
| 166 |
color: #fff; |
| 167 |
box-shadow: 0 16px 10px -10px rgba(115,61,249,0.6); |
| 168 |
} |
| 169 |
.button--purple:active { |
| 170 |
box-shadow: 0 14px 10px -10px rgba(115,61,249,0.6); |
| 171 |
} |
| 172 |
.button--purple-border { |
| 173 |
border: 2px solid #733df9; |
| 174 |
background: #fff; |
| 175 |
color: #733df9; |
| 176 |
box-shadow: 0 16px 10px -10px rgba(115,61,249,0.2); |
| 177 |
} |
| 178 |
.button--purple-border:active { |
| 179 |
box-shadow: 0 14px 10px -10px rgba(115,61,249,0.2); |
| 180 |
} |
| 181 |
.button--fade { |
| 182 |
opacity: 1; |
| 183 |
transition: opacity 0.3s 1s; |
| 184 |
} |
| 185 |
html.is-animating .button--fade { |
| 186 |
transition: opacity 0.3s 0s; |
| 187 |
opacity: 0; |
| 188 |
} |
| 189 |
.button:active { |
| 190 |
transform: scale(0.98); |
| 191 |
} |
| 192 |
.increment { |
| 193 |
display: block; |
| 194 |
width: 200px; |
| 195 |
margin: 0 auto 20px; |
| 196 |
} |
| 197 |
@media (min-width: 768px) { |
| 198 |
.increment { |
| 199 |
margin: 0 auto 50px; |
| 200 |
} |
| 201 |
} |
| 202 |
.increment__display { |
| 203 |
display: block; |
| 204 |
border: 2px solid #ddd; |
| 205 |
background: #fff; |
| 206 |
margin: 0 auto 20px; |
| 207 |
appearance: none; |
| 208 |
border-radius: 4px; |
| 209 |
width: 100%; |
| 210 |
} |
| 211 |
.increment__display { |
| 212 |
height: 100px; |
| 213 |
display: flex; |
| 214 |
justify-content: center; |
| 215 |
align-items: center; |
| 216 |
font-size: 60px; |
| 217 |
} |
| 218 |
@media (min-width: 768px) { |
| 219 |
.increment__display { |
| 220 |
height: 160px; |
| 221 |
font-size: 100px; |
| 222 |
} |
| 223 |
} |
| 224 |
.increment__button { |
| 225 |
width: 100%; |
| 226 |
} |
| 227 |
.header { |
| 228 |
position: fixed; |
| 229 |
top: 0; |
| 230 |
left: 0; |
| 231 |
right: 0; |
| 232 |
padding: 10px; |
| 233 |
z-index: 100; |
| 234 |
} |
| 235 |
@media (min-width: 768px) { |
| 236 |
.header { |
| 237 |
padding: 20px; |
| 238 |
} |
| 239 |
} |
| 240 |
.header ul { |
| 241 |
padding: 0; |
| 242 |
margin: 0; |
| 243 |
display: block; |
| 244 |
float: right; |
| 245 |
} |
| 246 |
.header li { |
| 247 |
display: inline-block; |
| 248 |
vertical-align: top; |
| 249 |
margin: 0 10px; |
| 250 |
text-align: center; |
| 251 |
} |
| 252 |
.header li > .github-button, |
| 253 |
.header li > span { |
| 254 |
display: inline-block; |
| 255 |
margin: 4px 0 0; |
| 256 |
} |
| 257 |
.header a { |
| 258 |
color: #181818; |
| 259 |
text-decoration: none; |
| 260 |
font-weight: 700; |
| 261 |
} |
| 262 |
@keyframes slideUp { |
| 263 |
0% { |
| 264 |
transform: translate3d(0, 100%, 0); |
| 265 |
} |
| 266 |
100% { |
| 267 |
transform: translate3d(0, 0, 0); |
| 268 |
} |
| 269 |
} |