-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
62 lines (57 loc) · 1.58 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Map Kibera Water and Sanitation in COVID-19</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<link href='https://www.mapbox.com/base/latest/base.css' rel='stylesheet' />
<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v2.3.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v2.3.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; overflow:hidden;}
#map { position:absolute; top:0; bottom:0; left:400px; right:0px;}
#sidebar{
width:400px;
overflow:hidden;
top: 0px;
bottom: 0px;
position:absolute;
}
#menu {
position: relative;
left: 400px;
padding: 10px;
background: #fff;
width: 240px;
font-family: 'Open Sans', sans-serif;
}
input {
vertical-align: inherit
}
.half {
height:50%;
overflow:scroll;
}
.forty {
height: 40%;
overflow: scroll;
}
.sixty {
height: 60%;
overflow: scroll;
}
.title {
padding:10px;
text-transform:uppercase;
margin-bottom:0px;
}
.count {
float: right;
}
</style>
</head>
<body>
<div><a href="nairobi">Nairobi</a></div>
</body>
</html>