forked from developmentseed/census-tracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.css
202 lines (201 loc) · 3.59 KB
/
site.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
body { margin:0; padding:0;font-family: 'Arial', 'sans-serif';color: #555;}
p {
font-size: 16px;
line-height: 20px;
}
a {color:#567CA3;text-decoration: none;}
a:hover {color: #4D6379;}
#banner {
position:fixed;
bottom:0;
left: 0;
right: 0;
height: 60px;
width: 100%;
background:#fff;
z-index: 100;
/* border-bottom: 1px solid #bbb;*/
}
#banner img.il {
cursor: pointer;
width: 60px;
float: left;
margin: 6px;
opacity: .6;
}
#banner img.il:hover {
opacity: .8;
}
#banner h3 {
float: left;
}
#banner .switcher {
float: left;
margin: 10px 10px 0 30px;
border: 1px solid #ddd;
}
.switcher a {
display: block;
float: left;
background: #fff;
cursor:pointer;
padding: 12px;
color: #567CA3;
font-size:12px;
transition: all 100ms linear;
}
.switcher a.all {
border-left: 1px solid #ddd;
}
.switcher a:hover, a.active {
background: #ddd;
color: #4D6379;
}
.legend {
border-top:1px solid #ddd;
margin:20px 0 0 0;
padding:20px 0px;
}
.legend li {
list-style: none;
float: left;
font-size:12px;
}
.legend span {
padding: 0px 10px;
margin-right: 10px;
}
span.ten {
border: 3px solid #6A788D;
}
span.two {
margin-left: 10px;
background: #fea;
padding-left: 10px;
border: 3px solid #fea;
}
#map {
position:absolute;
top:0;
bottom:0;
width:100%;
}
#spinner {
display: none;
width: 25px;
float: left;
margin: 26px 15px;
position: relative;
}
span.icon {
position: absolute;
margin: 30px;
right: 0px;
width: 16px;
height: 16px;
padding-right: 10px;
background-size:60%;
background-repeat: no-repeat;
display: inline-block;
opacity: .8;
cursor: pointer;
}
#about {
opacity: 0;
width: 300px;
background: #fff;
background: rgba(255, 255, 255, 0.9);
height: auto;
position: absolute;
top:20px;
right: 20px;
z-index: 10;
padding: 10px 20px;
}
#about.active {
opacity: 1;
transition: opacity .5s ease-in-out;
-moz-transition: opacity .5s ease-in-out;
-webkit-transition: opacity .5s ease-in-out;
}
.leaflet-popup-content-wrapper, .map-tooltip {
background: #fff;
background: rgba(255, 255, 255, .6);
/*border: 2px solid #fff;*/
}
.leaflet-popup-content .large {
font-size: 18px;
}
.leaflet-popup-content .title {
padding: 5px;
font-size: 12px;
}
.map-legend .swatch {
width:20px;
height:20px;
float:left;
margin-right:10px;
}
.leaflet-popup-close-button {
display: none;
}
.leaflet-popup-content-wrapper {
pointer-events: none;
}
table {
background:#fff;
max-width:100%;
border-spacing:0;
width:100%;
margin:10px 0;
border:1px solid #ddd;
border-collapse:separate;
*border-collapse:collapsed;
}
table tr.two td {
border-bottom: 1px solid #999;
}
td.year {
background: #fff;
border-right: 1px solid #999;
}
table th {
border-bottom: 1px solid #999;
}
table th,
table td {
padding:8px;
line-height:18px;
text-align:left;
}
table th {
background:#f6f6f6;
text-shadow:0 1px 0 #fff;
font-weight:bold;
vertical-align:bottom;
}
table td {
vertical-align:top;
}
table thead:first-child tr th,
table thead:first-child tr td {
border-top:0;
}
table thead:first-child tr:first-child th,
table tbody:first-child tr:first-child th,
table tbody:first-child tr:first-child td {
border-top:0;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 660px) {
#banner h1 {
display: none;
}
}
/* iPads (portrait and landscape) ----------- */
@media only screen and (max-width: 1024px) {
#banner h1 {
font-size: 20px;
line-height: 50px;
}
}