-
Notifications
You must be signed in to change notification settings - Fork 2
/
track.css
62 lines (54 loc) · 1.06 KB
/
track.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
* {
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(to right, #6a11cb, #2575fc);
color: #333;
}
.table-container {
width: 70%;
max-width: 800px;
overflow-x: auto;
text-align: center;
background-color: #030303;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
h1 {
color: #fff;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
background-color: #fff;
border-radius: 8px;
overflow: hidden;
}
thead th {
background-color: #4CAF50;
color: white;
padding: 12px;
text-align: center;
font-weight: bold;
}
tbody td {
padding: 12px;
border: 1px solid #ddd;
}
tbody tr:nth-child(even) {
background-color: #f1f1f1;
}
tbody tr:hover {
background-color: #e0f7fa;
cursor: pointer;
transform: scale(1.02);
transition: all 0.2s ease;
}