-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforecast.html
226 lines (216 loc) · 8.75 KB
/
forecast.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!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.0">
<!-- favicons -->
<link rel="icon" href="./imgs/favicon.ico" />
<link rel="apple-touch-icon" href="./imgs/favicon-192.png" />
<meta name="author" content="Travolgi">
<!-- title page & SEO meta -->
<title>Forecast - WeatherCast HTML website template with striking design</title>
<meta name="description" content="Create an eye-catching website with pre-configured pages for weather forecasts, events, news and enjoy high-performance and advanced functionality.">
<meta name="keywords" content="weather, weather template, forecast, forecast template, weather news, meteorology, weather patterns, climate, climate analysis, atmospheric conditions, temperature trends, weather data, forecasting tools, climate, weather monitoring, tabs design, animate, google fonts, SEO Friendly, google maps, contact form, html website template, minimal design, background images, tab functionality, high-performance, weather forecasts, events, news">
<!-- google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@400;700&family=Encode+Sans:wght@400;700&family=Marcellus&display=swap">
<!-- css -->
<link rel="stylesheet" href="./css/fontawesome.min.css" />
<link rel="stylesheet" href="./css/aos.css">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/custom.css">
</head>
<body class="forecast">
<!-- preload -->
<div id="preload">
<!-- your logo here -->
<img src="./imgs/logo.svg" class="logo" alt="WeatherCast logo">
<p>loading...</p>
</div>
<!-- accessibility skip -->
<a href="#main" class="skip-to-content">Skip to content</a>
<!-- header -->
<header class="flex">
<!-- your logo here -->
<img src="./imgs/logo.svg" class="logo" alt="WeatherCast logo">
<!-- mobile navbar button -->
<button class="mobile-nav-toggle" aria-controls="header-nav" aria-expanded="false"><span class="sr-only">Menu</span></button>
<!-- navigation bar -->
<nav>
<ul id="header-nav" data-visible="false" class="flex header-nav underline-indicators">
<li>
<a href="/" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">01</span>Home
</a>
</li>
<li class="active">
<a href="forecast.html" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">02</span>Forecast
</a>
</li>
<li>
<a href="destination.html" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">03</span>Destination
</a>
</li>
<li>
<a href="news.html" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">04</span>News
</a>
</li>
</li>
<li>
<a href="contact.html" class="ff-sans-cond uppercase txt-white ls-2">
<span aria-hidden="true">05</span>Contact
</a>
</li>
</ul>
</nav>
</header>
<!-- page content -->
<main class="grid-container grid-container--forecast flow" id="main">
<h1 class="numb-title" data-aos="zoom-in" data-aos-delay="200"><span aria-hidden="true">02</span> Forecast</h1>
<!-- tabs image -->
<picture id="today-img" tabindex="0" data-aos="zoom-in" data-aos-delay="300">
<img src="./imgs/sun.svg" alt="Today Forecast - WeatherCast">
</picture>
<!-- tabs image -->
<picture id="tomorrow-img" tabindex="0" hidden>
<img src="./imgs/rain.svg" alt="Tomorrow Forecast - WeatherCast">
</picture>
<!-- tabs image -->
<picture id="weekend-img" tabindex="0" hidden>
<img src="./imgs/sun.svg" alt="Weekend Forecast - WeatherCast">
</picture>
<div class="flex underline-indicators tab-list" role="tablist" aria-label="forecast" data-aos="zoom-in" data-aos-delay="450">
<button aria-selected="true" role="tab" tabindex="0" aria-controls="today" data-image="today-img" class="uppercase txt-accent ff-sans-cond ls-2">Today</button>
<button aria-selected="false" role="tab" tabindex="-1" aria-controls="tomorrow" data-image="tomorrow-img" class="uppercase txt-accent ff-sans-cond ls-2">Tomorrow</button>
<button aria-selected="false" role="tab" tabindex="-1" aria-controls="weekend" data-image="weekend-img" class="uppercase txt-accent ff-sans-cond ls-2">This weekend</button>
</div>
<!-- tab content -->
<article class="forecast-info flow" id="today" tabindex="0" role="tabpanel" data-aos="zoom-in" data-aos-delay="550">
<!-- weather location -->
<h3 class="fs-400 ff-serif uppercase"><i class="fa-solid fa-location-dot"></i> Venice, Italy</h3>
<!-- weather temperature -->
<h2 class="fs-800 ff-serif uppercase">19/22 ° C</h2>
<p>Clear sky with very low probability of precipitation.</p>
<!-- weather data -->
<div class="forecast-meta flex">
<div>
<h3 class="fs-200 uppercase txt-accent">Precipitation</h3>
<p class="ff-serif uppercase">4% <i class="fa-solid fa-cloud-rain"></i></p>
</div>
<div>
<h3 class="fs-200 uppercase txt-accent">Wind speed</h3>
<p class="ff-serif uppercase">1.89 m/s <i class="fa-solid fa-wind"></i></p>
</div>
</div>
<div class="forecast-meta flex">
<div>
<h3 class="fs-200 uppercase txt-accent">Humidity</h3>
<p class="ff-serif uppercase">20% <i class="fa-solid fa-droplet"></i></p>
</div>
<div>
<h3 class="fs-200 uppercase txt-accent">Cloudiness</h3>
<p class="ff-serif uppercase">5% <i class="fa-solid fa-cloud"></i></p>
</div>
</div>
</article>
<!-- tab content -->
<article class="forecast-info flow" id="tomorrow" tabindex="0" role="tabpanel" hidden>
<!-- weather location -->
<h3 class="fs-400 ff-serif uppercase"><i class="fa-solid fa-location-dot"></i> Venice, Italy</h3>
<!-- weather temperature -->
<h2 class="fs-800 ff-serif uppercase">17/20 ° C</h2>
<p>Hight probability of precipitation and storm.</p>
<!-- weather data -->
<div class="forecast-meta flex">
<div>
<h3 class="fs-200 uppercase txt-accent">Precipitation</h3>
<p class="ff-serif uppercase">85% <i class="fa-solid fa-cloud-rain"></i></p>
</div>
<div>
<h3 class="fs-200 uppercase txt-accent">Wind speed</h3>
<p class="ff-serif uppercase">2.6 m/s <i class="fa-solid fa-wind"></i></p>
</div>
</div>
<div class="forecast-meta flex">
<div>
<h3 class="fs-200 uppercase txt-accent">Humidity</h3>
<p class="ff-serif uppercase">30% <i class="fa-solid fa-droplet"></i></p>
</div>
<div>
<h3 class="fs-200 uppercase txt-accent">Cloudiness</h3>
<p class="ff-serif uppercase">90% <i class="fa-solid fa-cloud"></i></p>
</div>
</div>
</article>
<!-- tab content -->
<article class="forecast-info flow" id="weekend" tabindex="0" role="tabpanel" hidden>
<!-- weather location -->
<h3 class="fs-400 ff-serif uppercase"><i class="fa-solid fa-location-dot"></i> Venice, Italy</h3>
<!-- weather temperature -->
<h2 class="fs-800 ff-serif uppercase">20/23 ° C</h2>
<p>Sun and clear sky with low probability of precipitation.</p>
<!-- weather data -->
<div class="forecast-meta flex">
<div>
<h3 class="fs-200 uppercase txt-accent">Precipitation</h3>
<p class="ff-serif uppercase">2% <i class="fa-solid fa-cloud-rain"></i></p>
</div>
<div>
<h3 class="fs-200 uppercase txt-accent">Wind speed</h3>
<p class="ff-serif uppercase">1 m/s <i class="fa-solid fa-wind"></i></p>
</div>
</div>
<div class="forecast-meta flex">
<div>
<h3 class="fs-200 uppercase txt-accent">Humidity</h3>
<p class="ff-serif uppercase">27% <i class="fa-solid fa-droplet"></i></p>
</div>
<div>
<h3 class="fs-200 uppercase txt-accent">Cloudiness</h3>
<p class="ff-serif uppercase">3% <i class="fa-solid fa-cloud"></i></p>
</div>
</div>
</article>
</main>
<!-- footer -->
<footer class="flex fadein">
<!-- copyright -->
<p>© WeatherCast <span id="thisYear"></span>. All Rights Reserved. Developed by <a href="/">Travolgi</a>.</p>
<!-- social links -->
<ul class="flex social">
<li>
<a href="#" title="Facebook">
<!-- social icon -->
<i class="fa-brands fa-facebook-f"></i>
</a>
</li>
<li>
<a href="#" title="Instagram">
<!-- social icon -->
<i class="fa-brands fa-instagram"></i>
</a>
</li>
<li>
<a href="#" title="Twitter">
<!-- social icon -->
<i class="fa-brands fa-twitter"></i>
</a>
</li>
<li>
<a href="#" title="Google Plus">
<!-- social icon -->
<i class="fa-brands fa-google-plus-g"></i>
</a>
</li>
</ul>
</footer>
<!-- js -->
<script src="./js/aos.js"></script>
<script src="./js/main.js" defer></script>
</body>
</html>