Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import styled from 'styled-components';
- import { Link } from 'react-router-dom';
- export const NavbarContainer = styled.div`
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: row;
- border-radius: 20px;
- margin-left: auto;
- margin-right: auto;
- border-bottom: 2px solid darkgray;
- border-radius: 20px;
- background-image: repeating-linear-gradient(to right,
- darkgray 0px, #24de45 50px,
- darkgray 50px, #24de45 100px,
- darkgray 100px, #24de45 150px,
- darkgray 150px, #24de45 200px,
- darkgray 200px, #24de45 250px,
- darkgray 250px, #24de45 300px,
- darkgray 300px, #24de45 350px,
- darkgray 350px, #24de45 400px);
- background-size: 100% 10px;
- background-repeat:no-repeat;
- `;
- export const LinksContainer = styled(NavbarContainer)`
- justify-content: space-evenly;
- flex-direction: row;
- width: 70%;
- padding: 10px;
- border-bottom: none;
- background-image: none;
- @media only screen and (max-width: 600px) {
- flex-direction: column;
- }
- @media only screen and (min-width: 768px) {
- width: 100%;
- padding: 20px;
- }
- `;
- export const ImageContainer = styled(NavbarContainer)`
- flex-direction: column;
- width: 30%;
- border-bottom: none;
- @media only screen and (max-width: 768px) {
- display: none;
- }
- @media only screen and (max-width: 992px) {
- display: none;
- }
- @media only screen and (max-width: 1200px) {
- display: none;
- }
- `;
- export const Links = styled(Link)`
- font-size: 20px;
- font-weight: bold;
- font-style: italic;
- text-decoration: none;
- color: #24de45;
- &:hover {
- font-size: 25px;
- text-decoration: underline;
- }
- @media only screen and (min-width: 768px) {
- font-size: 25px;
- }
- @media only screen and (min-width: 992px) {
- font-size: 30px;
- }
- @media only screen and (max-width: 1200px) {
- font-size: 25px;
- }
- `;
- export const Links2 = styled(Links)`
- color: darkgray;
- `;
- export const Image = styled.img`
- width: 80%;
- height: 150px;
- margin-top: 20px;
- `;
Advertisement
Add Comment
Please, Sign In to add comment