-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
118 lines (98 loc) · 1.64 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body {
margin: 25px;
font-family: Helvetica, Arial, sans-serif;
}
.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: 2px 9px;
}
.container {
width: 100%;
}
#legend-container,
#legend-container-mobile {
margin-top: 2rem;
}
p.legend-mobile {
text-align: center;
margin-bottom: .8rem;
}
.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: 1.8em;
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 rgba(0, 0, 0, .1);
}
g.features {
stroke: #eee;
}
g.features path:hover {
opacity: 0.5;
}
h3.state-name {
text-align: center;
}
h1#map-title {
text-align: center;
}
ul {
margin-left: 2em;
}
@media only screen and (max-width: 725px) {
#legend-container {
display: none;
}
.tooltip {
display: none;
}
}
@media only screen and (min-width: 726px) {
#legend-container-mobile {
display: none;
}
}
@media only screen and (max-width: 400px) {
h1#map-title {
font-size: 3.3rem;
text-align: center;
}
}