-
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
samgildea
committed
Apr 6, 2021
1 parent
317707d
commit 0712203
Showing
1 changed file
with
60 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,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; | ||
} | ||
` |