-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
223 lines (213 loc) · 3.65 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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
body {
font-family: Poppins;
background: #eeeeee;
background: -webkit-radial-gradient(
circle,
#eeeeee 0%,
#db51cf 100%,
#d7d7d7 50%
);
background: radial-gradient(circle, #eeeeee 0%, #db51cf 100%, #d7d7d7 50%);
}
.title {
margin-left: 140px;
margin-top: 40px;
font-family: Monoton;
color: rgb(98, 74, 186);
font-size: 55px;
}
.weather-title {
color: #752eaa;
}
.weather-app-wrapper {
max-width: 480px;
margin: -80px auto;
}
.coded-by {
opacity: 0.7;
font-size: 16px;
margin-top: 10px;
}
.weather-app-wrapper .valagala {
font-size: 18px;
font-weight: 600;
text-decoration: none;
color: #752eaa;
}
.weather-app {
margin-top: 10px;
background: #eeeeee;
background: -webkit-radial-gradient(
circle,
#eeeeee 0%,
#db51cf 50%,
#d7d7d7 100%
);
background: radial-gradient(circle, #eeeeee 0%, #db51cf 50%, #d7d7d7 100%);
padding: 15px;
box-shadow: 6px 8px rgba(98, 74, 186, 0.9);
}
#search-btn {
background-color: #b462c9;
border: #9b44b0;
color: azure;
box-shadow: 2px 4px 6px 2px rgba(98, 74, 186, 0.5);
}
#search-btn:hover {
background-color: rgba(98, 74, 186, 0.8);
}
.location-btn {
display: inline;
border: #9b44b0;
border-radius: 90px 90px 90px 9px;
background-color: #b462c9;
box-shadow: 2px 4px 6px 2px rgba(98, 74, 186, 0.5);
margin-left: -5px;
}
.location-btn:hover {
transform: rotate(315deg);
transition: 300ms ease-in-out;
}
.fa-location-dot {
transform: rotate(46deg);
color: azure;
font-size: 26px;
margin-top: 5px;
margin-left: 3px;
margin-right: 3px;
}
#main-icon {
margin-top: -2px;
margin-left: 15px;
width: 100px;
}
#main-icon:hover {
transform: scale(1.4);
transition: 200ms ease-in-out;
}
.weather-temperature strong {
font-family: Monoton;
font-size: 80px;
line-height: 1;
font-weight: 400;
color: rgb(98, 74, 186);
opacity: 0.9;
position: relative;
top: 10px;
left: 5px;
}
.weather-temperature .units {
position: relative;
top: -28px;
left: 3px;
font-size: 18px;
opacity: 0.8;
color: #752eaa;
}
#city {
font-family: Monoton;
font-size: 30px;
letter-spacing: 2px;
color: rgb(98, 74, 186);
margin-top: 5px;
margin-bottom: 0;
margin-left: 10px;
}
#description {
font-weight: 300;
letter-spacing: 4px;
margin-left: 20px;
}
ul {
margin: 0;
padding: 0;
}
li:first-letter {
text-transform: capitalize;
}
li {
margin: 0 0 0 10px;
padding: 0;
list-style: none;
font-size: 16px;
line-height: 20px;
color: rgb(98, 74, 186);
}
.hum-wind {
margin-top: 15px;
margin-left: 40px;
}
#wind {
text-transform: lowercase;
}
.forecast {
color: rgb(98, 74, 186);
text-align: center;
}
.forecast-date {
font-size: 14px;
font-weight: 600;
margin-bottom: -3px;
}
.forecast-temp {
font-size: 12px;
margin-bottom: -5px;
}
.forecast-temp-max {
font-weight: 600;
}
.forecast-temp-min {
opacity: 0.8;
font-weight: 500;
}
@media (max-width: 576px) {
body {
margin-top: -20px;
display: flex;
flex-direction: column;
}
.title {
font-size: 52px;
margin-left: 0px;
}
.weather-app-wrapper {
margin-top: 10px;
}
.form-control,
.btn,
.sub-text li,
.weather-temperature .units,
.hum-wind li {
font-size: 14px;
}
.btn {
margin-left: -20px;
}
.location-btn {
margin-top: 5px;
padding: 3px 7px;
}
.fa-location-dot {
font-size: 24px;
}
#date {
font-size: 12px;
}
#city {
font-size: 24px;
}
#main-icon {
width: 80px;
margin-left: -10px;
}
.weather-temperature strong {
font-size: 55px;
}
.weather-temperature .units {
position: relative;
top: -18px;
}
.hum-wind {
margin-left: 10px;
}
}