diff --git a/about.html b/about.html index e76e814..d5fecc0 100644 --- a/about.html +++ b/about.html @@ -215,7 +215,7 @@
Home - About + About Buy Ticket Sell Contact diff --git a/buy.html b/buy.html index b46205b..a7346b5 100644 --- a/buy.html +++ b/buy.html @@ -317,7 +317,7 @@
Home About - Buy Ticket + Buy Ticket Sell Contact Contributors diff --git a/contactus.html b/contactus.html index 2c5dae9..cc2db11 100644 --- a/contactus.html +++ b/contactus.html @@ -346,7 +346,7 @@ About Buy Ticket Sell - Contact + Contact Contributors Login
diff --git a/contributor.html b/contributor.html index 4e442b7..732b332 100644 --- a/contributor.html +++ b/contributor.html @@ -258,7 +258,7 @@ Buy Ticket Sell Contact - Contributors + Contributors Login
diff --git a/index.css b/index.css index 9d6549f..daeb85b 100644 --- a/index.css +++ b/index.css @@ -283,12 +283,39 @@ p { text-decoration: none; margin-right: 20px; font-weight: 600; + position: relative; /* Needed for the underline to position correctly */ } +/* Hover Effect */ .navbar a:hover { - text-decoration: underline; + color: #ffd700; /* Change text color on hover */ + font-weight: bold; /* Optional: make hover link bold */ } +/* Active Link Styles */ +.navbar a.active { + color: #ffd700; + font-weight: bold; +} + +/* Underline effect for active link */ +.navbar a.active::after, +.navbar a:hover::after { + content: ""; + position: absolute; + left: 0; + right: 0; + bottom: -5px; + height: 2px; + background-color: #ffd700; + transform: scaleX(1); + transition: transform 0.3s ease; +} + +/* Optional: Remove underline on hover if you want to keep it only for active */ +.navbar a:hover::after { + transform: scaleX(1); /* Keep underline visible on hover */ +} .logo { font-size: 1.5rem; font-weight: bold; @@ -749,4 +776,4 @@ button:hover { .faq-heading { font-size: 20px; } -} +} \ No newline at end of file diff --git a/index.html b/index.html index 5df76aa..6253242 100644 --- a/index.html +++ b/index.html @@ -517,7 +517,7 @@

What type of transportation do you prefer for your travels?