-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathds.html
135 lines (118 loc) · 2.9 KB
/
ds.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
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/w3.css">
<link rel="stylesheet" href="/node_modules/ol/ol.css">
<style>
* {
box-sizing: border-box;
}
/* Navbar container */
.navbar {
overflow: hidden;
background-color: #333;
}
/* Links inside the navbar */
.navbar a {
float: left;
font-size: 2vw;
color: white;
text-align: center;
padding: 50px;
text-decoration: none;
}
/* The dropdown container */
.dropdown {
float: left;
overflow: hidden;
}
/* Dropdown button */
.dropdown .dropbtn {
font-size: 2vw;
border: none;
outline: none;
color: white;
padding: 50px;
background-color: inherit;
font-family: inherit; /* Important for vertical align on mobile phones */
margin: 0; /* Important for vertical align on mobile phones */
}
/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
background-color: #000033;
font-size: 2vw;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
float: none;
color: black;
padding: 12px;
font-size: 2vw;
text-decoration: none;
display: block;
text-align: left;
}
/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
background-color: #ddd;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}
.cs {
background-color: #e5e5e5;
float: left;
width: 20%;
padding: 15px;
margin-top: 7px;
text-align: center;
font-size:2vw;
}
@media only screen and (max-width: 620px) {
/* For mobile phones: */
.main, .cs {
width: 100%;
}
}
</style>
</head>
<body style="font-family:Verdana;color:#aaaaaa;height:3000px">
<div class="navbar">
<a href="ds.html">Dam Impacts</a>
<a href="cs.html">Case Studies</a>
<div class="dropdown">
<button class="dropbtn">More
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
<a href="#">About us</a>
<a href="#">Statistical explorer</a>
<a href="#">Technical information</a>
</div>
</div>
</div>
<div class="main" style="height:3000px; padding: 100px">
<h1 style="font-size: 2vw"> Dam locations</h1>
<h2 style="font-size: 1.2vw"> <em>Please select a dam using the map or the search bar.</em></h1>
<div class="search-container">
<form action="/action_page.php">
<input type="text" placeholder="Search.." name="search">
<button type="submit">Submit</button>
</form>
</div>
<div id="map", style="height:100%;width:100%"></div>
</div>
<script type="module" src="./main.js"></script>
</body>
</html>