-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathindex.css
More file actions
45 lines (41 loc) · 677 Bytes
/
index.css
File metadata and controls
45 lines (41 loc) · 677 Bytes
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
body{
font-family: serif;
width: 100%;
max-height: 650px;
text-align: center;
}
.bartext{
fill:green;
}
.bar{
fill:steelblue;
}
text{
font-size: 12px;
}
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 10px;
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
box-sizing: border-box;
display: inline;
font-size: 10px;
width: 80%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
content: "\25BC";
position: absolute;
text-align: center;
}
/* Style northward tooltips differently */
.d3-tip.n:after {
margin: -2px 0 0 10%;
top: 100%;
left: 0;
}