-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (83 loc) · 1.27 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
* {
font-family: 'Source Sans Pro', sans-serif;
}
body {
margin: 0;
background: #ecf0f1;
}
#nav {
background-color: #2c3e50;
color: white;
padding: 15px;
text-align: center;
}
#nav p {
margin: 4px;
}
#nav h2 {
margin: 0;
font-size: 1.5em;
}
#nav input {
margin-left: 20px;
}
.container {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
.right {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.chart-container {
display: inline-block;
width: 45%;
margin: 1% 2%;
vertical-align: top;
}
.tooltip {
opacity: 0;
position: absolute;
pointer-events: none;
border: 4px solid #2c3e50;
background-color: #ecf0f1;
padding: 10px;
border-radius: 6px;
}
.tooltip p {
margin: 2px;
}
.tooltip:after {
content: ' ';
position: absolute;
left: 50%;
border: 8px solid transparent;
border-top-color: #2c3e50;
bottom: -20px;
margin-left: -4px;
}
.country {
stroke: none;
}
.country:hover {
cursor: pointer;
}
.country.active {
stroke: #2c3e50;
stroke-width: 2px;
}
.y-axis-label {
font-size: 0.8em;
}
.tick text {
font-size: 1.5em;
}
@media screen and (max-width : 1100px) {
.container {
flex-direction: column ;
justify-content: space-around;
align-items: center ;
}
}