-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
75 lines (65 loc) · 1.28 KB
/
styles.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
body{
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Open Sans', sans-serif;
height: 100vh;
background: #222;
background-image: url('https://source.unsplash.com/1600x900/?landscape');
font-size: 120%;
}
.card{
background: #000000d0;
color: white;
padding: 2em;
margin: 1em;
width: 100%;
max-width: 420px;
border-radius: 30px;
}
.temp{
margin: 0;
}
.search{
display: flex;
align-items: center;
justify-content: center;
}
input.search-box {
border: none;
outline: none;
padding: 0.4em 1em;
border-radius: 24px;
background: #7c7c7c2b;
color: white;
font-size: 105%;
font-family: 'Open Sans';
width: calc(100% - 100px);
}
.description{
text-transform: capitalize;
}
.weather.loading{
visibility: hidden;
}
button {
border: none;
outline: none;
height: 3em;
width: 3em;
border-radius: 50%;
margin: 1em;
background: #7c7c7c2b;
color: white;
cursor: pointer;
transition: 0.3s ease-in-out;
}
.weather.loading.after{
visibility: visible;
content: "Loading....";
}
button:hover {
background: #7c7c7c6b;
}