nexora / frontend /src /app /movies /filmsPage.css
ChandimaPrabath's picture
movie player test
e787e40
raw
history blame
1.69 kB
/* Films Page Container */
.films-page-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
max-width: 1200px;
margin: 0 auto;
height: 80dvh;
overflow-y: scroll;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
scroll-behavior: smooth;
}
/* Films Grid */
.films-page {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 30px;
width: 100%;
justify-content: center;
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
.films-page {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 15px;
}
}
@media (max-width: 480px) {
.films-page {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
}
/* Pagination Controls */
.pagination-controls {
margin-top: 20px;
display: flex;
align-items: center;
position: absolute;
bottom: 1dvh;
}
/* Pagination Button */
.pagination-button {
background-color: #1c2354;
border: 1px solid #4339ff;
color: #ffffff;
border-radius: 50%;
padding: 10px;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background-color 1s, border .5s;
}
.pagination-button.enabled:hover {
background-color: #273281;
}
.pagination-button.disabled {
background-color: #333;
cursor: not-allowed;
border: none;
}
/* Page Info */
.page-info {
font-size: 1.2em;
margin: 0 15px;
color: #e0e0e0;
}
/* Handle Animations on Page Load */
@keyframes pageLoad {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.films-page-container {
animation: pageLoad 1s ease;
}