Skip to content

Commit 70bf699

Browse files
committed
update styles
1 parent 91b918c commit 70bf699

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

Source-Code/WeatherApp/style.css

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
padding: 0;
44
margin: 0;
55
}
6-
6+
p, span{
7+
font-size: 18px;
8+
}
79
.weather-app{
810
min-height: 100vh;
911
min-width: 100vw;
@@ -53,7 +55,7 @@ li{
5355
padding: 5% 5%;
5456
gap: 5%;
5557
justify-content: space-evenly;
56-
width: 50%;
58+
width: 60%;
5759
}
5860

5961
.column{
@@ -64,10 +66,9 @@ li{
6466
}
6567
.row{
6668
display: flex;
67-
justify-content: space-around;
68-
align-items: center;
69-
flex-wrap: wrap;
70-
margin: 25px auto;
69+
justify-content: space-between;
70+
margin: 13px 30px;
71+
gap: 30%;
7172
}
7273

7374
.weather-suggestions{
@@ -131,19 +132,27 @@ justify-content: flex-start;
131132
span{
132133
font-size: medium;
133134
}
135+
.weather-de{
136+
display: flex;
137+
justify-content: center;
138+
align-items: center;
139+
margin: 15px;
140+
}
134141
.weather-details{
135142
display: flex;
136143
flex-direction: column;
137-
gap: 10px;
138-
margin: 30px auto;
139-
align-items: center;
144+
justify-items: center;
145+
margin: 6%;
146+
140147
}
141148
.city, .location{
142149
display: block;
143150
cursor: pointer;
144151
}
145152
.city:hover, .location:hover{
146-
color: #fff;
153+
color: #ffffffc8;
154+
transform: scale(1.2);
155+
transition: 0.5s;
147156
}
148157

149158
@media (max-width: 768px) {
@@ -155,4 +164,18 @@ span{
155164
.weather-suggestions, .weather-information{
156165
width: 100%;
157166
}
167+
168+
.temp{
169+
font-size: 30px;
170+
font-weight: 700;
171+
}
172+
.city{
173+
font-size: 28px;
174+
font-weight: 700;
175+
176+
}
177+
.weather-information{
178+
gap: 1%;
179+
}
180+
158181
}

0 commit comments

Comments
 (0)