-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
189 lines (183 loc) · 8.47 KB
/
Copy pathindex.html
File metadata and controls
189 lines (183 loc) · 8.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather App</title>
<link rel="stylesheet" href="./output.css" />
<link
href="https://cdn.jsdelivr.net/npm/remixicon@4.5.0/fonts/remixicon.css"
rel="stylesheet"
/>
</head>
<body>
<div
class="w-full h-screen bg-[url('https://images.pexels.com/photos/163255/sunrise-sun-morgenrot-skies-163255.jpeg')] bg-center bg-cover"
>
<div class="w-full h-full bg-[rgba(0,0,0,0.4)]">
<nav
class="flex h-[10vh] w-full justify-around items-center border-b-2 text-white"
>
<!-- logo -->
<div class="h-full">
<img
src="https://static.vecteezy.com/system/resources/previews/026/571/030/non_2x/weather-icon-with-sun-and-cloud-on-transparent-background-free-png.png"
alt=""
class="object-cover w-full h-full"
/>
</div>
<!-- Middle Section -->
<ul class="flex justify-center items-center space-x-4 font-semibold">
<li class="underline">HOME</li>
<li>WEATHER</li>
<li>ABOUT US</li>
</ul>
<!-- Right section -->
<div class="text-xl font-semibold italic">20 Sep, 2025</div>
</nav>
<div class="h-[90vh] w-full text-white flex flex-col space-y-5 pt-[10%] pb-[2%]">
<div class="flex w-full h-[40%]" >
<!-- left section -->
<div class="w-[50%] h-full flex justify-center space-x-12">
<div class="flex flex-col justify-end items-center">
<img
src="https://cdn.iconscout.com/icon/free/png-256/free-cloudy-weather-icon-svg-download-png-1147979.png"
alt=""
class="w-36"
/>
<div class="font-light">Sunrise : 5:01</div>
<div class="font-light">Sunset : 18:39</div>
</div>
<div class="flex flex-col justify-end space-y-2">
<div class="font-semibold text-lg">
Saturday 20 September, 2025
</div>
<div class="text-8xl">+22<sup>o</sup>C</div>
<div class="text-md">Feels like 23<sup>o</sup></div>
<div class="text-sm">The whole day will be rainy.</div>
</div>
<div class="flex flex-col justify-end space-y-3">
<div class="font-semibold text-lg">MORE DETAILS:</div>
<div class="text-sm font-light">
Wind Speed: <span class="font-semibold">1-8 m/s</span>
</div>
<div class="text-sm font-light">
Air Humidity: <span class="font-semibold">42-76%</span>
</div>
<div class="text-sm font-light">
Pressure: <span class="font-semibold">747-749mm</span>
</div>
<div class="text-sm font-light">
Precipitation probability:
<span class="font-semibold">2%</span>
</div>
</div>
</div>
<!-- right section -->
<div class="w-[50%] flex items-end justify-center px-10">
<div
class="w-full bg-white/15 rounded-md shadow-[0_4px_30px_rgba(0,0,0,0.1)] backdrop-blur-[4.4px]"
>
<!-- Top Div -->
<div
class="flex justify-around pe-10 text-xs py-2 font-light tracking-[2px]"
>
<span>NIGHT</span>
<span>MORNING</span>
<span>DAY</span>
<span>EVENING</span>
</div>
<!-- bottom div -->
<div class="mt-6 flex justify-around items-center">
<div>
<i class="ri-moon-cloudy-line text-2xl"></i>
<h5 class="text-xl">+17<sup>o</sup></h5>
<h6 class="text-sm font-light">00:00</h6>
</div>
<div>
<i class="ri-moon-cloudy-line text-2xl"></i>
<h5 class="text-xl">+16<sup>o</sup></h5>
<h6 class="text-sm font-light">03:00</h6>
</div>
<div>
<i class="ri-sun-cloudy-line text-2xl"></i>
<h5 class="text-xl">+15<sup>o</sup></h5>
<h6 class="text-sm font-light">06:00</h6>
</div>
<div>
<i class="ri-sun-line text-2xl"></i>
<h5 class="text-xl">+22<sup>o</sup></h5>
<h6 class="text-sm font-light">09:00</h6>
</div>
<div>
<i class="ri-sun-fill text-2xl"></i>
<h5 class="text-xl">+29<sup>o</sup></h5>
<h6 class="text-sm font-light">12:00</h6>
</div>
<div>
<i class="ri-sun-fill text-2xl"></i>
<h5 class="text-xl">+31<sup>o</sup></h5>
<h6 class="text-sm font-light">15:00</h6>
</div>
<div>
<i class="ri-sun-cloudy-line text-2xl"></i>
<h5 class="text-xl">+25<sup>o</sup></h5>
<h6 class="text-sm font-light">18:00</h6>
</div>
<div>
<i class="ri-moon-line text-2xl"></i>
<h5 class="text-xl">+16<sup>o</sup></h5>
<h6 class="text-sm font-light">21:00</h6>
</div>
</div>
</div>
</div>
</div>
<div class="h-[60%] w-full">
<div class="flex justify-between items-center px-12 py-4 tracking-[1px] border-b">
<span>TODAY</span>
<span class="underline cursor-pointer">SHOW FOR 10 DAYS</span>
</div>
<div class="flex justify-around bg-black/15 rounded-md shadow-[0_4px_30px_rgba(0,0,0,0.1)] backdrop-blur-[4.4px] text-neutral-200">
<div class="flex flex-col space-y-1 p-4 border-t-2 border-orange-400">
<div class="font-light">SUNDAY <br>21 Sep</div>
<div class="font-light">min. +15<sup>o</sup><br>max. +22<sup>o</sup></div>
<div><i class="ri-sun-fill text-5xl"></i> <br>Cloudy</div>
</div>
<div class="flex flex-col space-y-1 p-4">
<div class="font-light">SUNDAY <br>21 Sep</div>
<div class="font-light">min. +15<sup>o</sup><br>max. +22<sup>o</sup></div>
<div><i class="ri-sun-fill text-5xl"></i> <br>Cloudy</div>
</div>
<div class="flex flex-col space-y-1 p-4">
<div class="font-light">SUNDAY <br>21 Sep</div>
<div class="font-light">min. +15<sup>o</sup><br>max. +22<sup>o</sup></div>
<div><i class="ri-sun-fill text-5xl"></i> <br>Cloudy</div>
</div>
<div class="flex flex-col space-y-1 p-4">
<div class="font-light">SUNDAY <br>21 Sep</div>
<div class="font-light">min. +15<sup>o</sup><br>max. +22<sup>o</sup></div>
<div><i class="ri-sun-fill text-5xl"></i> <br>Cloudy</div>
</div>
<div class="flex flex-col space-y-1 p-4">
<div class="font-light">SUNDAY <br>21 Sep</div>
<div class="font-light">min. +15<sup>o</sup><br>max. +22<sup>o</sup></div>
<div><i class="ri-sun-fill text-5xl"></i> <br>Cloudy</div>
</div>
<div class="flex flex-col space-y-1 p-4">
<div class="font-light">SUNDAY <br>21 Sep</div>
<div class="font-light">min. +15<sup>o</sup><br>max. +22<sup>o</sup></div>
<div><i class="ri-sun-fill text-5xl"></i> <br>Cloudy</div>
</div>
<div class="flex flex-col space-y-1 p-4">
<div class="font-light">SUNDAY <br>21 Sep</div>
<div class="font-light">min. +15<sup>o</sup><br>max. +22<sup>o</sup></div>
<div><i class="ri-sun-fill text-5xl"></i> <br>Cloudy</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>