-
Notifications
You must be signed in to change notification settings - Fork 0
/
weather.css
152 lines (152 loc) · 2.6 KB
/
weather.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
body{
background-color: #688d85;
}
.container
{
background: #293f50;
color: #fff;
max-width: 550px;
height: 150px;
padding: 5px 40px 35px 0px;
border-radius: 20px;
margin: 0px auto 0;
text-align: center;
transition: height 1s ease ;
display: none;
}
.more-info,.form{
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 50px;
font-size: 30px;
font-weight: lighter;
}
.form button img{
height: 20px;
}
.form input{
height: 40px;
border-radius: 40px;
flex: 1;
background-color: rgb(243, 245, 241);
font-size: 30px;
border: 5px seashell;
text-align: center;
}
.form button{
margin: 10px;
height: 40px;
width: 40px;
border-radius: 50%;
background-color: rgb(243, 245, 241);
border: 5px seashell;
}
.info img{
height: 150px;
width: 150px;
}
.info h1{
text-indent: 20px;
font-size: 50px;
}
.info h2{
margin-top: -20px;
text-indent: 20px;
font-size: 40px;
}
.humid,.wind{
display: flex;
justify-content: center;
text-align: left;
font-size: 30px;
margin-top: 30px;
margin-left: 20px;
}
.wind img,.humid img{
width: 50px;
height: 80px;
margin-right: 20px;
}
.wind{
margin-right: -20px;
}
.det{
margin-top: -3px;
}
.weather{
display: none;
/*
transform: translateY(100%);
transition-duration: 3s; */
}
.error,.correct{
display: none;
}
.correct img{
height: 200px;
width: 200px;
}
/*pop-up*/
.popup{
height: 200px;
width: 500px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 10px;
color: #fff;
background-color: #293f50;
text-align: center;
border-radius: 20px;
border: 5px solid #24323d;
}
.btn1,.btn2{
font-size: 20px;
margin: 0px 20px 0px 20px;
padding: 10px;
border-radius: 8px;
}
.btn1:hover,.btn2:hover{
cursor:auto;
font-size: 23px;
}
/*responsive design*/
@media only screen and (max-width:430px){
.popup{
height: auto;
width: 250px;
}
.container{
width: 250px;
height: 60px;
}
.form{
margin: 10px 30px
}
.form input{
font-size: 15px;
}
.humid{
font-size: 20px;
margin-top: 30px;
margin-left: -38px;
}
.wind{
font-size: 20px;
margin-top: 30px;
margin-right: 20px;
}
.wind img,.humid img{
width: 40px;
height: 50px;
margin-right: 20px;
}
.det{
margin-top: 5px;
}
.error,.correct{
margin-left: 30px;
}
}