-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (103 loc) · 2.06 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
border: none;
outline: none;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
body{
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: darkslategrey;
}
.container{
width: 400px;
height:min-content;
background-color: #fff;
border-radius: 12px;
padding: 25px;
}
.search-box{
width: 100%;
height: min-content;
display: flex;
justify-content: center;
align-items: center;
}
.search-box input{
width: 80%;
font-size: 15px;
text-transform: capitalize;
background-color: rgb(219, 241, 244);
color: black;
padding: 12px 16px;
border-radius: 14px;
}
.search-box input::placeholder{
color: black;
}
.search-box button{
width: 45px;
height: 45px;
background-color: aliceblue;
cursor: pointer;
font-size: 20px;
border-radius: 50%;
}
.search-box button:hover{
color: #fff;
background-color: black;
}
.weather-body{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-block: 30px;
}
.weather-body img{
width:60%;
}
.weather-box{
margin-block: 20px;
text-align: center;
}
.weather-box .temprature{
font-size: 40px;
font-weight: 700;
position: relative;
}
.weather-box .description{
font-size: 20px;
font-weight: 500;
text-transform: capitalize;
}
.weather-detail{
width: 100%;
display: flex;
/* flex-direction:row; */
justify-content: space-between;
margin-top: 20px;
}
.humidity,.wind{
display: flex;
align-items: center;
font-size: 16px;
}
.weather-detail i{
font-size: 30px;
margin-right: 10px;
}
.humidity{
margin-left: 20px;
}
.wind{
margin-right: 20px;
}
.text span{
font-size:20px ;
font-weight:600;
}