-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
55 lines (46 loc) · 1.39 KB
/
Copy pathstyle.css
File metadata and controls
55 lines (46 loc) · 1.39 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
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body {
background: #222;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.weather-card {
width: 90%;
max-width: 400px;
background: linear-gradient(135deg, #00feba, #5b548a);
color: #fff;
padding: 40px 35px;
border-radius: 30px;
text-align: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.search {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
input {
border: 0; outline: 0; background: #ebfffc;
color: #555; padding: 10px 25px;
height: 50px; border-radius: 30px;
flex: 1; margin-right: 16px; font-size: 18px;
}
button {
border: 0; outline: 0; background: #ebfffc;
border-radius: 50%; width: 50px; height: 50px;
cursor: pointer; font-size: 20px;
}
.weather-icon { width: 120px; margin-top: 30px; }
.temp { font-size: 80px; font-weight: 500; }
.city { font-size: 45px; font-weight: 400; margin-top: -10px; }
.details {
display: flex; align-items: center; justify-content: space-between;
padding: 0 20px; margin-top: 50px;
}
.col { text-align: left; }
.label { font-size: 14px; opacity: 0.8; }
#humidity, #wind { font-size: 20px; font-weight: 500; }
.error { text-align: left; margin-left: 10px; font-size: 14px; margin-top: 10px; color: #ffcccb; }