diff --git a/PyBay/assets/js/countdown-timer.js b/PyBay/assets/js/countdown-timer.js index 550d9a3..f04812e 100644 --- a/PyBay/assets/js/countdown-timer.js +++ b/PyBay/assets/js/countdown-timer.js @@ -58,4 +58,4 @@ customElements.define('countdown-timer', CountdownTimer); // Optional: export for test or bundling purposes -export default CountdownTimer; \ No newline at end of file +export default CountdownTimer; diff --git a/PyBay/templates/layout.html b/PyBay/templates/layout.html index 732e56e..91dc3ad 100644 --- a/PyBay/templates/layout.html +++ b/PyBay/templates/layout.html @@ -33,14 +33,13 @@ - - + + + + - - + @@ -108,14 +107,11 @@ } /* Custom Nav Link Styles */ - .navbar-custom { - background-color: #4B8BBE; /* Python blue */ - } .nav-link { - color: #00749E; /* Python yellow */ + color: #FCD582; /* Python yellow */ font-weight: bold; - text-decoration: underline #00749E; + text-decoration: underline #FCD582; text-decoration-thickness: 3px; text-underline-offset: 10px; text-decoration-style: wavy; @@ -123,12 +119,12 @@ transition: text-decoration-color 1000ms; } .nav-link:hover { - color: #00749E; + color: #FCD582; text-decoration-color: #ff914d; border-radius: 5px; } .nav-link:active { - color: #00749E; + color: #FCD582; text-decoration-color: #ff914d; border-radius: 5px; @@ -254,52 +250,87 @@ clip-path: polygon(20% 0%, 0% 20%, 11% 52%, 0% 80%, 20% 100%, 49% 86%, 80% 100%, 100% 80%, 87% 50%, 100% 20%, 80% 0%, 45% 8%); } } + /* Match dropdown to navbar color and theme */ +.dropdown-menu { + background-color: #00749E; /* same golden yellow, slightly more opaque */ + border: none; + border-radius: 0; + box-shadow: none; + padding: 0.5rem 0; + font-weight: bold; +} + +/* Style the dropdown items to match nav-link styling */ +.dropdown-item { + color: rgba(252, 213, 130, 0.95) ; /* Python blue text */ + padding: 0.5rem 1.25rem; + text-decoration: underline #00749E; + text-decoration-thickness: 2px; + text-underline-offset: 6px; + text-decoration-style: wavy; + background-color: transparent; + transition: text-decoration-color 0.3s ease; +} + +.dropdown-item:hover, +.dropdown-item:focus { + background-color: rgba(255, 145, 77, 0.2); /* a soft orange glow */ + text-decoration-color: #ff914d; +} + +.dropdown-item:active { + background-color: rgba(255, 145, 77, 0.3); +} +
-