-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
85 lines (84 loc) · 1.51 KB
/
style.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
body, h1, table, td, th {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Verdana, sans-serif;
background-color: #1e1e1e;
color: #dcdcdc;
line-height: 1.6;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size: 2.5rem;
margin-bottom: 20px;
text-align: center;
color: #ffffff;
border-bottom: 2px solid #0078D4;
padding-bottom: 10px;
letter-spacing: 1px;
}
.table-container {
width: 100%;
max-width: 1200px;
height: 700px;
overflow-y: auto;
overflow-x: auto;
border: 1px solid #3a3a3a;
background-color: #2e2e2e;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
margin: 20px 0;
border-radius: 8px;
padding: 10px;
}
table {
width: 100%;
border-collapse: collapse;
}
thead {
background-color: #0078D4;
color: #ffffff;
text-align: left;
font-size: 1rem;
}
th, td {
padding: 10px 15px;
text-align: left;
color: #e0e0e0;
}
tr:nth-child(even) {
background-color: #292929;
}
tr:nth-child(odd) {
background-color: #333333;
}
tr:hover {
background-color: #444444;
}
td {
font-size: 0.9rem;
}
th {
font-size: 1rem;
font-weight: 600;
}
thead tr:first-child td {
font-size: 1.2rem;
font-weight: bold;
color: #ffffff;
background-color: #0058A4;
text-align: center;
}
@media (max-width: 600px) {
table, th, td {
font-size: 0.8rem;
}
h1 {
font-size: 2rem;
}
}