Skip to content

Commit

Permalink
Enhanced the pagination buttons (#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
biswajit-sarkar-007 authored Dec 12, 2024
1 parent 7a3192f commit 7315e2a
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1604,25 +1604,40 @@ section {

#pagination-controls {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
margin-bottom: 60px;
gap: 15px;
margin: 20px 0;
}

#pagination-controls button {
color: black;
background: linear-gradient(145deg, #e0e0e0, #ffffff);
border: none;
border-radius: 30px;
color: #333;
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
padding: 10px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2), -5px -5px 10px rgba(255, 255, 255, 0.6);
cursor: pointer;
font-size: medium;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pagination-controls button:hover {
transform: translateY(-5px);
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.7);
background: linear-gradient(145deg, #1196c3, #36b3d5);
}

#pagination-controls #prev {
margin-right: 50px;
#pagination-controls button:active {
transform: translateY(2px);
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3), -3px -3px 5px rgba(255, 255, 255, 0.7);
}

#pagination-controls #next {
margin-left: 50px;
#pagination-controls span {
font-size: 16px;
font-weight: bold;
color: #555;
}

#pagination-controls #page-info {
Expand Down Expand Up @@ -2188,4 +2203,4 @@ footer {
text-align: center;
flex-basis: 100%;
}
}
}

0 comments on commit 7315e2a

Please sign in to comment.