instantjob-recruiter-client
Version:
a set of tools for creating an instantjob recruiter react client
28 lines (25 loc) • 566 B
JSX
import React from 'react'
import styled from 'styled-components'
import {color, card} from 'common/styles'
import {position} from 'polished'
export default ({children}) => (
<Background>
<Card>
{children}
</Card>
</Background>
)
const Background = styled.div`
background-color: ${color('black', 'translucent')};
padding-top: 50px;
${position('fixed', '0', '0', '0', '0')};
display: flex;
justify-content: center;
align-items: flex-start;
overflow: scroll;
`
const Card = styled.div`
${card}
margin: 0 5px;
max-width: 600px;
`