Skip to content

Commit fadf6d9

Browse files
committed
Add pagination.css for styling buttons
1 parent 6e70121 commit fadf6d9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

styles/pagination.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.pagination {
2+
display: flex;
3+
justify-content: center;
4+
align-items: center;
5+
margin-top: 20px;
6+
}
7+
8+
.pagination button {
9+
font-size: medium;
10+
margin: 0 10px;
11+
padding: 10px 20px;
12+
background-color: #007bff;
13+
color: white;
14+
border: none;
15+
border-radius: 5px;
16+
cursor: pointer;
17+
}
18+
19+
.pagination button:hover {
20+
background-color: #3a90d5; /* Background color on hover */
21+
transform: scale(1.05); /* Slightly enlarge button on hover */
22+
}
23+
24+
.pagination button:disabled {
25+
background-color: #c0c0c0;
26+
cursor: not-allowed;
27+
}
28+
29+
.pagination #page-info {
30+
font-weight: bold;
31+
}

0 commit comments

Comments
 (0)