Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import styled from "styled-components";
- export const HomeContainer = styled.div`
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- margin-left: auto;
- margin-right: auto;
- min-height: 500px;
- `;
- export const TitleContainer = styled(HomeContainer)`
- width: 60%;
- `;
- export const BodyContainer = styled(HomeContainer)`
- width: 90%;
- `;
- export const Title = styled.h1`
- font-size: 40px;
- font-weight: bold;
- font-style: italic;
- color: green;
- text-decoration: underline;
- `;
- export const SubTitle = styled(Title)`
- font-size: 20px;
- color: darkgray;
- margin-top: -10px;
- text-decoration: none;
- `;
- export const Details = styled.span`
- font-size: 20px;
- font-weight: bold;
- font-style: italic;
- color: darkgray;
- @media only screen and (min-width: 700px) {
- text-align: center;
- font-size: 15px;
- };
- `;
Advertisement
Add Comment
Please, Sign In to add comment