Skip to content

Commit

Permalink
make outrun grid responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunnerLivio committed Mar 27, 2021
1 parent b5ce081 commit 3c70751
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/outrun-grid.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react"
import styled from "styled-components"
import breakpoint from "styled-components-breakpoint"

const OutrunGridPerspective = styled.div`
perspective: 1000px;
Expand Down Expand Up @@ -38,7 +39,10 @@ const Vert = styled.div`
height: 100%;
width: 2px;
background-color: ${(props) => props.theme.accent};
margin-left: 4.5%;
margin-left: 12%;
${breakpoint("md")`
margin-left: 4.5%;
`}
box-shadow: 0 2px 21px ${(props) => props.theme.accent};
`

Expand All @@ -54,7 +58,10 @@ const Hor = styled.div`
display: inline-block;
width: 100%;
height: 3px;
margin-top: 4.8%;
margin-top: 19%;
${breakpoint("md")`
margin-top: 4.8%;
`}
background-color: ${(props) => props.theme.accent};
box-shadow: 2px 0 21px ${(props) => props.theme.accent};
`
Expand Down

0 comments on commit 3c70751

Please sign in to comment.