mekasu0124

Untitled

Oct 21st, 2023
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import styled from "styled-components";
  2.  
  3. export const HomeContainer = styled.div`
  4.   display: flex;
  5.   justify-content: center;
  6.   align-items: center;
  7.   flex-direction: column;
  8.   margin-left: auto;
  9.   margin-right: auto;
  10.   min-height: 500px;
  11. `;
  12.  
  13. export const TitleContainer = styled(HomeContainer)`
  14.   width: 60%;
  15. `;
  16. export const BodyContainer = styled(HomeContainer)`
  17.   width: 90%;
  18. `;
  19.  
  20. export const Title = styled.h1`
  21.   font-size: 40px;
  22.   font-weight: bold;
  23.   font-style: italic;
  24.   color: green;
  25.   text-decoration: underline;
  26. `;
  27.  
  28. export const SubTitle = styled(Title)`
  29.   font-size: 20px;
  30.   color: darkgray;
  31.   margin-top: -10px;
  32.   text-decoration: none;
  33. `;
  34.  
  35. export const Details = styled.span`
  36.   font-size: 20px;
  37.   font-weight: bold;
  38.   font-style: italic;
  39.   color: darkgray;
  40.  
  41.   @media only screen and (min-width: 700px) {
  42.     text-align: center;
  43.     font-size: 15px;
  44.   };
  45. `;
Advertisement
Add Comment
Please, Sign In to add comment