Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | // @flow
import styled, { type StyledComponent } from "styled-components"
import mediaQueries from "styles/mediaQueries"
const Container: StyledComponent<{}, mixed, HTMLDivElement> = styled.div`
margin-right: auto;
margin-left: auto;
padding: 0;
padding-right: 0;
padding-left: 0;
&:after {
clear: both;
content: " ";
display: block;
}
${mediaQueries.desktop} {
padding-right: 15px;
padding-left: 15px;
}
@media (min-width: 768px) {
width: 750px;
}
@media (min-width: 992px) {
width: 970px;
}
@media (min-width: 1200px) {
width: 1170px;
}
@media (max-width: 767px) {
width: auto;
}
@media (max-width: 979px) {
width: auto;
}
@media only screen and (max-width: 1110px) and (min-width: 980px) {
width: 96%;
}
@media (max-width: 992px) {
width: 100%;
}
`
export default Container
|