-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (73 loc) · 1.46 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
body {
align-items: center;
margin: 0px;
justify-content: center;
height: 100vh;
background: black;
display: flex;
font-family: 'Open Sans', sans-serif;
background-image: url('https://source.unsplash.com/1600x900/?landscape');
font-size: 120%;
}
.card {
background: #666666d0;
color: white;
opacity: 0.8;
padding: 2em;
border-radius: 30px;
width: 100%;
max-width: 420px;
margin: 2em;
}
.search{
display: flex;
align-items: center;
justify-content:center;
border-radius: 20px;
}
button {
margin: 0.5em;
border-radius: 50%;
height: 3em;
width: 3em;
border: none;
background: rgba(0, 0, 0, 0.5);
color: white;
cursor: pointer;
transition: auto;
}
input.search-bar {
border: none;
outline: none;
padding: 0.5em;
border-radius: 24px;
background: rgba(0, 0, 0, 0.5);
color: white;
font-family: inherit;
font-size: 120%;
height: 28px;
width: calc(100% - 100px);
}
h1.temp {
margin: 0;
margin-bottom: 0.5em;
}
.description {
text-transform: capitalize;
font-size: large;
}
.flex{
display:flex;
align-items: center;
}
.weather.loading{
visibility: hidden;
max-height: 20px;
position: relative;
}
.weather.loading:after{
visibility: visible;
content: "Enter the City name....";
position:absolute;
top: 0em;
}