Skip to content

Commit 2005bc2

Browse files
Style Table
1 parent ddde9fa commit 2005bc2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/components/Table/DisplayTable.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ thead button {
2222
padding: 1rem 2rem;
2323
text-align: left;
2424
margin-bottom: 1px;
25-
color: #1A1053;
25+
background-color: #1A1053;
26+
color: #fff;
2627

2728
/* margin: 1rem; */
2829
transition: all .4s;
@@ -48,7 +49,7 @@ thead button.descending::after {
4849

4950
tbody td {
5051
padding: 1rem;
51-
color: #817C9B;
52+
color: #1A1053;
5253
/* border-radius: 2rem; */
5354
padding: 1rem 2rem;
5455
margin-top: 5rem;
@@ -70,4 +71,12 @@ tbody tr:hover {
7071

7172
tbody tr:hover td {
7273
color: #fff;
74+
}
75+
76+
tbody tr:nth-child(even) {
77+
background: rgba(235, 235, 235, 0.541);
78+
}
79+
80+
tbody tr:nth-child(even):hover {
81+
background-color: #1A1053;
7382
}

0 commit comments

Comments
 (0)