forked from etoiledebethleem/website
34 lines
718 B
SCSS
34 lines
718 B
SCSS
.button {
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
background-color: $accent;
|
|
color: white;
|
|
padding: 1rem 2.5rem;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
user-select: none;
|
|
min-width: 10rem;
|
|
font-size: 1.2rem;
|
|
border: 0;
|
|
border-radius: 2px;
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
border: 1px solid transparent;
|
|
&:hover {
|
|
opacity: 0.8;
|
|
background-color: lighten($accent, 14%);
|
|
color: black;
|
|
border: 1px solid rgba(0.5, 0.5, 0.5, 0.3);
|
|
border-style: inset;
|
|
}
|
|
}
|
|
|
|
.button.button-transparent {
|
|
background-color: transparent;
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
color: white;
|
|
}
|
|
}
|