-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
84 lines (71 loc) · 1.35 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
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #F4F4F4;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
#chartContainer {
width: 80%;
margin: 20px auto;
background-color: #fff;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
canvas {
max-width: 100%;
height: auto;
}
/* Table styles */
table {
border-collapse: collapse;
width: 100%;
margin-top: 20px;
}
th, td {
border: 1px solid #ddd;
text-align: left;
padding: 8px;
}
th {
background-color: #f2f2f2;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
tr:hover {
background-color: #e8f4f8;
}
.chart-controls {
display: flex;
flex-direction: row;
margin-bottom: .5rem;
}
.chart-controls label {
margin: .5rem;
}
@media screen and (max-width: 768px) {
#chartContainer {
--margin: 5px;
margin: var(--margin);
padding: 0;
width: calc(100% - var(--margin) * 2);
/* height: 100vh; */
}
.chart-controls {
/* align-items: center; */
flex-direction: column;
white-space: pre-line;
}
.table-scroller {
overflow-x: scroll;
width: 100%;
width: 100vw;
}
}