From 8b2d9c4d7556ef60cb95249c19f6306647e2efff Mon Sep 17 00:00:00 2001 From: "prem12937@gmail.com" Date: Sun, 17 Nov 2024 02:24:54 +0530 Subject: [PATCH] style: redesign reg-buttons in navbar --- src/styles/Navbar.css | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/styles/Navbar.css b/src/styles/Navbar.css index 38229f95..24dc3a6b 100644 --- a/src/styles/Navbar.css +++ b/src/styles/Navbar.css @@ -15,7 +15,7 @@ z-index: 2; top: 50%; left: 51%; - transform: translate(-50%,-50%); + transform: translate(-50%, -50%); } .light-logo { @@ -51,9 +51,9 @@ } .profile-picture-navbar { - width: 2.5rem; - height: 100%; - border-radius: 50%; + width: 2.5rem; + height: 100%; + border-radius: 50%; display: block; } @@ -104,7 +104,7 @@ display: none; } - .light-logo{ + .light-logo { transform: scale(0.9); } } @@ -131,16 +131,22 @@ } .reg-button { - /* text-gray-950 bg-white px-6 py-2 rounded shadow-[3px_3px_0_3px_#707070] */ - color: #080808; - background-color: #fff; - padding-left: 1.5rem; - padding-right: 1.5rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - border-radius: 5px; - box-shadow: 4px 4px #6a6a6a; + background: #fff; + color: #0a0a19; + transition: background-color 200ms; + border: none; + font-size: 1rem; + font-weight: 500; + padding: 1rem 1.5rem; + border-radius: 50px; cursor: pointer; + transition: 0.2s; + box-shadow: 0 0 10px 0px rgba(255, 255, 255, .2); +} + +.reg-button:hover { + color: #393939; + box-shadow: 0 5px 10px 1px rgba(255, 255, 255, .2); } .container { @@ -271,4 +277,4 @@ color: rgba(245, 169, 68, 0.6); bottom: 15%; left: -2%; -} +} \ No newline at end of file