diff --git a/src/Components/CreateAccount.css b/src/Components/CreateAccount.css index 5480cb37..3838abb9 100644 --- a/src/Components/CreateAccount.css +++ b/src/Components/CreateAccount.css @@ -46,7 +46,6 @@ body { p{ font-family: "Roboto", sans-serif; margin-top:.5vw; - text-align: center; } p span{ color: #78a9fa; @@ -75,214 +74,121 @@ body { background: #cf00a3; /* Adjust as needed */ } - .step::before { - content: attr(data-step); - position: absolute; - top: -20px; /* Adjust as needed */ - left: 50%; - transform: translateX(-50%); - width: 20px; /* Adjust as needed */ - height: 20px; /* Adjust as needed */ - border-radius: 50%; - background: #ACB6C7; - color: #fff; - text-align: center; - line-height: 20px; /* Adjust as needed */ - z-index: 1; /* Add this to make the circles appear above the lines */ - } - .step span { - flex: 1; - color: #cf00a3; - } - - .step input { - flex: 2; - padding: 0.5rem; - border-radius: 0.25rem; - border: none; - } - - .step.active span { - font-weight: bold; - } - - .step.step-1[data-step="1"]::before { - background-color: #4285F4; /* Color when step 1 is active */ - } - - - .step.step-2[data-step="1"]::before { - background-color: #87fc93; /* Color when step 2 is active */ - } - - .step.step-2[data-step="2"]::before { - background-color: #4285F4; /* Color when step 2 is active */ - } - .step.step-3[data-step="1"]::before { - background-color: #87fc93; /* Color when step 3 is active */ - } - - .step.step-2[data-step="3"]::before { - background-color: #87fc93; - } - .step.step-3[data-step="3"]::before { - background-color: #4285F4; /* Color when step 3 is active */ - } - - +.step::before { + content: attr(data-step); + position: absolute; + top: -20px; /* Adjust as needed */ + left: 50%; + transform: translateX(-50%); + width: 20px; /* Adjust as needed */ + height: 20px; /* Adjust as needed */ + border-radius: 50%; + background: #ACB6C7; + color: #fff; + text-align: center; + line-height: 20px; /* Adjust as needed */ + z-index: 1; /* Add this to make the circles appear above the lines */ +} +.step span { + flex: 1; + color: #cf00a3; +} + +.step input { + flex: 2; + padding: 0.5rem; + border-radius: 0.25rem; + border: none; +} + +.step.active span { + font-weight: bold; +} + +.step.step-1[data-step="1"]::before { + background-color: #4285F4; /* Color when step 1 is active */ +} + + +.step.step-2[data-step="1"]::before { + background-color: #87fc93; /* Color when step 2 is active */ +} + +.step.step-2[data-step="2"]::before { + background-color: #4285F4; /* Color when step 2 is active */ +} +.step.step-3[data-step="1"]::before { + background-color: #87fc93; /* Color when step 3 is active */ +} + +.step.step-2[data-step="3"]::before { + background-color: #87fc93; +} +.step.step-3[data-step="3"]::before { + background-color: #4285F4; /* Color when step 3 is active */ +} /* Buttons */ - .next-btn { - background-color:rgba(9, 2, 34, 0.2); - color: #78a9fa; - border: 1px solid #fff; - padding: 0.5rem 1rem; - border-radius: 0.25rem; - cursor: pointer; - transition: background-color 0.3s ease; - width: 60%; - margin: 1rem auto; - display: block; - border-radius: 40px; - height: 3vw; - font-size: 1.5rem; - } - - .next-btn:hover { - background-color: #b21783; - } - - .signup-options { - display: flex; - justify-content: center; - - } - - .facebook-btn, - .google-btn { - background-color: rgba(9, 2, 34, 0.2); /* 20% of #090222 */ - color: #fff; - border: 1px solid #fff; - padding: 0.5rem 1rem; - border-radius: 0.25rem; - cursor: pointer; - transition: background-color 0.3s ease; - width: 40%; - margin: 1rem ; - font-size: 1.5rem; - text-align: center; /* Add this line */ - border-radius: 40px; - height: 3vw; - font-family: "Roboto", sans-serif; - - } - - .facebook-btn:hover, - .google-btn:hover { - background-color: #b21783; - } - .facebook-btn::before { - content: ''; - display: inline-block; - height: 30px; - width: 30px; - background-image: url('../../public/1.png'); - background-repeat: no-repeat; - background-size: contain; - vertical-align: middle; - - } - - .google-btn::before { - content: ''; - display: inline-block; - height: 30px; - width: 30px; - background-image: url('../../public/2.png'); - background-repeat: no-repeat; - background-size: contain; - margin-right: 10px; - vertical-align: middle; - } - .facebook-btn i, - .google-btn i { - margin-right: 0.5rem; - } - .flex-container { - display: flex; - justify-content: space-between; - align-items: center; - margin-top: 20px; - padding: 0 8vw 0px 8vw; - font-family: "Roboto", sans-serif; - } - .input-field { - display: block; - width: 70%; /* Adjust as needed */ - height: 50px; /* Adjust as needed */ - margin: 20px auto; - margin-top: 0px; /* Adjust as needed */ - border: 2px solid cyan; /* Adjust as needed */ - border-radius: 10px; /* Adjust as needed */ - padding: 10px; /* Adjust as needed */ - background-color: transparent; - color: #fff; - padding-top: 0; - font-family: "Roboto", sans-serif; - font-size: 1.5rem; - } - .input-field::placeholder { - color: #ffffff; - font-size:1.3rem; - font-family: "Roboto", sans-serif; - line-height: 50px; - } - .input-field1 { - display: block; - width: 50%; /* Decreased width to 50% */ - height: 50px; /* Adjust as needed */ - /* margin: 20px auto; */ - margin-top: 0px; /* Adjust as needed */ - border: 2px solid cyan; /* Adjust as needed */ - border-radius: 10px; /* Adjust as needed */ - padding: 10px; /* Adjust as needed */ - margin-left: 9vw; - - background-color: transparent; - color: #fff; - padding-top: 0; - font-family: "Roboto", sans-serif; - font-size: 1.5rem; - } - .input-field1::placeholder { - color: #ffffff; - font-size:1.3rem; - font-family: "Roboto", sans-serif; - line-height: 50px; - } - .email{ - font-size:2rem; - margin-left: 22.5vw; - font-family: "Roboto", sans-serif; - } - .separator { - margin-top: 4vw; - display: flex; - align-items: center; - text-align: center; - color: #fff; - font-family: "Roboto", sans-serif; - padding: 0 150px; - font-size: 1.5rem; - } - - .separator > hr { - flex-grow: 1; - border: none; - border-top: 1px solid #fff; - } - - .separator > span { - padding: 0 10px; - } \ No newline at end of file +.next-btn { + background-color:rgba(9, 2, 34, 0.2); + color: #78a9fa; + border: 1px solid #fff; + padding: 0.5rem 1rem; + border-radius: 0.25rem; + cursor: pointer; + transition: background-color 0.3s ease; + margin: 1rem auto; + display: block; + border-radius: 40px; + font-size: 1.5rem; +} + +.next-btn:hover { + background-color: #b21783; +} + +.signup-options { + display: flex; + justify-content: center; + gap: 3rem; +} + +.facebook-btn, +.google-btn { + background-color: rgba(9, 2, 34, 0.2); /* 20% of #090222 */ + color: #fff; + border: 2px solid #fff; + cursor: pointer; + transition: background-color 0.3s ease; + text-align: center; /* Add this line */ + font-family: "Roboto", sans-serif; + +} + +.facebook-btn:hover, +.google-btn:hover { + background-color: #b21783; +} +.facebook-btn::before { + content: ''; + background-image: url('../../public/1.png'); + background-repeat: no-repeat; + background-size: contain; + vertical-align: middle; + +} + +.google-btn::before { + content: ''; + background-image: url('../../public/2.png'); + background-repeat: no-repeat; + background-size: contain; + vertical-align: middle; +} +.input-field::placeholder { + color: grey; + font-size:1rem; + font-family: "Roboto", sans-serif; + line-height: 50px; +} diff --git a/src/Components/MainContainer.css b/src/Components/MainContainer.css index 210bf9b4..7f25ce17 100644 --- a/src/Components/MainContainer.css +++ b/src/Components/MainContainer.css @@ -7,7 +7,7 @@ } .maincontainer .left { - width: calc(100% - 30%); + width: 70%; overflow-y: scroll; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } @@ -111,20 +111,29 @@ flex-wrap: wrap; } .card_main { - height: 365px; + height: 355px; } + .card_main_img { width: 100%; - height: 200px; + height: 135px; + object-fit: cover; } + .maincontainer .left .cards main .card_main { background: #252041; - border-radius: 10px; + border-bottom-left-radius: 10px; + border-bottom-right-radius: 10px; max-width: 260px; - padding-bottom: 20px; + padding: 0px 0px; margin: 15px 10px; + overflow: hidden; + display: flex; + flex-direction: column; + justify-content: space-between; } + .maincontainer .left .cards main .card_main .card_main_img { max-width: 100%; object-fit: cover; @@ -234,6 +243,8 @@ .maincontainer .right .topCard .topCard_name h2, .maincontainer .right .bottom_card .bottomCard_name h2 { color: #d1d0d5; + font-size: larger; + font-weight: 900; } .maincontainer .right .topCard .topCard_name a, @@ -246,6 +257,12 @@ padding: 5px 10px; } +.maincontainer .right .topCard .earning span { + color: red; + font-size: small; +} + + .maincontainer .right .topCard .earning p { margin: 8px 0; padding: 10px; @@ -298,6 +315,7 @@ } .maincontainer .right .bottom_card .topSeller .topSellerName span { + color:red; display: block; font-size: 12px; } diff --git a/src/Components/MainContainer.js b/src/Components/MainContainer.js index 3c56ab13..57976a05 100644 --- a/src/Components/MainContainer.js +++ b/src/Components/MainContainer.js @@ -64,8 +64,8 @@ function MainContainer() {
-

Feed

- +

Feed

+
Popular