-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
55 lines (49 loc) · 969 Bytes
/
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color:slategrey;
font-family: 'Open Sans', sans-serif;
background-image: url('https://source.unsplash.com/1600x900/?landscape,water');
background-size: cover;
background-repeat: no-repeat;
}
.card {
background-color: #000000d0;
color: azure;
padding: 2em;
border-radius: 10px;
width: 100%;
max-width: 420px;
margin: 1em;
}
.search {
display: flex;
align-items: center;
justify-content: center;
}
.flex {
display: flex;
align-items: center;
}
h1.temperature {
margin-bottom: 10px;
}
.description {
text-transform: capitalize;
}
.weather.loading {
visibility: hidden;
height: 20px;
position: relative;
}
.weather.loading::after{
visibility: visible;
content: "Loading...";
color: azure;
position: absolute;
top: 0;
left: 20px;
}