|
| 1 | +/* Body and General Styling */ |
| 2 | +body { |
| 3 | + background-color: #f4f4f4; /* Light background for a cleaner look */ |
| 4 | + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; |
| 5 | + color: #333; |
| 6 | + margin: 0; |
| 7 | + padding: 0; |
| 8 | +} |
| 9 | + |
| 10 | +/* Container Styling */ |
| 11 | +.container { |
| 12 | + position: relative; |
| 13 | + padding: 20px; |
| 14 | +} |
| 15 | + |
| 16 | +/* Title */ |
| 17 | +.title { |
| 18 | + text-align: center; |
| 19 | + font-size: 2rem; |
| 20 | + margin-bottom: 20px; |
| 21 | + color: #333; /* Standard dark color for the title */ |
| 22 | +} |
| 23 | + |
| 24 | +/* Hamburger Menu (Standard lines) */ |
| 25 | +.hamburger-menu { |
| 26 | + position: absolute; |
| 27 | + top: 20px; |
| 28 | + right: 20px; |
| 29 | + cursor: pointer; |
| 30 | + display: flex; |
| 31 | + flex-direction: column; |
| 32 | + justify-content: space-between; |
| 33 | + width: 30px; |
| 34 | + height: 20px; |
| 35 | +} |
| 36 | + |
| 37 | +.hamburger-line { |
| 38 | + height: 4px; |
| 39 | + background-color: #333; /* Dark lines for the hamburger */ |
| 40 | + border-radius: 2px; |
| 41 | +} |
| 42 | + |
| 43 | +/* Dropdown Menu for Genres */ |
| 44 | +.dropdown-menu { |
| 45 | + position: absolute; |
| 46 | + top: 60px; |
| 47 | + right: 20px; |
| 48 | + background-color: #fff; /* White background for the dropdown */ |
| 49 | + border: 1px solid #ccc; /* Light border for the dropdown */ |
| 50 | + padding: 10px; |
| 51 | + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */ |
| 52 | + border-radius: 5px; |
| 53 | + display: none; /* Hidden by default */ |
| 54 | +} |
| 55 | + |
| 56 | +.dropdown-menu.active { |
| 57 | + display: block; /* Show dropdown when active */ |
| 58 | +} |
| 59 | + |
| 60 | +.dropdown-menu ul { |
| 61 | + list-style-type: none; |
| 62 | + margin: 0; |
| 63 | + padding: 0; |
| 64 | +} |
| 65 | + |
| 66 | +.dropdown-menu ul li { |
| 67 | + padding: 10px; |
| 68 | + cursor: pointer; |
| 69 | + color: #333; /* Standard text color */ |
| 70 | + transition: background-color 0.3s ease; |
| 71 | +} |
| 72 | + |
| 73 | +.dropdown-menu ul li:hover { |
| 74 | + background-color: #f0f0f0; /* Lighter background on hover */ |
| 75 | +} |
| 76 | + |
| 77 | +/* Search Form */ |
| 78 | +.search-form { |
| 79 | + display: flex; |
| 80 | + justify-content: center; |
| 81 | + margin-bottom: 20px; |
| 82 | +} |
| 83 | + |
| 84 | +.search-input { |
| 85 | + padding: 12px; |
| 86 | + font-size: 1.1rem; |
| 87 | + border-radius: 5px; |
| 88 | + border: 2px solid #ccc; /* Neutral border color */ |
| 89 | + background-color: #fff; /* White background for the input */ |
| 90 | + color: #333; |
| 91 | + outline: none; |
| 92 | + transition: border-color 0.3s, box-shadow 0.3s ease-in-out; |
| 93 | +} |
| 94 | + |
| 95 | +.search-input:focus { |
| 96 | + border-color: #333; /* Dark border on focus */ |
| 97 | + box-shadow: 0 0 5px #ccc; /* Subtle box-shadow on focus */ |
| 98 | +} |
| 99 | + |
| 100 | +.search-button { |
| 101 | + padding: 12px 20px; |
| 102 | + font-size: 1.1rem; |
| 103 | + background-color: #333; /* Dark button */ |
| 104 | + color: white; |
| 105 | + border: none; |
| 106 | + border-radius: 5px; |
| 107 | + cursor: pointer; |
| 108 | + text-transform: uppercase; |
| 109 | + letter-spacing: 1px; |
| 110 | + transition: all 0.3s ease-in-out; |
| 111 | +} |
| 112 | + |
| 113 | +.search-button:hover { |
| 114 | + background-color: #555; /* Slightly lighter dark color on hover */ |
| 115 | + transform: scale(1.05); /* Slight zoom on hover */ |
| 116 | +} |
| 117 | + |
| 118 | +.search-button:active { |
| 119 | + background-color: #222; /* Darker color when clicked */ |
| 120 | + transform: scale(0.98); |
| 121 | +} |
0 commit comments