-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (87 loc) · 1.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
body {
background: black;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
#weather-container {
background-color: rgba(255, 255, 255, 0.1);
max-width: 400px;
padding: 20px;
border-radius: 15px;
box-shadow: 0 8px 32px rbga(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rbga(255, 255, 255.1);
text-align: center;
}
h2,
label,
p {
color: red;
margin: 8px 0;
}
input {
width: calc(100% - 16px);
padding: 8px;
box-sizing: border-box;
border-radius: 10px;
border: 1px solid white;
margin: 20px;
}
button {
background-color: crimson;
color: black;
font-weight: bold;
padding: 10px;
border: none;
border-radius: 10px;
cursor: pointer;
margin-top: 20px;
width: 100px;
font-size: 15px;
}
button:hover {
background-color: crimson;
}
#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: crimson;
margin-top: 10px;
}