mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
32 lines
683 B
TypeScript
32 lines
683 B
TypeScript
import { onTablet } from '@roleypoly/design-system/atoms/breakpoints';
|
|
import { text400 } from '@roleypoly/design-system/atoms/typography';
|
|
import styled, { css } from 'styled-components';
|
|
|
|
export const HeroText = styled.div`
|
|
${onTablet(css`
|
|
text-align: center;
|
|
`)}
|
|
`;
|
|
|
|
export const DemoSubtitle = styled.p`
|
|
${text400}
|
|
|
|
text-align: center;
|
|
margin-top: 0.4em;
|
|
`;
|
|
|
|
export const DemoAlignment = styled.div`
|
|
min-height: 125px;
|
|
${onTablet(css`
|
|
min-height: 95px;
|
|
`)}
|
|
`;
|
|
|
|
export const HeroCentering = styled.div`
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: calc(100vh - 200px);
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 2em;
|
|
`;
|