-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (70 loc) · 1.34 KB
/
style.css
File metadata and controls
87 lines (70 loc) · 1.34 KB
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
body{
background-image: url('https://source.unsplash.com/random/?nature');
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-repeat: no-repeat;
background-size: 100%;
}
.card{
background-color: rgb(4, 4, 4);
color: white;
padding: 25px;
margin: 10px;
border-radius: 30px;
width: 100%;
font-family: 'Poppins', sans-serif;
max-width: 400px;
}
.search{
display: flex;
justify-content: center;
}
.search-btn{
margin: 2px;
border-radius: 30px;
cursor: pointer;
}
.search-btn{
background-color: rgba(95, 77, 62, 0.893);
}
.search-btn:hover{
background-color: rgb(114, 209, 85);
transition: 1ms ease-in-out;
}
input{
border: none;
outline: none;
background-color: rgba(84, 68, 54, 0.893);
height: 1.8em;
color: white;
border-radius: 20px;
width: calc(100% - 100px);
padding: 10px;
font-size: medium;
}
.weather-type , .humid, .wind{
font-size: 20px;
}
.weather-type{
text-transform: capitalize;
margin-left: 10px;
}
.description{
display: flex;
align-items: center;
}
.weather.loading{
visibility: hidden;
max-height: 20px;
position: relative;
}
.weather.loading::after{
visibility: visible;
color: white;
position: absolute;
top: 0;
left: 20px;
}