mekasu0124

Untitled

Feb 26th, 2024
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import styled from 'styled-components';
  2. import { Link } from 'react-router-dom';
  3.  
  4. export const NavbarContainer = styled.div`
  5.   display: flex;
  6.   justify-content: center;
  7.   align-items: center;
  8.   flex-direction: row;
  9.   border-radius: 20px;
  10.   margin-left: auto;
  11.   margin-right: auto;
  12.   border-bottom: 2px solid darkgray;
  13.   border-radius: 20px;
  14.  
  15.  
  16.   background-image: repeating-linear-gradient(to right,
  17.     darkgray 0px, #24de45 50px,
  18.     darkgray 50px, #24de45 100px,
  19.     darkgray 100px, #24de45 150px,
  20.     darkgray 150px, #24de45 200px,
  21.     darkgray 200px, #24de45 250px,
  22.     darkgray 250px, #24de45 300px,
  23.     darkgray 300px, #24de45 350px,
  24.     darkgray 350px, #24de45 400px);
  25.   background-size: 100% 10px;
  26.   background-repeat:no-repeat;
  27. `;
  28.  
  29. export const LinksContainer = styled(NavbarContainer)`
  30.   justify-content: space-evenly;
  31.   flex-direction: row;
  32.   width: 70%;
  33.   padding: 10px;
  34.   border-bottom: none;
  35.   background-image: none;
  36.  
  37.   @media only screen and (max-width: 600px) {
  38.     flex-direction: column;
  39.   }
  40.  
  41.   @media only screen and (min-width: 768px) {
  42.     width: 100%;
  43.     padding: 20px;
  44.   }
  45. `;
  46.  
  47. export const ImageContainer = styled(NavbarContainer)`
  48.   flex-direction: column;
  49.   width: 30%;
  50.   border-bottom: none;
  51.  
  52.   @media only screen and (max-width: 768px) {
  53.     display: none;
  54.   }
  55.  
  56.   @media only screen and (max-width: 992px) {
  57.     display: none;
  58.   }
  59.  
  60.   @media only screen and (max-width: 1200px) {
  61.     display: none;
  62.   }
  63. `;
  64.  
  65. export const Links = styled(Link)`
  66.   font-size: 20px;
  67.   font-weight: bold;
  68.   font-style: italic;
  69.   text-decoration: none;
  70.   color: #24de45;
  71.  
  72.   &:hover {
  73.     font-size: 25px;
  74.     text-decoration: underline;
  75.   }
  76.  
  77.   @media only screen and (min-width: 768px) {
  78.     font-size: 25px;
  79.   }
  80.  
  81.   @media only screen and (min-width: 992px) {
  82.     font-size: 30px;
  83.   }
  84.  
  85.   @media only screen and (max-width: 1200px) {
  86.     font-size: 25px;
  87.   }
  88. `;
  89.  
  90. export const Links2 = styled(Links)`
  91.   color: darkgray;
  92. `;
  93.  
  94. export const Image = styled.img`
  95.   width: 80%;
  96.   height: 150px;
  97.   margin-top: 20px;
  98. `;
Advertisement
Add Comment
Please, Sign In to add comment