-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b247785
commit 1d3eb6c
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import styled, {css, keyframes} from 'styled-components'; | ||
|
||
export const StyledDivButton = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
margin-top: 5rem; | ||
color: white; | ||
margin-bottom: 5rem; | ||
${props => props.Primary && css` | ||
background: rgb(235, 183, 65); | ||
`} | ||
`; | ||
|
||
export const StyledButtonH2 = styled.h2` | ||
padding-bottom: 1%; | ||
`; | ||
|
||
const personalbtn = keyframes` | ||
0% { | ||
left: 250%; | ||
} | ||
100% { | ||
left: 0%; | ||
} | ||
`; | ||
export const StyledButtonATag = styled.a` | ||
border: 2px solid #204740; | ||
box-sizing: inherit; | ||
cursor: pointer; | ||
display: inline-block; | ||
font-size: 1.8em; | ||
margin-bottom: 10px; | ||
padding: 10px 20px; | ||
background-color: transparent; | ||
transition: all 0.5s; | ||
text-decoration: none; | ||
left: 35%; | ||
overflow: hidden; | ||
animation: ${personalbtn} 10s steps(1) -1s normal; | ||
color: #fff; | ||
border-color: #fff; | ||
&:hover { | ||
text-decoration: none; | ||
border-color: #206a5d; | ||
background-color: #204740; | ||
color: #fff; | ||
} | ||
`; | ||
|