-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
115 lines (100 loc) · 1.68 KB
/
main.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
110
111
112
113
114
115
/* Add styles here */
body {
margin: 40px auto;
width: 100%;
text-align: center;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: normal;
color: #333;
}
.notes {
max-width: 730px;
margin: 0 auto;
padding-top: 2em;
font-size: 12px;
clear: both;
color: #777;
}
.bar {
shape-rendering: crispEdges;
fill: #ccc;
}
.bar.below {
fill: #888;
}
svg {
font-size: 10px;
}
.exits {
display: none; /* todo - display exits? */
stroke-width: 0.5px;
stroke: black;
}
path {
stroke: black;
stroke-opacity: 0.3;
stroke-width: 0.5px;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.line {
/*shape-rendering: crispEdges;*/
/*stroke-width: 1.5px;*/
}
/* D3-tip styles */
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 10px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
pointer-events: none;
font-size: 10px;
text-align: left;
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
box-sizing: border-box;
display: inline;
font-size: 15px;
width: 100%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
position: absolute;
pointer-events: none;
}
/* Northward tooltips */
.d3-tip.n:after {
content: "\25BC";
margin: -3px 0 0 0;
top: 100%;
left: 0;
text-align: center;
}
/* Eastward tooltips */
.d3-tip.e:after {
content: "\25C0";
margin: -6px 0 0 0;
top: 50%;
left: -12px;
}
/* Southward tooltips */
.d3-tip.s:after {
content: "\25B2";
margin: 0 0 1px 0;
top: -8px;
left: 0;
text-align: center;
}
/* Westward tooltips */
.d3-tip.w:after {
content: "\25B6";
margin: -4px 0 0 -1px;
top: 50%;
left: 100%;
}