Skip to content

Commit

Permalink
#38 header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
samgildea committed Apr 6, 2021
1 parent 317707d commit 0712203
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions src/components/header/header-styles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import styled from "styled-components"
import dimensions from "../../style/dimensions"
import colors from "../../style/colors"

export const NavContainer = styled.div`
z-index: 1;
background-color: ${colors.gray_image};
padding-bottom: 32px;
&.colorChange {
background-color: ${colors.gray_CTA};
}
position: fixed;
width: 100%;
transition: 0.5s all ease;
`

export const Logo = styled.div`
font-weight: bold;
font-size: 24px;
padding-top: 32px;
padding-left: 80px;
@media (max-width: ${dimensions.maxwidthTablet}px) {
text-align: center;
font-size: 20px;
padding-top: 24px;
padding-left: 0px;
}
`

export const NavLinks = styled.div`
position: absolute;
right: 80px;
top: 40px;
display: flex;
@media (max-width: ${dimensions.maxwidthTablet}px) {
display: none;
}
`

export const NavLink = styled.div`
font-weight: bold;
padding-left: 100px;
text-decoration: none;
color: ${colors.black900};
`

export const MobileIcon = styled.div`
@media (min-width: ${dimensions.maxwidthTablet}px) {
display: none;
}
@media (max-width: ${dimensions.maxwidthTablet}px) {
left: 24px;
top: 32px;
position: absolute;
}
`

0 comments on commit 0712203

Please sign in to comment.