| 1 |
.button { |
| 2 |
appearance: none; |
| 3 |
display: block; |
| 4 |
cursor: pointer; |
| 5 |
padding: 0.888em; |
| 6 |
border-radius: 9999px; |
| 7 |
border-width: 0.125rem; |
| 8 |
border-style: solid; |
| 9 |
border-color: #66bb6a; |
| 10 |
background-color: #66bb6a; |
| 11 |
color: #fff; |
| 12 |
font-weight: 700; |
| 13 |
font-size: 1.125rem; |
| 14 |
text-align: center; |
| 15 |
text-decoration: none; |
| 16 |
line-height: 1; |
| 17 |
letter-spacing: -0.0278em; |
| 18 |
transition-duration: 200ms; |
| 19 |
transition-property: filter, color, background-color, text-shadow, box-shadow; |
| 20 |
transition-timing-function: ease; |
| 21 |
} |
| 22 |
|
| 23 |
.shadow { |
| 24 |
box-shadow: 0 2px 10px 0 rgba(105, 184, 107, 0.6); |
| 25 |
} |
| 26 |
|
| 27 |
.button:hover, |
| 28 |
.button:active, |
| 29 |
.button:focus { |
| 30 |
text-shadow: 0 0 0.125em rgba(0, 0, 0, 0.3); |
| 31 |
filter: brightness(115%); |
| 32 |
color: #fff; |
| 33 |
} |
| 34 |
|
| 35 |
.button:focus { |
| 36 |
box-shadow: 0 0 0.0625em 0.25em rgba(102, 187, 106, 0.4); |
| 37 |
} |
| 38 |
|