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 | 4x 2x | import styled, { css } from 'styled-components';
import media from 'styled-media-query';
export const Container = styled.h1`
${({ theme }) => css`
margin-top: ${theme.spacings.xlarge};
color: ${theme.colors.white};
font-weight: ${theme.font.weights.xbold};
font-size: ${theme.font.sizes.large};
max-width: 33rem;
text-align: center;
${media.greaterThan('small')`
font-size: calc(${theme.font.sizes.medium} * 2);
max-width: 44rem;
`}
${media.greaterThan('medium')`
font-size: ${theme.font.sizes.xlarge};
max-width: 55rem;
`}
`}
`;
|