-
Notifications
You must be signed in to change notification settings - Fork 0
/
priorities copy.html
155 lines (136 loc) · 4.62 KB
/
priorities copy.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="noun_Vermont_1012843.png">
<title>Priorities</title>
<style>
* {box-sizing: border-box}
.mySlides {display: none}
img {vertical-align: middle;}
/* Slideshow container */
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}
/* Caption text */
.text {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: right;
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
</style>
</head>
<body>
<div class="grid-2">
<div class="section-1">
<!--<i class="fas fa-code fa-5x white"></i>-->
<img src="street.png" alt="DALL-E Image of a Street" height="150" width="150">
<h2 id="typewriter">Complete Streets Committee</h2>
<p>Montpelier, Vermont, USA</p>
<a href="https://www.montpelier-vt.org/907/Complete-Streets-Committee" target="blank"><i class="far fa-building"></i></a>
<a href="mailto:[email protected]"><i class="far fa-envelope"></i></a>
</div>
<div class="section-2">
<p>Priorities</p>
<div class="slideshow-container">
<div class="mySlides fade">
<div class="numbertext">1 / 2</div>
<body>
<a href="https://api.mapbox.com/styles/v1/david-ory/ckvlkkg2g11d014mu8f7gu008.html?title=view&access_token=pk.eyJ1IjoiZGF2aWQtb3J5IiwiYSI6ImNqdGdkZ3EyajAyeWgzeXAyN3g5ZGRzdHMifQ.5Y-TybBtlTLo6SnQzcZbhQ&zoomwheel=true&fresh=true#15.72/44.271195/-72.568974/22.5/1" target="blank">
<img src="file:///Users/wsp/Documents/GitHub/complete-streets-test/img/elm-street.png" style="width:50%">
</body>
<div class="text">Elm Street <br> A protected bicycle lane connecting <br> Main Street Middle School to <br> the North Branch Nature Center.</div>
</div>
<div class="mySlides fade">
<div class="numbertext">2 / 2</div>
<body>
<a href="https://api.mapbox.com/styles/v1/david-ory/ckvlkkg2g11d014mu8f7gu008.html?title=view&access_token=pk.eyJ1IjoiZGF2aWQtb3J5IiwiYSI6ImNqdGdkZ3EyajAyeWgzeXAyN3g5ZGRzdHMifQ.5Y-TybBtlTLo6SnQzcZbhQ&zoomwheel=true&fresh=true#17.9/44.257983/-72.57582/22.5/1" target="blank">
<img src="file:///Users/wsp/Documents/GitHub/complete-streets-test/img/barre-street.png" style="width:50%">
</body>
<div class="text">Barre Street <br> A two-way bicycle lane connecting <br> the shared-use paths on Stone Cutters <br> Way to those behind Shaw's.</div>
</div>
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
</div>
<p><font size="1">Last Updated July 2023.</font></p>
</div>
<script src="typewriter.js"></script>
<script>
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
</body>
</html>