Last active
January 27, 2020 23:36
-
-
Save treyhuffine/35b493dafbbdc2d402646d04270e1c5b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import styled from 'styled-components'; | |
export const HeaderContainer = styled.div` | |
display: flex; | |
justify-content: space-between; | |
@media (max-width: 640px) { | |
display: ${({ isHome }) => (!isHome ? 'none' : 'flex')}; | |
flex-direction: column; | |
} | |
`; | |
export const Header = styled.div` | |
display: flex; | |
@media (max-width: 640px) { | |
flex-direction: column; | |
} | |
`; | |
export const Image = styled.img` | |
width: 200px; | |
margin-right: 1rem; | |
border-radius: 2px; | |
`; | |
export const ViewResumeLink = styled.a` | |
display: flex; | |
text-decoration: none; | |
padding: 0.75rem 1.5rem; | |
font-weight: bold; | |
align-items: center; | |
margin-top: 1rem; | |
border: 2px solid #2ecc40; | |
background-color: rgba(46, 204, 64, 0.3); | |
transition: background-color 250ms ease; | |
&:hover { | |
background-color: #2ecc40; | |
} | |
svg { | |
fill: white; | |
margin-left: 8px; | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment