File size: 4,316 Bytes
0879a03 7428ad9 0879a03 7428ad9 0879a03 0504ed2 0879a03 0504ed2 0879a03 0504ed2 0879a03 0504ed2 0879a03 0504ed2 7428ad9 0879a03 7428ad9 0879a03 0504ed2 0879a03 0504ed2 0879a03 0504ed2 0879a03 7428ad9 0879a03 0504ed2 7428ad9 0879a03 0504ed2 7428ad9 0879a03 0504ed2 0879a03 a501e03 0879a03 7428ad9 0879a03 0504ed2 0879a03 0504ed2 0879a03 7428ad9 0504ed2 7428ad9 0504ed2 7428ad9 0504ed2 7428ad9 0504ed2 7428ad9 0504ed2 7428ad9 0504ed2 7428ad9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
body {
color: #e0e0e0; /* Light text color */
}
/* Container for the genre page */
.genre-page {
max-width: 100dvw;
margin: 0 auto;
padding: 20px;
background-color: #0a0b19; /* Slightly lighter dark background */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.genre-title-section {
display: flex;
justify-content: center;
align-items: center;
}
/* Section styling */
.section {
margin-bottom: 40px;
}
@media (orientation: landscape) {
.section {
margin-left: 25px;
margin-right: 25px;
}
}
.section h2 {
font-size: 1.8rem;
color: #cccccc; /* Lighter gray for section titles */
}
/* Horizontal scrolling container */
.genre-items-grid {
display: flex;
overflow-x: auto;
padding: 10px 0;
gap: 20px;
}
.genre-items-grid::-webkit-scrollbar {
height: 8px;
}
.genre-items-grid::-webkit-scrollbar-thumb {
background-color: #3c23cf;
border-radius: 4px;
}
.genre-items-grid::-webkit-scrollbar-track {
background-color: #2c2c2c;
}
/* Card for each item */
.genre-item-card {
background-color: #1d1f2d; /* Dark card background */
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
transition: transform 0.3s, box-shadow 0.3s;
flex: 0 0 200px; /* Fixed width for horizontal scrolling */
}
.genre-item-card:hover {
transform: scale(1.03);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}
/* Styling for item link */
.genre-item-link {
display: block;
text-decoration: none;
color: inherit;
}
.genre-item-image {
width: 100%;
height: 100px; /* Fixed height for consistency */
object-fit: cover; /* Maintain aspect ratio and fill container */
display: block;
}
/* Item information */
.genre-item-info {
padding: 5px;
}
.genre-item-title {
font-size: 1rem;
font-weight: bold;
margin: 0;
color: #ffffff; /* Light color for item titles */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; /* Handle overflow with ellipsis */
}
.genre-item-description {
font-size: 0.9rem;
color: #b0b0b0; /* Lighter gray for descriptions */
margin: 5px 0 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; /* Handle overflow with ellipsis */
}
/* Loading and error messages */
.error {
font-size: 1.2rem;
text-align: center;
margin-top: 50px;
}
.loading {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
justify-content: center;
align-items: center;
z-index: 100;
}
/* No items available message */
.no-items {
font-size: 1.2rem;
color: #888888; /* Light gray for no items message */
text-align: center;
margin-top: 20px;
}
/* Load More Button container */
.load-more-container {
text-align: center;
margin: 10px 0;
}
/* Load More Button styling */
.load-more-button {
background-color: #1a1c3f; /* Accent color */
color: #ffffff;
border: 1px solid #4339ff;
border-radius: 4px;
padding: 10px 20px;
margin-left: 15px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
}
.load-more-button:hover {
background-color: #3700b3; /* Darker shade for hover */
transform: scale(1.05);
}
.load-more-button:focus {
outline: none;
}
.genre-section-controls {
display: flex;
align-items: center;
text-align: center;
justify-content: space-between;
}
.genre-scroll-controls button {
margin-left: 10px;
margin-right: 10px;
}
.genre-filter-button {
margin-right: 10px;
}
.genre-bubbles-scroll-section{
display: flex;
overflow-x: auto;
width: 100%;
}
.genre-bubbles-scroll-section::-webkit-scrollbar {
height: 8px;
}
.genre-bubbles-scroll-section::-webkit-scrollbar-thumb {
background-color: #3c23cf;
border-radius: 4px;
}
.genre-bubbles-scroll-section::-webkit-scrollbar-track {
background-color: #2c2c2c;
}
.genre-bubbles {
text-align: center;
color: #ffffff; /* Light color for the title */
width: 92dvw;
display: flex;
}
.bubbles {
display: inline-block;
margin: 0 5px;
padding: 5px 10px;
border-radius: 20px;
background-color: #1d233e;
font-size: 14px;
color: white;
white-space: nowrap;
border: 1px solid #4339ff;
}
.genre-bubble-close-button {
font-size: 15px;
cursor: pointer;
padding: 2px;
color: #716ffc;
}
.bubble-close-button:hover {
color: red; /* Optional: Change color on hover */
} |