-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (94 loc) · 1.63 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Kanit", sans-serif;
}
:root {
--bg-color: rgb(44, 44, 44);
--bg-color-2: rgb(65, 61, 61);
--text-color: rgb(240, 240, 240);
--text-color-2: rgb(212, 186, 186);
--legend-select-color: #fff;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
color: var(--text-color);
background-color: var(--bg-color);
overflow: hidden;
}
.content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex: 1;
width: 100%;
}
.footer {
padding: 10px;
width: 100%;
text-align: center;
font-size: 0.8rem;
color: var(--text-color-2);
background-color: var(--bg-color-2);
}
#title {
text-align: center;
margin-bottom: 1rem;
font-size: 2.4rem;
color: var(--text-color);
}
#description {
text-align: center;
}
.cell {
stroke-width: 2px;
}
.axis text {
stroke: var(--text-color-2);
}
.axis path,
.axis line {
stroke: var(--bg-color);
}
.axis text {
font-weight: 100;
}
#tooltip {
display: flex;
flex-direction: column;
justify-content: center;
position: absolute;
padding: 20px 20px;
border-radius: 6px;
color: var(--text-color);
background-color: var(--bg-color-2);
pointer-events: none;
opacity: 0;
}
.legend-text {
font-size: 12px;
font-weight: 400;
fill: var(--text-color-2);
}
.legend-item {
cursor: pointer;
transition: 0.5s opacity;
}
.legend-item.selected {
opacity: 0.7;
stroke: var(--legend-select-color);
stroke-width: 3px;
}
.legend-item:hover {
opacity: 0.7;
}