From e5d2c104ac9b5cefe38003849aa2ae1417dd6f9d Mon Sep 17 00:00:00 2001 From: Michal Vrba Date: Thu, 11 Dec 2025 15:53:47 +0100 Subject: [PATCH] Revert "Add animated floating musical notes background" This reverts commit 95ca948743a137f65faa764a2b86877d91e03a8a. --- TuneRipper/Pages/Home.razor | 358 ++++++++++++++++++++++++++++++-- TuneRipper/Pages/Home.razor.css | 73 ------- 2 files changed, 345 insertions(+), 86 deletions(-) diff --git a/TuneRipper/Pages/Home.razor b/TuneRipper/Pages/Home.razor index e0790f5..fa2763c 100644 --- a/TuneRipper/Pages/Home.razor +++ b/TuneRipper/Pages/Home.razor @@ -6,19 +6,6 @@ TuneRipper - YouTube to MP3 Downloader - -
-
♪
-
♫
-
♪
-
♬
-
♫
-
♪
-
♬
-
♫
-
♪
-
-
@@ -182,6 +169,351 @@
+ + @code { private string youtubeUrl = ""; private string outputMessage = ""; diff --git a/TuneRipper/Pages/Home.razor.css b/TuneRipper/Pages/Home.razor.css index 12b52bc..1f71edd 100644 --- a/TuneRipper/Pages/Home.razor.css +++ b/TuneRipper/Pages/Home.razor.css @@ -1,65 +1,4 @@ -/* Page Background and Floating Notes */ -.page-background { - position: relative; - min-height: 100vh; - display: flex; - align-items: center; - justify-content: center; - overflow: hidden; - background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e88e5 100%); - padding: 40px 20px; -} - -/* Floating Musical Notes */ -.music-notes { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - pointer-events: none; - z-index: 1; -} - -.note { - position: absolute; - font-size: 2rem; - color: rgba(255, 255, 255, 0.4); - animation: float-note 6s linear infinite; - text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); -} - -.note:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; } -.note:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 7s; } -.note:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 9s; } -.note:nth-child(4) { left: 40%; animation-delay: 0.5s; animation-duration: 6s; } -.note:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 8s; } -.note:nth-child(6) { left: 60%; animation-delay: 1.5s; animation-duration: 7s; } -.note:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 9s; } -.note:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 6s; } -.note:nth-child(9) { left: 90%; animation-delay: 0.8s; animation-duration: 8s; } - -@keyframes float-note { - 0% { - transform: translateY(100vh) rotate(0deg); - opacity: 0; - } - 10% { - opacity: 1; - } - 90% { - opacity: 1; - } - 100% { - transform: translateY(-100px) rotate(360deg); - opacity: 0; - } -} - -/* Main Content Container */ .hero-section { - position: relative; - z-index: 10; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 20px; @@ -209,7 +148,6 @@ font-size: 0.9rem; } -/* Responsive Design */ @media (min-width: 640px) { .input-container { flex-direction: row; @@ -242,15 +180,4 @@ .feature { min-width: 100px; } -} - -/* Responsive adjustments for notes */ -@media (max-width: 480px) { - .note { - font-size: 1.5rem; - } - - .page-background { - padding: 20px 10px; - } } \ No newline at end of file