-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (86 loc) · 1.58 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
body {
background: linear-gradient(to right, #fc00ff, #00dbde);
font-family: cursive;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
#weather-container {
background: rgba(255, 255, 255, 0.3);
max-width: 400px;
padding: 20px;
border-radius: 15px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
h2,
label,
p {
color: #fff;
margin: 8px 0;
}
input {
width: calc(100% - 16px);
padding: 8px;
box-sizing: border-box;
border-radius: 10px;
border: 1px solid white;
margin-top: 20px;
}
button {
background: rgb(0, 98, 255);
color: white;
padding: 10px;
border: none;
border-radius: 10px;
margin-top: 20px;
cursor: pointer;
width: 100px;
font-size: 15px;
}
button:hover {
background: blueviolet;
}
#temp-div p {
font-size: 60px;
margin-top: -30px;
}
#weather-info {
font-size: 20px;
}
#weather-icon {
width: 200px;
height: 200px;
margin: 0 auto 10px;
margin-bottom: 0;
display: none;
}
#hourly-forecast {
margin-top: 50px;
overflow-x: auto;
white-space: nowrap;
display: flex;
justify-content: space-between;
}
.hourly-item {
flex: 0 0 auto;
width: 80px;
display: flex;
flex-direction: column;
align-items: center;
margin-right: 10px;
color: white;
}
.hourly-item img {
width: 30px;
height: 30px;
margin-bottom: 5px;
}
#hourly-heading {
color: #fff;
margin-top: 10px;
}