-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
295 lines (246 loc) · 5.34 KB
/
index.css
File metadata and controls
295 lines (246 loc) · 5.34 KB
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
/* Tailwind imports */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Global body styling */
body {
@apply bg-darkBg-800 text-white;
background: linear-gradient(to bottom, #0a1128, #1a237e); /* Background gradient */
min-height: 100vh;
font-family: 'Roboto', sans-serif; /* Ensure a more readable font */
color: #ffffff; /* Ensure text is white by default */
/* Removed animation */
}
/* Custom scrollbar styling */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
@apply bg-darkBg-900;
}
::-webkit-scrollbar-thumb {
@apply bg-cinepix-700 rounded-full;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-cinepix-600;
}
/* Code font */
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
/* Slick carousel styling */
.hero-carousel {
margin-top: 0 !important;
position: relative;
z-index: 10;
/* Removed animation */
}
.hero-carousel .slick-slide {
padding: 0;
}
.hero-carousel .slick-prev,
.hero-carousel .slick-next {
z-index: 15; /* Ensure arrows are above content */
width: 40px;
height: 40px;
background-color: rgba(0, 0, 0, 0.5); /* Add background for visibility */
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
/* Removed fadeIn animation */
}
.hero-carousel .slick-prev {
left: 20px;
}
.hero-carousel .slick-next {
right: 20px;
}
.hero-carousel .slick-prev:before,
.hero-carousel .slick-next:before {
font-size: 20px;
color: #ef4444 !important;
}
.hero-carousel .slick-dots {
bottom: 20px;
}
.hero-carousel .slick-dots li button:before {
color: white;
}
.slick-slide > div {
margin: 0 10px;
}
.slick-list {
margin: 0 -10px;
}
/* Nav styles */
.nav-gradient {
background: linear-gradient(to right, #0a1128, #1a237e);
}
.nav-blur {
backdrop-filter: blur(10px);
background-color: rgba(10, 17, 40, 0.95);
/* Removed fadeIn animation */
}
/* Movie Showtimes Container */
.movie-showtimes-container {
padding: 20px;
text-align: center;
/* Removed fadeIn animation */
}
/* Header Styling */
header h1 {
font-size: 2.25rem; /* Increased font size for better visibility */
color: #fff;
margin-bottom: 10px;
/* Removed fadeIn animation */
}
header p {
font-size: 1rem;
color: #ccc;
}
/* Movies List as a Grid */
.movies-list {
@apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 justify-items-center;
margin-top: 20px;
padding: 0 10px;
/* Removed fadeIn animation */
}
/* Movie Card Styling */
.movie-card {
@apply bg-darkBg-700 p-5 rounded-lg max-w-xs cursor-pointer overflow-hidden transition-all duration-300 ease-in-out;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
position: relative;
/* Removed fade-in animation */
}
.movie-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
/* Removed hover animation */
}
/* Movie Poster Styling */
.movie-card img {
width: 100%;
height: auto;
object-fit: cover;
border-radius: 8px;
/* Removed fadeIn animation */
}
/* Expanded Movie Card Styling */
.movie-card.expanded {
background-color: #1a1a1a;
border: 2px solid #3498db;
/* Removed scale-in animation */
}
.movie-card.expanded .movie-details {
margin-top: 10px;
padding: 20px;
border: 2px solid #3498db;
border-radius: 10px;
background-color: #2a2a2a;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
/* Removed fade-in animation */
}
.movie-card.expanded p {
color: #ccc;
font-size: 0.9rem;
margin-top: 5px;
}
/* Movie Card Title */
.movie-card h3 {
font-size: 1.3rem;
color: #fff;
margin-top: 10px;
text-align: center;
/* Removed fadeIn animation */
}
/* Movie Card Button */
.movie-card button {
@apply bg-cinepix-600 text-white py-2 px-4 rounded transition-colors duration-300;
margin-top: 10px;
/* Removed buttonFadeIn animation */
}
.movie-card button:hover {
background-color: #2980b9;
}
/* Responsive Design */
@media (max-width: 1200px) {
.movies-list {
grid-template-columns: repeat(2, 1fr); /* Two columns */
}
.movie-card {
max-width: 90%;
padding: 15px;
}
.movie-card h3 {
font-size: 1.2rem;
}
.movie-card button {
padding: 12px 15px;
}
}
@media (max-width: 768px) {
.movies-list {
grid-template-columns: repeat(2, 1fr); /* Two columns on smaller screens */
}
.movie-card {
max-width: 100%;
padding: 15px;
}
.movie-card h3 {
font-size: 1.2rem; /* Slightly smaller for smaller screens */
}
.movie-card button {
padding: 12px 15px; /* Adjusted padding */
}
}
@media (max-width: 480px) {
.movies-list {
grid-template-columns: repeat(2, 1fr); /* Two columns for very small screens */
}
.movie-card {
padding: 10px;
}
.movie-card h3 {
font-size: 1rem;
}
.movie-card button {
padding: 8px 12px;
}
}
.trailer-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
padding: 20px;
}
.trailer-card {
display: flex;
flex-direction: column;
align-items: center;
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
}
.trailer-video iframe {
width: 100%;
height: 100%;
border-radius: 8px;
margin-bottom: 10px;
}
.movie-details {
text-align: center;
padding-top: 10px;
}
.movie-details h3 {
margin: 0;
font-size: 18px;
}
.movie-details p {
margin: 5px 0;
font-size: 14px;
}