stream/src/pages/404/styles.js

34 lines
730 B
JavaScript
Raw Normal View History

2021-10-15 13:37:54 +00:00
import styled from 'styled-components'
2021-10-20 14:32:27 +00:00
import { colours, screenSizes } from '../../assets/theme'
2021-10-15 13:37:54 +00:00
import { H1 } from '../../components/Text'
import Link from '../../components/Link'
export const Wrapper = styled.div`
height: calc(100vh - 100px);
width: 100vw;
padding: 2em;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
background-color: ${colours.midnightDarker};
box-sizing: border-box;
2021-10-20 14:32:27 +00:00
@media screen and (max-width: ${screenSizes.lg}px) {
2021-10-15 13:37:54 +00:00
padding: 1.5em;
}
2021-10-20 14:32:27 +00:00
@media screen and (max-width: ${screenSizes.sm}px) {
2021-10-15 13:37:54 +00:00
padding: 1em;
}
`
export const Title = styled(H1)`
margin-bottom: 0.2em
`
export const StyledLink = styled(Link)`
margin-top: 1em;
`