hatecomputers.club/static/css/table.css

32 lines
492 B
CSS
Raw Normal View History

2024-03-28 00:55:22 -04:00
table {
width: auto;
border-collapse: collapse;
border: 1px solid var(--border-color);
}
th,
td {
padding: 12px 20px;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
th,
thead {
background-color: var(--background-color-2);
}
2024-03-28 00:55:22 -04:00
tbody tr:nth-child(odd) {
background-color: var(--background-color);
2024-03-28 00:55:22 -04:00
color: var(--text-color);
}
tbody tr {
transition: background-color 0.3s ease;
}
tbody tr:hover {
background-color: var(--tr-color);
2024-03-28 00:55:22 -04:00
color: #2a2a2a;
}