forked from abwood/d3cesium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathd3chart.css
47 lines (42 loc) · 891 Bytes
/
d3chart.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
#chart {
display:block;
position: absolute;
top: 5px;
left: 5px;
background: rgba(42, 42, 42, 0.8);
border-radius: 7px;
-webkit-transform: scale(0.4);
-webkit-transform-origin: 0 0;
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-moz-transform: scale(0.4);
-moz-transform-origin: 0 0;
-moz-transition-property: -moz-transform;
-moz-transition-duration: 1s;
transform: scale(0.4);
transform-origin: 0 0;
transition-property: transform;
transition-duration: 1s;
}
@media only screen and (min-width: 1920px) {
#chart {
-webkit-transform: scale(0.75);
-moz-transform: scale(0.75);
transform: scale(0.75);
}
}
#chart:hover {
-webkit-transform: scale(1);
-moz-transform: scale(1);
transform: scale(1);
}
.label, .tick {
fill: #eee;
}
.year {
font-size: 40px;
}
.domain {
fill: none;
stroke: #eee;
}