-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (64 loc) · 1.3 KB
/
Copy pathstyle.css
File metadata and controls
75 lines (64 loc) · 1.3 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Open Sans', sans-serif;
background: #222;
background-image: url('https://source.unsplash.com/1600x900/?landscape');
font-size: 120%;
}
.card {
background: #829d85;
color: rgb(58, 56, 53);
padding: 2.5em;
border-radius: 40px;
width: 100%;
max-width: 500px;
margin: 1em;
}
button {
margin: 0.5em;
border-radius: 50%;
border: none;
outline: none;
height: 35px;
width: 35px;
cursor: pointer;
transition: 0.2s ease-in-out;
}
input.search-bar {
outline: none;
border: none;
border-radius: 24px;
padding: 0.5em;
color: rgb(255, 255, 255);
background: #e6e9e6bf;
font-family: inherit;
font-size: 100%;
width: 85%;
}
button:hover {background: #697c6d;}
h1.temp {
margin: 0;
}
.description {
text-transform: capitalize;
}
.flex {
display: flex;
align-items: center;
}
.weather.loading {
visibility: hidden;
max-height: 20px;
position: relative;
}
.weather.loading::after {
visibility: visible;
content: "Loading...";
color: antiquewhite;
position: absolute;
top: 0;
}