-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (62 loc) · 1.16 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
*{
font-family: 'Comfortaa', sans-serif;
}
body{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background:black;
background-image: url("https://source.unsplash.com/random/1920x1080/?landscape");
}
.card{
margin: 1em;
background-color: rgb(197, 191, 191,0.80);
padding: 2rem;
border-radius: 15px;
width: 100%;
max-width: 450px;
}
.search{
display: flex;
justify-content: center;
}
.search-icon{
width: 20px;
}
.search-button{
display: flex;
align-items: center;
justify-content: center;
padding: 0.6em;
border-radius: 2em;
border: 1px solid rgb(0, 0, 0);
margin-left: 1em;
background: rgb(211, 209, 209,0.2);
}
.search-button:hover{
background: rgb(201, 200, 200);
cursor: pointer;
}
.search-bar{
background: rgba(221, 219, 219, 0.5);
border: none;
border-radius: 20px;
font-size: 120%;
width: calc(100% - 50px);
}
.search-bar:focus{
outline: none;
}
.desc{
text-transform: capitalize;
}
.logo{
display: flex;
align-items: center;
}
.weather.loading{
visibility: hidden;
display: none;
}