-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (76 loc) · 1.35 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
html{
font-size: 62.5%;
}
body {
font-size: 1.6rem;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: #222;
font-family: 'Open Sans', sans-serif;
background-image: url('https://source.unsplash.com/1600x900/?cityscape');
}
.card {
background: #000000d0;
color:white;
padding: 2rem;
border-radius: 3rem;
width: 100%;
max-width: 42rem;
margin: 1rem;
}
h1.temp{
margin:0;
margin-bottom:0.4rem;
}
.search{
display:flex;
align-items:center;
justify-content: center;
}
button {
border: none;
border-radius: 50%;
width: 2.5rem;
height: 2.5rem;
margin: 0.5rem;
outline: none;
cursor: pointer;
background:#7c7c7c8f;
}
input.search-bar {
border: none;
outline: none;
padding: 0.5rem 1rem;
border-radius: 1.8rem;
font-family: inherit;
background:#7c7c7c8f;
color:white;
width:30rem;
}
.flex{
display: flex;
align-items: center;
}
.description {
text-transform: capitalize;
}
.weather.loading{
visibility:hidden;
max-height:2rem;
position:relative;
}
.weather.loading:after {
visibility:visible;
content: "loading...";
color:white;
position:absolute;
top:0;
}
@media screen and (max-width: 798px) {
html{
font-size: 55%;
}
}