-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (83 loc) · 1.63 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
padding: 0;
}
body{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #222;
background: url('https://source.unsplash.com/1600x900/?landscape');
}
.card{
background-color: #000000d0;
color: white;
padding: 2em;
border-radius: 30px;
width: 100%;
max-width: 420px;
margin: 1em;
font-family: 'Poppins',sans-serif;
}
.search {
display: flex;
align-items: center;
justify-content: center;
}
button{
margin: 0.5em;
border-radius: 50%;
border: none;
height: 3.0em;
width: 3.0em;
background-color: #7c7c7c2b;
color: white;
}
button:hover{
background-color: grey;
color:black;
}
input.search-bar{
border: none;
outline: none;
padding: 0.5em 1em;
border-radius: 24px;
background-color: #7c7c7c2b;
color: white;
font-family: inherit;
font-size: 120%;
width: 90%;
}
h1.temp {
margin: 0;
margin-bottom: 0.4em;
}
.flex {
display: flex;
align-items: center;
}
.description {
text-transform: capitalize;
}
.weather.loading {
visibility: hidden;
max-height: 20px;
position: relative;
}
.weather.loading:after {
visibility: visible;
content: "Loading...";
color: white;
position: absolute;
top: 0;
left: 20px;
}
.description {
text-transform: capitalize;
}
.flex{
display: flex;
align-items: center;
}