-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
215 lines (185 loc) · 3.61 KB
/
style.css
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
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Nunito', sans-serif;
}
.wrapper{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #d8d8d8;
}
.container{
width: 80%;
height: 90vh;
display: flex;
justify-content: center;
border-radius: 20px;
background-color: rgb(234, 231, 231);
}
.weather-content{
width: 70%;
}
.city-date{
display: flex;
justify-content: space-evenly;
align-items: center;
background-color: #cfcfcf;
border-top-left-radius: 20px;
height: 80px;
}
.city{
font-size: 38px;
font-weight: 900;
}
.date-and-time{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.btn{
border-radius: 8px;
padding: 5;
width: 179px;
font-size: 18px;
}
.btn:hover{
cursor: pointer;
}
.date-and-time .time{
font-size: 17px;
font-weight: 700;
}
.searchBar{
width: 120px;
font-size: 18px;
}
.searchBar input{
border-radius: 8px;
padding: 5px;
}
.searchBar input:hover{
border-radius: 8px;
padding: 5px;
background-color: aliceblue;
}
.temperature-humidity{
height: 55vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.location-temp{
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
font-size: 20px;
font-weight: 700;
}
.temperature-humidity .temp{
font-size: 140px;
}
.cloud-pct{
font-size: 40px;
font-weight: 800;
}
.mainCard{
width: 130%;
height: 200px;
border-radius: 15px;
font-weight: 800;
padding: 15px;
box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 2px 2px rgba(0,0,0,0.15), 0 4px 4px rgba(0,0,0,0.15), 0 8px 8px rgba(0,0,0,0.15);
}
.mainCard div{
font-size: 17px;
margin: 10px;
}
.feelsLike{
font-size:22px ;
font-weight: 800;
}
.different-location{
display: flex;
justify-content: space-evenly;
align-items: center;
}
.location-card{
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
height: 17vh;
border-radius: 50px;
width: 44vw;
text-align: center;
margin-top: 20px;
}
.location-card div{
margin-top: 14px;
}
.forcast{
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 29px;
background-color: #cfcfcf;
border-radius: 0 17px 17px 0;
height:100%;
}
.time-set{
font-size: 40px;
font-weight: 900;
}
.time{
font-size: 19px;
font-weight: 500;
}
.content{
display: flex;
justify-content: center;
align-items: center;
gap: 7px;
}
.hummy , .dew{
display: flex;
gap: 8px;
}
.currHumid{
display: flex;
flex-direction: column;
gap: 7px;
}
.currTemp{
font-size: 70px;
font-weight: 600;
}
.mainForcast{
display: flex;
flex-direction: column;
align-items: center;
gap: 25px;
}
.hourly-forcast h2{
font-size: 25px ;
font-weight: 800;
}
.innercard{
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
border-radius: 5px;
height: 120px;
width: 90px;
margin: 13px;
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
font-weight: 600;
padding: 5px;
}