-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (88 loc) · 1.51 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
body {
background-color: #F7F0E4;
font-family: 'Libre Baskerville', serif;
font-size: 13px;
text-align: center;
}
h2 {
margin: 50px;
}
#choose-party {
display: inline-block;
margin: auto;
}
.choose-party-btn {
border: 2px solid black;
padding: 10px;
border-radius: 5px;
cursor: pointer;
float: left;
width: 100px;
margin: 0px 10px 0px 10px;
}
.base {
fill: #F7F0E4; /*none;*/
stroke: #ccc;
}
.line {
stroke-opacity: .5;
fill: none;
pointer-events: none;
}
.line.special-delegate {
stroke-opacity: 1;
stroke: maroon;
}
.circle {
stroke: black;
stroke-width: 1px;
}
.circle.special-delegate, .total-sdTot{
stroke: maroon;
stroke-width: 1.5px;
}
.circle.delegate, .total-del {
stroke: black;
stroke-width: 1px;
}
.circle.undelegate, .total-undel {
fill: gray;
stroke: white;
stroke-width: 1.5px;
}
table, th, td {
padding-left: 3px;
padding-right: 3px;
text-align: right;
font-size: 13px;
}
#precincts {
font-size: .7em;
color: black;
}
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(255, 255, 255, 0.95);
color: black;
border-radius: 15px;
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
box-sizing: border-box;
display: inline;
font-size: 13px;
width: 100%;
line-height: 1;
color: rgba(255, 255, 255, 0.95);
content: "\25BC";
position: absolute;
text-align: center;
}
/* Style northward tooltips differently */
.d3-tip.n:after {
margin: -1px 0 0 0;
top: 100%;
left: 0;
}