Burger menu stuff

burgermenu
E. Almqvist 2 years ago
parent e1b19ae1fa
commit 2b9dc5d191
  1. 11
      components/burgermenu.tsx
  2. 9
      styles/globals.css

@ -2,11 +2,14 @@ import styled from 'styled-components'
import Link from "next/link" import Link from "next/link"
const MenuLine = styled.div` const MenuLine = styled.div`
display: block; width: 2rem;
width: 15rem; height: 2px;
height: 5px; border-radius: 2px;
border-radius: 4px;
background-color: var(--fg); background-color: var(--fg);
&:not(:last-child) {
margin-bottom: .4rem;
}
}
` `
const Menu = () => { const Menu = () => {

@ -67,3 +67,12 @@ em {
font-style: normal; font-style: normal;
text-shadow: var(--emph-shadow) currentColor; text-shadow: var(--emph-shadow) currentColor;
} }
@media only screen and (max-width: 940px) {
.burger-container {
display: block;
background-color: lightblue;
}
}

Loading…
Cancel
Save