Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (54 loc) · 1.41 KB
/
Copy pathindex.html
File metadata and controls
54 lines (54 loc) · 1.41 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="https://maprva.org/img/logo.svg" />
<link rel="manifest" href="./manifest.json" />
<title>MapRVA</title>
<link
href="https://cdn.skypack.dev/maplibre-gl@5.12.0/dist/maplibre-gl.css"
rel="stylesheet"
/>
<style>
html,
body,
#map {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
padding: 10px;
font-family: sans-serif;
font-weight: bold;
font-size: 24px;
border-bottom: 1px solid black;
}
header img {
margin: 0 10px;
height: 32px;
vertical-align: middle;
}
.maplibregl-ctrl-group {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
</style>
</head>
<body>
<div id="map"></div>
<header><img src="https://maprva.org/img/logo.svg" />MapRVA</header>
<script type="module" src="./index.js"></script>
</body>
</html>