From 3c749d2ecb6b01db8722065d4a4164ccf895ec06 Mon Sep 17 00:00:00 2001 From: Nayanika1402 <132455412+Nayanika1402@users.noreply.github.com> Date: Sat, 19 Oct 2024 19:00:56 +0530 Subject: [PATCH] Login Added in NavBar --- index.html | 1 + login.html => pages/login.html | 3 +-- sigin.html => pages/sigin.html | 2 +- styles.css | 19 +++++++++++++++++++ 4 files changed, 22 insertions(+), 3 deletions(-) rename login.html => pages/login.html (95%) rename sigin.html => pages/sigin.html (95%) diff --git a/index.html b/index.html index fc49ab1..9eed22b 100644 --- a/index.html +++ b/index.html @@ -44,6 +44,7 @@
Already have an account? Login
+Already have an account? Login
diff --git a/styles.css b/styles.css index 5179299..b86e44d 100644 --- a/styles.css +++ b/styles.css @@ -57,6 +57,25 @@ nav ul li a { nav ul li a:hover { color: #ff85a1; /* Change color on hover */ } +/* Style for the Log In button */ +.nav-links ul li .login-button { + background-color: #0a97cf; + color: white; + padding: 10px 20px; + border-radius: 4px; + text-align: center; + display: inline-block; + text-decoration: none; + font-size: 16px; + font-weight: bold; + white-space: nowrap; + transition: background-color 0.3s ease; +} + +.nav-links ul li .login-button:hover { + background-color: #0f3dd6; +} + /* General Styles */ * { margin: 0;