-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
181 lines (153 loc) · 3.23 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
body {
background: black;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.logo {
display: block;
margin: 0 auto;
width: auto;
height: 100px;
margin-bottom: 20px;
}
::-webkit-scrollbar{
width: 10px;
height: 6px;
}
::-webkit-scrollbar-track{
box-shadow: inset 0 0 5px grey;
border-radius: 5px;
}
::-webkit-scrollbar-thumb{
background: #93ffff;
border-radius: 10px;
}
#weather-container{
background-color: rgba(255, 255, 255, 0.32);
max-width: 450px;
align-self: center;
margin: 50px auto 20px; /* Adjust the top margin */
padding: 30px 20px; /* Adjust the padding */
border-radius: 10px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
border: 1px rgba(255, 255, 255, 0.1);
text-align: center;
}
#unit-toggle-container {
background-color: rgba(255, 255, 255, 0.409);
border-radius: 15px;
padding: 5px;
}
#unit-toggle label {
display: inline-block;
justify-content: center;
margin: 0px;
font-size: 15px;
}
h2{
color: #fff;
margin-top: 20px;
margin-bottom: 20px;
font-size: 30px;
}
label,p{
color: #fff;
margin-top: 20px;
margin-bottom: 20px;
font-size: 18px;
}
input{
width: calc(100% - 5px);
padding: 8px;
box-sizing: border-box;
border-radius: 10px;
border: 1px solid rgba(0, 0, 0, 0.372);
margin-top: 20px;
}
button{
background: #b4f7f7;
color: rgb(255, 255, 255);
padding: 10px;
border: none;
border-radius: 10px;
cursor: pointer;
margin-top: 50px;
margin-bottom: 50px;
width: 100px;
font-size: 15px;
}
button:hover{
background: #24e6e6;
}
#temp-div p{
font-size: 60px;
margin-top: -20px;
}
#weather-text {
color: #fff;
margin-bottom: 0px;
font-size: 22px;
}
#weather-info{
font-size: 20px;
}
#weather-icon{
width: 200px;
height: 200px;
margin: -20px auto 5px;
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;
margin-bottom: 15px;
color: white;
}
.hourly-item img{
width: 40px;
height: 40px;
margin-bottom: 5px;
}
#hourly-heading{
color: #fff;
margin-top: 10px;
}
#outfit-area {
display: none; /* Hide the outfit area by default */
justify-content: center;
margin-top: 20px;
}
.outfit-button {
border: none;
background-color: transparent;
cursor: pointer;
transition: transform 0.2s ease-in-out;
display: inline-flex; /* Ensure the button behaves like a flex container */
align-items: center; /* Center contents vertically */
justify-content: center; /* Center contents horizontally */
}
.outfit-button:hover {
transform: scale(1.1);
background: none;
}
.outfit-button img {
width: 250px; /* Adjust size as needed */
height: 250px; /* Adjust size as needed */
border-radius: 10px;
}