-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (96 loc) · 1.6 KB
/
style.css
File metadata and controls
111 lines (96 loc) · 1.6 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@font-face {
font-family: inter;
src: url(./assets/fonts/Inter.ttf);
}
* {
margin: 0;
padding: 0;
}
body {
margin: 1em;
font-family: inter;
}
.icon {
width: 25px;
height: 20px;
}
.icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
.small-text {
color: #666;
font-size: 0.8em;
margin-top: -2em;
margin-bottom: 0.4em;
}
.small-red {
font-size: 0.7em;
color: red;
}
.data-cards-container {
margin-top: 1em;
flex-wrap: wrap;
}
.small-data-card {
margin-right: 1em;
padding: 1em 1.5em;
border-radius: 4px;
margin-bottom: 1em;
background: #fafbff;
box-shadow: rgba(99, 99, 99, 0.11) 0px 2px 8px 0px;
}
.small-data-card .title {
font-size: 1.2em;
color: #333;
}
.small-data-card .value {
font-size: 1.5em;
color: #333;
}
.small-chart {
width: 180px;
height: 80px;
}
#pie-chart {
width: 40%;
height: 400px;
max-width: 700px;
}
#map-chart {
width: 55%;
}
#candlestickChart {
width: 100%;
height: 600px;
margin: 0 auto;
}
#candlestickChartTitle {
text-align: center;
margin-top: 3em;
margin-bottom: 1em;
}
@media (max-width: 768px) {
.small-data-card {
width: 100%;
padding-top: 3em;
max-height: none !important;
align-items: flex-start;
height: fit-content;
flex-direction: column;
}
.small-chart {
width: 100%;
}
.pie-and-map {
flex-direction: column-reverse;
}
#map-chart {
width: 100%;
height: 400px;
}
#pie-chart {
width: 100%;
}
}