-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (87 loc) · 1.53 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
body {
margin: 25px;
}
.tooltip {
font-weight: bold;
padding: 0.5rem;
border: 1px solid silver;
color: #222;
background: #fff;
border-radius: 5px;
box-shadow: 0px 0px 5px 0px #a6a6a6;
opacity: 0.9;
position: absolute;
font-size: 1.5rem;
}
.hidden {
display: none;
}
#details, #initial {
margin-top: 2rem;
}
table {
margin-bottom: 0;
}
td, th {
padding: 6px 9px;
}
td {
text-align: right;
}
.container {
width: 100%;
}
.footer {
border-top: 1px solid silver;
color: #888888;
font-size: 1.25rem;
text-align: center;
margin-top: 1rem;
padding: 0.5rem;
}
#close-details {
color: #FA5858;
text-decoration: none;
font-size: 4rem;
text-align: right;
line-height: 4.5rem;
}
#close-details:hover {
color: red;
}
#map {
font-size: 0; /* to prevent margin at bottom of map container */
border: 1px solid silver;
background: #E6E6E6;
}
#legend {
border: 1px solid silver;
border-top: 0;
}
.legend-key path {
display: none;
}
.legend-key text {
font-size: 1rem;
}
.legend-key line {
stroke: #000;
shape-rendering: crispEdges;
}
/* Thanks to http://colorbrewer2.org/ */
.YlGnBu .q0-9{fill:rgb(255,255,217)}
.YlGnBu .q1-9{fill:rgb(237,248,177)}
.YlGnBu .q2-9{fill:rgb(199,233,180)}
.YlGnBu .q3-9{fill:rgb(127,205,187)}
.YlGnBu .q4-9{fill:rgb(65,182,196)}
.YlGnBu .q5-9{fill:rgb(29,145,192)}
.YlGnBu .q6-9{fill:rgb(34,94,168)}
.YlGnBu .q7-9{fill:rgb(37,52,148)}
.YlGnBu .q8-9{fill:rgb(8,29,88)}
g.features {
stroke: #d8d8d8;
stroke-width: 0.5;
}
g.features path:hover {
opacity: 0.5;
}