diff --git a/assets/css/signin.css b/assets/css/signin.css index fcb49c4b..5253c3dc 100644 --- a/assets/css/signin.css +++ b/assets/css/signin.css @@ -9,6 +9,73 @@ body { align-items: center; height: 100vh; } +.navbar { + position: absolute; + top:0; + left:0; + width: 100%; + display: flex; + justify-content: space-between; + align-items: center; + background-color: rgba(255, 255,255,0.07); + /* backdrop-filter: blur(10px); */ + padding: 1rem; +} + +.navbar .logo { + font-size:2rem; + color: #fff; + font-weight: 700; + text-decoration: none; + font-family: sans-serif; +} + +.navbar ul { + list-style: none; + display: flex; +} + +.navbar ul li { + margin-left: 20px; + font-size: 1.3rem; + color:white; +} + +.navbar ul li a { + text-decoration: none; + color: #fff; + padding: 0.5rem 1rem; + transition: background-color 0.3s ease; +} + +.navbar ul li a:hover { + background-color: #FEAFBF; + color: white; + border-radius: 5px; +} +.nav-link { + text-decoration: none; + position: relative; + padding-bottom: 2px; + } + + .nav-link::after { + content: ''; + position: absolute; + width: 100%; + height: 2px; + bottom: 0; + left: 0; + background-color: rgb(255, 255, 255); + visibility: hidden; + transform: scaleX(0); + transition: all 0.3s ease-in-out; + } + + .nav-link:hover::after { + visibility: visible; + transform: scaleX(1); + } .container { width: 100%; diff --git a/assets/css/style.css b/assets/css/style.css index ad272a9b..535cce90 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -142,6 +142,37 @@ body.nav-active { /*-----------------------------------*\ #REUSED STYLE \*-----------------------------------*/ +/* Styling for the navbar links */ +.navbar-link { + position: relative; + display: inline-block; + color: #333; /* Adjust the color as needed */ + text-decoration: none; + font-weight: 500; + padding-bottom: 5px; +} + +/* Underline effect */ +.navbar-link::after { + content: ''; + position: absolute; + width: 0; + height: 2px; + bottom: 0; + left: 0; + background-color: #ff69b4; /* Pink color for the underline */ + transition: width 0.3s ease-in-out; +} + +/* Hover effect to show the underline */ +.navbar-link:hover::after { + width: 100%; +} + +/* Adjust color on hover if needed */ +.navbar-link:hover { + color: #ff69b4; /* Optionally change text color to pink on hover */ +} .container { padding-inline: 16px; diff --git a/index.html b/index.html index 01b7a937..7c3c7dde 100644 --- a/index.html +++ b/index.html @@ -67,7 +67,7 @@
-
+ -