diff --git a/src/Components/Algorithms/AlgoMenu.css b/src/Components/Algorithms/AlgoMenu.css index e69de29..b9257fc 100644 --- a/src/Components/Algorithms/AlgoMenu.css +++ b/src/Components/Algorithms/AlgoMenu.css @@ -0,0 +1,428 @@ +body { + margin: 0; + padding: 0; + font-family: 'Comfortaa', cursive; + background-color: black; +} + +#con { + width: 75%; + margin: 0 auto; + margin-top: 200px; + height: auto; +} + +#con2 { + width: 75%; + margin: 0 auto; + margin-top: 30px; + height: auto; +} + +#con3 { + width: 75%; + margin: 0 auto; + margin-top: 30px; + height: auto; +} +.con4{ + width: 75%; + margin: 0 auto; + margin-top: 30px; + height: auto; +} +h4 { + width: 90%; + position: absolute; + font-size: 30px; + padding: 20px; + margin-top: 120px; + color: #fff; +} +.f-title{ + text-align: center; + margin-top: 30px; + font-size: 30px; + font-family: 'Rock Salt', cursive; + -webkit-animation:colorchange 5s infinite alternate; + animation:colorchange 5s infinite alternate; +} +.zayn_1 { + position: relative; + margin-top: -150px; + background: url(http://i.huffpost.com/gen/1960925/images/o-COOLEST-CITIES-IN-AMERICA-facebook.jpg); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + border-bottom: 3px solid rgba(255,162,52,0.8); + width: 100%; + height: 280px; + border-radius: 6px; + box-shadow: 5px 5px 30px 0px rgba(46,61,73,0.9); + transition: all 0.3s ease; + +} + +.zayn_2 { + position: relative; + margin-top: 1px; + background: url(https://i.ytimg.com/vi/fwoDwajwqdo/maxresdefault.jpg); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + border-bottom: 3px solid rgba(2,204,186,0.8); + width: 49%; + height: 300px; + border-radius: 6px; + box-shadow: 5px 5px 30px 0px rgba(46,61,73,0.9); + transition: all 0.3s ease; +} + +.zayn_3 { + position: relative; + float: right; + margin-top: -304px; + background: url(https://tinyurl.com/2p97bsmp); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + border-bottom: 3px solid rgba(169,81,237,0.8); + width: 49%; + height: 300px; + border-radius: 6px; + box-shadow: 5px 5px 30px 0px rgba(46,61,73,0.9); + transition: all 0.3s ease; +} + +.zayn_4 { + position: relative; + margin-top: 1px; + background: url(http://www.lolwot.com/wp-content/uploads/2015/02/top-16-coolest-buildings-in-the-world.jpg); + background-size: cover; + background-repeat: no-repeat; + background-position: center; + border-bottom: 3px solid rgba(255,84,131,0.8); + width: 100%; + height: 280px; + border-radius: 6px; + box-shadow: 5px 5px 30px 0px rgba(46,61,73,0.9); + transition: all 0.3s ease; +} + +.new { + color: #fff; + z-index: 1; + position: relative; + left: 2%; + top: 8%; + padding: 15px; + background: linear-gradient(to right, #02b3e4 0%, #02ccba 100%); + border-radius: 50px 120px 120px; +} +.zayn_form{ + position: relative; + margin-top: -150px; + background:#fafafa; + border-bottom: 3px solid rgba(255,162,52,0.8); + width: 100%; + height: 280px; + border-radius: 6px; + box-shadow: 5px 5px 30px 0px rgba(46,61,73,0.9); + transition: all 0.3s ease; +} + + +.pop { + color: #fff; + z-index: 1; + position: absolute; + left: 2%; + top: 3%; + padding: 15px; + background: linear-gradient(to right, #fa3350 0%, #fa3380 100%); + border-radius: 50px 120px 120px; +} + +.lat { + color: #fff; + z-index: 1; + position: absolute; + left: 2%; + top: 3%; + padding: 15px; + background: linear-gradient(to right, deeppink 0%, #fa3380 100%); + border-radius: 50px 120px 120px; +} + +.free { + color: #fff; + z-index: 1; + position: absolute; + left: 2%; + top: 3%; + padding: 15px; + background: linear-gradient(to right, deepskyblue 0%, skyblue 100%); + border-radius: 50px 120px 120px; +} + +.overlay { + position: absolute; + z-index: 0; + top: 0; + bottom: 0; + left: 0; + right: 0; + background-color: rgba(000,000,000, 0.6); + border-radius: 6px; +} + + + +@media only screen and (max-width: 840px) { + + h4 { + font-size: 24px; + } + + .zayn_2 { + position: relative; + width: 100%; + } + + .zayn_3 { + position: relative; + width: 100%; + margin-top: 30px; + } + + .zayn_4 { + position: relative; + width: 100%; + margin-top: 360px; + } + + .date { + left: 70%; + } + + .date-1 { + left: 70%; + } +} + +.footer { + margin-top: 50px; + position: absolute; + background: #b24592; + background: -webkit-linear-gradient(to right, #b24592, #f15f79); + background: linear-gradient(to right, #b24592, #f15f79); + padding: 15px; + width: 100%; + border-radius: 4px; +} + +.footer h1 { + color: #fff; + font-size: 20px; + text-align: center; +} + + + +.shadow:hover { + box-shadow: 5px 1px 10px 0px rgba(46,61,73,0.1); + transition: all 0.3s ease; +} + + +@-webkit-keyframes spaceboots { + 0% { -webkit-transform: translate(2px, 1px) rotate(0deg); } + 10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); } + 20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); } + 30% { -webkit-transform: translate(0px, 2px) rotate(0deg); } + 40% { -webkit-transform: translate(1px, -1px) rotate(1deg); } + 50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); } + 60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); } + 70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); } + 80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); } + 90% { -webkit-transform: translate(2px, 2px) rotate(0deg); } + 100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); } +} +@keyframes spaceboots { + 0% { -webkit-transform: translate(2px, 1px) rotate(0deg); } + 10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); } + 20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); } + 30% { -webkit-transform: translate(0px, 2px) rotate(0deg); } + 40% { -webkit-transform: translate(1px, -1px) rotate(1deg); } + 50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); } + 60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); } + 70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); } + 80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); } + 90% { -webkit-transform: translate(2px, 2px) rotate(0deg); } + 100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); } +} +.shadow:hover, +.shadow:focus { + -webkit-animation-name: spaceboots; + animation-name: spaceboots; + -webkit-animation-duration: 0.8s; + animation-duration: 0.8s; + -webkit-transform-origin:50% 50%; + transform-origin:50% 50%; + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; + -webkit-animation-timing-function: linear; + animation-timing-function: linear; +} + + + + + @-webkit-keyframes colorchange { + 0% { + + color: darkviolet; + } + + 10% { + + color: #fa3380; + } + + 20% { + + color: #02b3e4; + } + + 30% { + + color: #02ccba; + } + + 40% { + + color: #a951ed; + } + + 50% { + + color: #ffa234; + } + + 60% { + + color: #ff5483; + } + + 70% { + + color: deepskyblue; + } + 80% { + + color: purple; + } + + 90% { + + color: lightpink; + } + + 100% { + + color: #fff; + } + } + @keyframes colorchange { + 0% { + + color: darkviolet; + } + + 10% { + + color: #fa3380; + } + + 20% { + + color: #02b3e4; + } + + 30% { + + color: #02ccba; + } + + 40% { + + color: #a951ed; + } + + 50% { + + color: #ffa234; + } + + 60% { + + color: #ff5483; + } + + 70% { + + color: deepskyblue; + } + 80% { + + color: purple; + } + + 90% { + + color: lightpink; + } + + 100% { + + color: #fff; + } + } + + + + + +.Follow { background:url("https://pbs.twimg.com/profile_images/959092900708544512/v4Db9QRv_bigger.jpg")no-repeat center / contain; + width: 50px; + height: 50px; + bottom: 9px; + right: 20px; + display:block; + position:fixed; + border-radius:50%; + z-index:999; + animation: rotation 10s infinite linear; + } + +@-webkit-keyframes rotation { + from { + -webkit-transform: rotate(0deg); + } + to { + -webkit-transform: rotate(359deg); + } +} +@keyframes rotation { + from { + -webkit-transform: rotate(0deg); + } + to { + -webkit-transform: rotate(359deg); + } +} + + + + + diff --git a/src/Components/Algorithms/AlgoMenu.jsx b/src/Components/Algorithms/AlgoMenu.jsx index 3def885..3bfc8d2 100644 --- a/src/Components/Algorithms/AlgoMenu.jsx +++ b/src/Components/Algorithms/AlgoMenu.jsx @@ -1,11 +1,62 @@ import React from "react"; import './AlgoMenu.css' -import {Container, Col, Image, Row} from 'react-bootstrap' +import { Container, Col, Image, Row } from 'react-bootstrap' +import AlgoPage from "./AlgoPage/AlgoPage"; -export default function AlgoMenu (){ - return( -
Great product title for a great product and all of the extra things a product might need to make it fill an entire card.
+