-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweather.html
More file actions
213 lines (195 loc) · 9.75 KB
/
weather.html
File metadata and controls
213 lines (195 loc) · 9.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="./weather.css" />
</head>
<body>
<div class="load">
<div class="loader">
<svg class="pl" viewBox="0 0 160 160" width="160px" height="160px" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="grad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#000"></stop>
<stop offset="100%" stop-color="#fff"></stop>
</linearGradient>
<mask id="mask1">
<rect x="0" y="0" width="160" height="160" fill="url(#grad)"></rect>
</mask>
<mask id="mask2">
<rect x="28" y="28" width="104" height="104" fill="url(#grad)"></rect>
</mask>
</defs>
<g>
<g class="pl__ring-rotate">
<circle class="pl__ring-stroke" cx="80" cy="80" r="72" fill="none" stroke="hsl(223,90%,55%)" stroke-width="16" stroke-dasharray="452.39 452.39" stroke-dashoffset="452" stroke-linecap="round" transform="rotate(-45,80,80)"></circle>
</g>
</g>
<g mask="url(#mask1)">
<g class="pl__ring-rotate">
<circle class="pl__ring-stroke" cx="80" cy="80" r="72" fill="none" stroke="hsl(193,90%,55%)" stroke-width="16" stroke-dasharray="452.39 452.39" stroke-dashoffset="452" stroke-linecap="round" transform="rotate(-45,80,80)"></circle>
</g>
</g>
<g>
<g stroke-width="4" stroke-dasharray="12 12" stroke-dashoffset="12" stroke-linecap="round" transform="translate(80,80)">
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(-135,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(-90,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(-45,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(0,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(45,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(90,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(135,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,10%,90%)" points="0,2 0,14" transform="rotate(180,0,0) translate(0,40)"></polyline>
</g>
</g>
<g mask="url(#mask1)">
<g stroke-width="4" stroke-dasharray="12 12" stroke-dashoffset="12" stroke-linecap="round" transform="translate(80,80)">
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(-135,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(-90,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(-45,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(0,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(45,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(90,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(135,0,0) translate(0,40)"></polyline>
<polyline class="pl__tick" stroke="hsl(223,90%,80%)" points="0,2 0,14" transform="rotate(180,0,0) translate(0,40)"></polyline>
</g>
</g>
<g>
<g transform="translate(64,28)">
<g class="pl__arrows" transform="rotate(45,16,52)">
<path fill="hsl(3,90%,55%)" d="M17.998,1.506l13.892,43.594c.455,1.426-.56,2.899-1.998,2.899H2.108c-1.437,0-2.452-1.473-1.998-2.899L14.002,1.506c.64-2.008,3.356-2.008,3.996,0Z"></path>
<path fill="hsl(223,10%,90%)" d="M14.009,102.499L.109,58.889c-.453-1.421,.559-2.889,1.991-2.889H29.899c1.433,0,2.444,1.468,1.991,2.889l-13.899,43.61c-.638,2.001-3.345,2.001-3.983,0Z"></path>
</g>
</g>
</g>
<g mask="url(#mask2)">
<g transform="translate(64,28)">
<g class="pl__arrows" transform="rotate(45,16,52)">
<path fill="hsl(333,90%,55%)" d="M17.998,1.506l13.892,43.594c.455,1.426-.56,2.899-1.998,2.899H2.108c-1.437,0-2.452-1.473-1.998-2.899L14.002,1.506c.64-2.008,3.356-2.008,3.996,0Z"></path>
<path fill="hsl(223,90%,80%)" d="M14.009,102.499L.109,58.889c-.453-1.421,.559-2.889,1.991-2.889H29.899c1.433,0,2.444,1.468,1.991,2.889l-13.899,43.61c-.638,2.001-3.345,2.001-3.983,0Z"></path>
</g>
</g>
</g>
</svg>
</div>
</div>
<div class="main">
<img class="bg" src="./bg2.jpg" alt="">
<!-- <video class="bg" muted="" loop="" autoplay src="./footer.mp4" type="video/mp4"> -->
</video>
<!-- <video src="./bg.mp4" autoplay muted loop class="bg"></video> -->
<div class="flex1">
<div class="mobile">
<form action="">
<input type="text" id="city" class="search" placeholder="City">
<button class="btn1"><i class="bi bi-search"></i></button>
</form>
<div >
<!-- <img class="image" src="./cloud.png" alt=""> -->
<div class="container">
<div class="cloud front">
<span class="left-front"></span>
<span class="right-front"></span>
</div>
<span class="sun sunshine"></span>
<span class="sun"></span>
<div class="cloud back">
<span class="left-back"></span>
<span class="right-back"></span>
</div>
</div>
</div>
<div class="temp">
<h1 class="temphead" id="temphead">--</h1>
<p class="tempara">Temperature</p>
</div>
<div class="date">
<p >Day</p>
<p id="date">Date</p>
<p id="daynight">--</p>
</div>
<div class="location" id="location">
location
</div>
</div>
</div>
<div class="flex2">
<div class="content">
<div class="header">
<div class="today">
<div class="today2">Today</div>
<div class="tomorrow">Tomorrow</div>
</div>
<!-- <button class="theme-toggle-btn">Toggle Theme</button> -->
<button class="theme-toggle-btn toggle">
<span class="btntext">Dark Mode</span>
</button>
</div>
<div class="options">
<div class="box box1">
<div class="boxcontent">
<p class="windtext">Wind</p>
<p class="wind">--</p>
<p class="winddirection">Direction</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class="windtext humiditytext">Humidity</p>
<p class="wind humidity">--</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class="windtext pressuretext">Pressure</p>
<p class="wind pressure">--</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class="windtext uvtext">UV</p>
<p class="wind uv">--</p>
<p class="winddirection uvlow">Risk</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class="windtext mintext">Min Temperature</p>
<p class="wind min">--</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class="windtext maxtext">Max Temperature</p>
<p class="wind max">--</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class=" sunrise">Sunrise</p>
<p class=" sunset">Sunset</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class=" sunrise moonrise">Moonnrise</p>
<p class=" sunset moonset">Moonset</p>
</div>
</div>
<div class="box">
<div class="boxcontent">
<p class="windtext phasetext">Moon Phase</p>
<p class="wind phase">--</p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="weather.js"></script>
<!-- <script src="https://cdn.tailwindcss.com"></script> -->
</html>