-
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.
#26 extracting mobile styles to separate file
- Loading branch information
samgildea
committed
Mar 26, 2021
1 parent
c61da5e
commit b6dca4d
Showing
2 changed files
with
59 additions
and
49 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,48 @@ | ||
import styled from 'styled-components' | ||
import dimensions from "../../style/dimensions" | ||
|
||
|
||
export const NavContainer = styled.div`` | ||
|
||
export const Logo = styled.div` | ||
font-weight: bold; | ||
font-size: 24px; | ||
padding-top: 32px; | ||
@media (max-width: ${dimensions.maxwidthTablet}px) { | ||
text-align: center; | ||
font-size: 20px; | ||
padding-top: 24px; | ||
} | ||
` | ||
|
||
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.a` | ||
font-weight: bold; | ||
font-size: 16px; | ||
padding-left: 100px; | ||
text-decoration: none; | ||
color: #000000; | ||
` | ||
|
||
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; | ||
} | ||
` |
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