diff --git a/web/assets/bell.svg b/web/assets/bell.svg new file mode 100644 index 0000000..84fabdf --- /dev/null +++ b/web/assets/bell.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/assets/candycane.svg b/web/assets/candycane.svg new file mode 100644 index 0000000..0a64957 --- /dev/null +++ b/web/assets/candycane.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/web/assets/gift.svg b/web/assets/gift.svg new file mode 100644 index 0000000..ae7ba1d --- /dev/null +++ b/web/assets/gift.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/assets/reindeer.svg b/web/assets/reindeer.svg new file mode 100644 index 0000000..61ceed6 --- /dev/null +++ b/web/assets/reindeer.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/assets/santa.svg b/web/assets/santa.svg new file mode 100644 index 0000000..edf608f --- /dev/null +++ b/web/assets/santa.svg @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/assets/tree.svg b/web/assets/tree.svg new file mode 100644 index 0000000..f2a298c --- /dev/null +++ b/web/assets/tree.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/web/index.html b/web/index.html index e4b9733..6d92ad7 100644 --- a/web/index.html +++ b/web/index.html @@ -132,6 +132,226 @@ grid-template-columns: 1fr; /* Stack columns on smaller screens */ } } + + /* Christmas toggle switch */ + .christmas-toggle { + position: absolute; + right: 20px; + top: 20px; + display: flex; + align-items: center; + gap: 10px; + color: white; + font-size: 14px; + } + + .toggle-checkbox { + width: 50px; + height: 24px; + cursor: pointer; + appearance: none; + background-color: #555; + border-radius: 12px; + border: none; + outline: none; + transition: background-color 0.3s; + position: relative; + } + + .toggle-checkbox:checked { + background-color: #27ae60; + } + + .toggle-checkbox::before { + content: ''; + position: absolute; + width: 20px; + height: 20px; + border-radius: 50%; + background-color: white; + top: 2px; + left: 2px; + transition: left 0.3s; + } + + .toggle-checkbox:checked::before { + left: 28px; + } + + /* Santa hat styles */ + .santa-hat { + position: absolute; + width: 60px; + height: 50px; + top: -20px; + transform: rotate(-20deg); + z-index: 10; + } + + .santa-hat::before { + content: ''; + position: absolute; + width: 100%; + height: 70%; + background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); + clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); + } + + .santa-hat::after { + content: ''; + position: absolute; + width: 20px; + height: 20px; + background: white; + border-radius: 50%; + bottom: -5px; + right: -8px; + box-shadow: -15px 5px 0 -5px white; + } + + /* Jingle bell styles */ + .jingle-bell { + display: inline-block; + position: relative; + width: 12px; + height: 14px; + margin: 0 2px; + animation: jingle 0.4s ease-in-out infinite; + } + + .jingle-bell::before { + content: ''; + position: absolute; + width: 100%; + height: 100%; + background: #f1c40f; + border-radius: 50% 50% 50% 0; + transform: rotate(-45deg); + box-shadow: 0 2px 4px rgba(0,0,0,0.3); + } + + .jingle-bell::after { + content: ''; + position: absolute; + width: 3px; + height: 6px; + background: #d4a500; + top: -6px; + left: 50%; + transform: translateX(-50%); + } + + @keyframes jingle { + 0%, 100% { transform: rotate(0deg); } + 25% { transform: rotate(5deg); } + 75% { transform: rotate(-5deg); } + } + + /* Snow animation */ + .snowflake { + position: fixed; + top: -10px; + color: white; + font-size: 1em; + font-weight: bold; + text-shadow: 0 0 5px rgba(255,255,255,0.8); + z-index: 1; + user-select: none; + pointer-events: none; + animation: snowfall linear infinite; + opacity: 0.8; + } + + @keyframes snowfall { + to { + transform: translateY(100vh) translateX(100px); + opacity: 0; + } + } + + body.christmas-active .snowflake { + animation: snowfall linear infinite; + } + + /* Festive header when active */ + body.christmas-active header { + background: linear-gradient(90deg, #27ae60 0%, #e74c3c 50%, #27ae60 100%); + background-size: 200% 100%; + animation: festive-pulse 3s ease-in-out infinite; + } + + @keyframes festive-pulse { + 0%, 100% { background-position: 0% 0%; } + 50% { background-position: 100% 0%; } + } + + /* Jingle bells in header when active */ + body.christmas-active h1::before { + content: '🔔 '; + animation: jingle 0.4s ease-in-out infinite; + display: inline-block; + font-size: 30px; + margin-right: 15px; + } + + body.christmas-active h1::after { + content: ' 🔔'; + animation: jingle 0.4s ease-in-out infinite; + display: inline-block; + font-size: 30px; + margin-left: 15px; + } + + /* Corner decorations */ + .corner-decoration { + position: fixed; + font-size: 80px; + z-index: 5; + pointer-events: none; + opacity: 0.9; + width: 100px; + height: 100px; + } + + .corner-decoration img { + width: 100%; + height: 100%; + object-fit: contain; + } + + /* Bottom decorations */ + .bottom-decoration { + position: fixed; + bottom: 20px; + width: 80px; + height: 80px; + z-index: 5; + pointer-events: none; + opacity: 0.85; + } + + .bottom-decoration img { + width: 100%; + height: 100%; + object-fit: contain; + } + + .corner-decoration.bottom-left { + bottom: 10px; + left: 10px; + animation: sway 3s ease-in-out infinite; + } + + .corner-decoration.bottom-right { + bottom: 10px; + right: 10px; + animation: sway 3s ease-in-out infinite reverse; + } + + @keyframes sway { + 0%, 100% { transform: rotate(0deg); } + 50% { transform: rotate(-5deg); } + } @@ -191,6 +411,118 @@