Nothing Found

It seems we can’t find what you’re looking for. Perhaps searching can help.

🪔 Happy Diwali! 🪔
May the festival of lights bring you joy and prosperity.
#diwali-greeting-banner { position: fixed; top: -100px; /* Start off-screen */ left: 0; width: 100%; text-align: center; padding: 15px 0; background-color: #ffaa33; /* A warm orange/gold */ color: #fff; font-family: 'Georgia', serif; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 99999; /* Make sure it's on top of everything */ transition: top 1s ease-in-out; /* For the slide-in effect */ display: none; /* Hidden by default, JS will show it */ } #diwali-greeting-banner.show { top: 0; /* Slide in position */ } .diwali-message { font-size: 24px; font-weight: bold; letter-spacing: 1px; } .diwali-subtext { font-size: 16px; margin-top: 5px; } .diwali-flame { /* Simple animation for the diya/flame emoji */ display: inline-block; animation: pulse 1.5s infinite alternate; } @keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.1); } } document.addEventListener('DOMContentLoaded', function() { const banner = document.getElementById('diwali-greeting-banner'); if (banner) { // 1. Show the banner (set display and slide it in) setTimeout(function() { banner.style.display = 'block'; // Wait a tiny bit for the display change to register before starting the transition setTimeout(function() { banner.classList.add('show'); }, 50); }, 500); // Wait 0.5 seconds after page load // 2. Hide the banner after 10 seconds (adjust as needed) const displayDuration = 10000; // 10000 milliseconds = 10 seconds setTimeout(function() { banner.classList.remove('show'); // Wait for the slide-out transition to finish (1 second as set in CSS) setTimeout(function() { banner.style.display = 'none'; }, 1000); }, 500 + displayDuration); // Total time = initial delay + duration } });