-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (85 loc) · 1.67 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
91
92
93
94
95
96
97
98
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-image: url("https://images.unsplash.com/photo-1557683311-eac922347aa1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1429&q=80");
background-position: center;
font-family: 'Open Sans', sans-serif;
font-size: 120%;
min-width: 400px;
}
.card {
background: #000000d0;
padding: 2em;
border-radius: 20px;
width: 100%;
max-width: 420px;
margin: 1em;
color: white;
}
h1.temp {
text-shadow: #6F7BC6;
margin: 0;
margin-bottom: .4em;
}
.search {
display: flex;
align-items: center;
justify-content: center;
}
button {
margin: .5em;
margin-left: 1em;
border-radius: 50%;
border: none;
height: 2.5em;
width: 2.5em;
outline: none;
height: 44px;
width: 44px;
background: #7c7c7c2b;
color: white;
cursor: pointer;
transition: 0.3s ease-in-out;
}
button:hover {
background: #6c6c6c2b;
}
input {
border: none;
outline: none;
padding: .4em;
border-radius: 24px;
background-color: #7c7c7c2b;
color: white;
font-family: inherit;
font-size: 105%;
width: calc(100% - 80px);
}
.city {
font-size: 25px;
}
.description {
text-transform: capitalize;
font: 20px;
}
.flex {
display: flex;
align-items: center;
margin-bottom: 30px;
}
.weather.loading {
visibility: hidden;
max-height: 20px;
position: relative
}
.weather.loading::after {
visibility: visible;
content: "Loading....";
color: white;
position: absolute;
top: 0;
left: 20px;
}