forked from kfigiela/zanocuj-w-lesie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (100 loc) · 3.48 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Zanocuj w Lesie: mapa obszarów</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="mobile-web-app-capable" content="yes">
<link href="https://api.mapbox.com/mapbox-gl-js/v2.2.0/mapbox-gl.css" rel="stylesheet" />
<link rel="stylesheet" href="public/controls.css"/>
<style>
body {
margin: 0;
padding: 0;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
@media (min-width: 600px) {
.map-overlay {
font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
position: absolute;
/* width: 25%; */
top: 0;
left: 0;
padding: 10px;
}
.map-overlay .map-overlay-inner {
background-color: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
border-radius: 3px;
padding: 10px;
margin-bottom: 10px;
}
.map-overlay h2 {
line-height: 24px;
display: block;
margin: 0 0 10px;
}
}
@media (max-width: 600px) {
.map-overlay {
font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
position: absolute;
width: 100%;
top: 0;
left: 0;
}
.map-overlay .map-overlay-inner {
background-color: rgba(255, 255, 255, 0.7);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
padding-top: 5px;
margin-bottom: 0px;
text-align: center;
}
.map-overlay h2 {
line-height: 1em;
font-size: 12px;
text-align: center;
display: block;
margin: 0 0 0px;
}
p {
margin: .3em;
display: inline-block;
}
}
</style>
</head>
<body>
<div id="map"></div>
<div class="map-overlay top">
<div class="map-overlay-inner">
<h2>Zanocuj w Lesie</h2>
<p><a href="https://www.lasy.gov.pl/pl/turystyka/program-zanocuj-w-lesie" target="_blank">Informacje o
programie</a> | <a href="https://github.com/kfigiela/zanocuj-w-lesie" target="_blank">Info</a> |
Aktualizacja 20.08.2021</p>
<p>Oficjalna mapa: <a href="https://www.bdl.lasy.gov.pl" target="_blank">BDL</a></p>
</div>
</div>
<script src="public/bundle.js"></script>
<script src="fingerprint.min.js"></script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-49684412-2', {
'storage': 'none',
'clientId': new Fingerprint().get()
});
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
</body>
</html>