-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
92 lines (81 loc) · 1.67 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
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0px;
background-color: rgb(41, 44, 44);
background-image: url('https:/source.unsplash.com/1600x900/?weather,delhi');
background-size: cover;
font-family: 'Nunito', sans-serif;
word-spacing: 2px;
}
.card{
opacity: 0.8;
background-color: rgb(0, 0, 0);
color: white;
padding: 2em;
/* border: 2px solid rgb(0, 0, 0); */
border-radius: 30px;
width: 100%;
max-width: 450px;
margin: 1em;
}
.search{
display: flex;
align-items: center;
justify-content: center;
}
.search-bar{
text-align: center;
outline: none;
background-color: rgb(48, 48, 48);
color: white;
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
padding: 5px;
border: none;
border-radius: 20px;
width: 70%;
}
.btn{
height: 2.5em;
width: 2.5em;
margin: 1em;
border-radius: 10px;
border: none;
background-color: rgb(48, 48, 48);
color: white;
}
.btn:hover{
background-color: rgb(124, 124, 124);
color: black;
cursor: pointer;
transition: 0.2s ease-in-out;
}
.temp{
margin: 0px;
margin-top: 30px;
}
.description{
text-transform:capitalize ;
}
.flex{
display: flex;
align-items: center;
}
.icon{
margin-left: -10px;
}
.weather.loading{
visibility: hidden;
max-height: 20px;
position: relative;
}
.weather.loading:after{
visibility: visible;
content: "Loading.....please wait";
color: white;
position: absolute;
top: 0px;
}