-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
240 lines (177 loc) · 10.7 KB
/
Copy pathindex.html
File metadata and controls
240 lines (177 loc) · 10.7 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
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather</title>
<!-- google font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<!-- bootstrap css file -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- font awesome -->
<link rel="stylesheet" href="css/all.min.css">
<!-- css file -->
<link rel="stylesheet" href="css/main.css">
</head>
<body class="mx-sm-auto">
<!-- =============Navbar====================== -->
<div class="header py-3">
<nav class="navbar navbar-expand-lg navbar-dark ">
<div class="container ">
<a class="navbar-brand d-flex align-items-center gap-3 " href="#home">
<div class="logo-img w-25">
<img src="images/logo.png" class="w-100" alt="cloud-logo">
</div>
<div class="logo-txt ">
<h1 class="navbar-brand">Weather</h1>
<small class="navbar-text">tagline goes here</small>
</div>
</a>
<button class="navbar-toggler rounded-5 py-3 my-3 custom-btn" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon text-info"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- main navbar items -->
<ul class="navbar-nav shadow-sm gap-2 mb-lg-0 mx-4 ms-auto text-center custom-nav-ul">
<li class="nav-item active py-3 ">
<a class="nav-link text-capitalize m-auto" style="width:90px;" href="#home">home</a>
</li>
<li class="nav-item py-3">
<a class="nav-link text-capitalize m-auto" style="width:90px;" href="#home">news</a>
</li>
<li class="nav-item py-3">
<a class="nav-link text-capitalize m-auto" style="width:120px;" href="#home">live cameras</a>
</li>
<li class="nav-item py-3">
<a class="nav-link text-capitalize m-auto" style="width:90px;" href="#home">photos</a>
</li>
<li class="nav-item py-3 border-bottom-0">
<a class="nav-link text-capitalize m-auto" style="width:90px;" href="#home">contact</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
<!-- ==============image background & find location=========================== -->
<div class="background-image" id="#home">
<div class="forcaste-container w-60 mx-auto">
<form id="findLocationForm" class="input-group position-relative mb-3 find-location mx-auto">
<input type="text" id="search" class="form-control text-white rounded-5 py-3" placeholder="Find your location">
<button id="submit" class="btn btn-info rounded-5 px-5 position-absolute" type="submit" value="Find">Find</button>
</form>
</div>
</div>
<!-- =============weather container===================================== -->
<div class="dark-background position-relative">
<div id="forcastMain" class="forcast-container mx-auto position-relative row d-flex flex-wrap mx-auto">
<!-- first card -->
<div id="today" class="card col-lg-4 col-sm-12 mb-3 mx-sm-2 text-bg-dark mb-3 weather-card " >
<div class="card-header w-100 text-capitalize d-flex justify-content-between text-white-50">
<p id="todayDayName" class=""></p>
<div>
<span id="todayDayNum"></span>
<span id="todayMonth" class=""></span>
</div>
</div>
<div class="card-body text-capitalize ">
<div id="todayLocation" class="location text-white-50"></div>
<div class="degree">
<span id="todayTemp" class="num">
</span>
<span>°</span>C
<br>
<div class="forcast-icon">
<img id="todayTempIcon" src="images/113.webp" alt="">
</div>
</div>
<div id="todayText" class="custom"></div>
<img id="todayHumidity" src="images/icon-umberella.png">
<span id="humidity" class="text-secondary">
</span>
<img id="todayWind" src="images/icon-wind.png">
<span id="wind" class="text-secondary">
</span>
<img src="images/icon-compass.png">
<span id="todayWindDir" class="text-secondary">
</span>
</div>
</div>
<!-- second card -->
<div id="tomorrow" class="card col-lg-4 col-sm-12 mb-3 mx-sm-2 text-bg-dark mb-3 weather-card-2 text-center">
<div class="card-header w-100 text-capitalize text-white-50">
<p class="next-day-name"></p>
</div>
<div class="card-body text-capitalize">
<div class="forcast-icon">
<img class="next-day-icon" src="images/113 (1).webp" alt="">
</div>
<div class="degree">
<span class="num max-temp">
</span>
<span>°</span>C
<br>
<small class="min-temp text-secondary">
</small>
<span class="text-secondary">°</span>
<br>
</div>
<div class="custom next-day-text "></div>
</div>
</div>
<!-- third card -->
<div id="afterTomorrow" class="card col-lg-4 col-sm-12 mb-3 mx-sm-2 text-bg-dark mb-3 weather-card-2 text-center text-white-50" >
<div class="card-header w-100 text-capitalize ">
<p class="next-day-name"></p>
</div>
<div class="card-body text-capitalize">
<div class="forcast-icon">
<img class="next-day-icon" src="images/113 (1).webp" alt="">
</div>
<div class="degree">
<span class="num max-temp">
</span>
<span>°</span>C
<br>
<small class="min-temp text-secondary ">
</small>
<span class="text-secondary">°</span>
<br>
</div>
<div class="custom next-day-text"></div>
</div>
</div>
</div>
</div>
<!-- =============footer====================== -->
<footer class="site-footer position-relative">
<div class="container">
<div class="row d-flex flex-wrap justify-content-center align-items-center ">
<form class="subscribe col-md-8 col-sm-12 my-4">
<div class="input-group ">
<input type="email" class="w-100 py-3 text-white " id="email" placeholder="Enter your Email... " >
<input type="button" class="position-absolute" id="subscribeBtn" value="Subscribe" >
</div>
</form>
<div class=" col-sm-12 col-md-4 col-md-offset-1 px-5 mx-auto ">
<div class="social-links d-sm-flex justify-content-sm-center py-sm-2 ">
<a href="#"><i class="fa-brands fa-facebook-f px-3"></i></a>
<a href="#"><i class="fa-brands fa-twitter"></i></a>
<a href="#"><i class="fa-brands fa-google-plus"></i></a>
<a href="#"><i class="fa-brands fa-pinterest"></i></a>
</div>
</div>
</div>
<p class="copy-right col-md-12 mx-4 text-secondary">
Copyright 2014 Company name. Designed by Themezy. All rights reserved
</p>
</div>
</footer>
<!-- bootstrap js -->
<script src="js/bootstrap.bundle.min.js"></script>
<!-- main js file -->
<script src="js/index.js"></script>
</body>
</html>