diff --git a/components/burgermenu.tsx b/components/burgermenu.tsx index 0761070..46e135c 100644 --- a/components/burgermenu.tsx +++ b/components/burgermenu.tsx @@ -9,16 +9,28 @@ const MenuLine = styled.div` &:not(:last-child) { margin-bottom: .4rem; } -} +` + +const BurgerContainer = styled.div` + display: none; + flex-direction: column; + + @media screen and (max-width: 960px) { + display: flex; + + nav { + display: none; + } + } ` const Menu = () => { return ( -
+ -
+ ) } diff --git a/styles/globals.css b/styles/globals.css index 35bfbf2..f964fd1 100755 --- a/styles/globals.css +++ b/styles/globals.css @@ -68,11 +68,3 @@ em { text-shadow: var(--emph-shadow) currentColor; } - - -@media only screen and (max-width: 940px) { - .burger-container { - display: block; - background-color: lightblue; - } -}