This repository has been archived on 2025-05-09. You can view files and clone it, but cannot push or open issues or pull requests.
EvoCalculator/src/client/Elements/Background.jsx
2020-11-14 15:08:45 +03:00

24 lines
498 B
JavaScript

import colors from 'client/UIKit/colors';
import { Box, Flex } from 'client/UIKit/grid';
import styled from 'styled-components';
import mq from 'client/UIKit/mq';
const Background = styled(Box)`
background: ${colors.white[0]};
padding: 4px 10px;
${mq.desktop`
padding: 10px 18px;
`}
margin: 0 0 10px;
${mq.desktop`
margin: 10px 10px;
`}
box-shadow: 4px 5px 17px -11px rgba(0, 0, 0, 0.75);
flex: ${props => props.flex};
// max-width: 100%;
`;
export default Background;