102 lines
1.9 KiB
CSS
102 lines
1.9 KiB
CSS
:root {
|
|
--theme: #cf2d1f;
|
|
--title: #ffffff;
|
|
--text: #777777;
|
|
--body-font: 'Poppins', sans-serif;
|
|
}
|
|
|
|
.pagination-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 60px;
|
|
/* margin-bottom: 40px; */
|
|
}
|
|
|
|
.pagination-container {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.pagination-arrow {
|
|
min-width: 45px;
|
|
height: 45px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #e0e0e0;
|
|
background-color: #fff;
|
|
color: var(--theme);
|
|
font-family: var(--body-font);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border-radius: 4px;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.pagination-arrow:hover:not(:disabled) {
|
|
background-color: var(--theme);
|
|
border-color: var(--theme);
|
|
color: var(--title);
|
|
}
|
|
|
|
.pagination-arrow:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.pagination-number {
|
|
min-width: 45px;
|
|
height: 45px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #e0e0e0;
|
|
background-color: #fff;
|
|
color: var(--text);
|
|
font-family: var(--body-font);
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border-radius: 4px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.pagination-number:hover {
|
|
background-color: var(--theme);
|
|
border-color: var(--theme);
|
|
color: var(--title);
|
|
}
|
|
|
|
.pagination-number.active {
|
|
background-color: var(--theme);
|
|
border-color: var(--theme);
|
|
color: var(--title);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 575px) {
|
|
.pagination-container {
|
|
gap: 5px;
|
|
}
|
|
|
|
.pagination-arrow,
|
|
.pagination-number {
|
|
min-width: 38px;
|
|
height: 38px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pagination-arrow {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.pagination-number {
|
|
padding: 0 10px;
|
|
}
|
|
} |