-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
107 lines (91 loc) · 1.59 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
99
100
101
102
103
104
105
106
*{
margin: 0;
padding: 0;
font-family: system-ui, sans-serif;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background: linear-gradient(in hsl, rgba(59, 59, 219, 0.822), rgb(186, 225, 226));
background-repeat: no-repeat;
overflow: hidden;
}
.search{
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.search input{
outline: 0;
background-color: white;
color: black;
padding: 10px 25px;
width: 80%;
height: 60px;
font-size: 18px;
}
.search button{
background-color: white;
width: 20%;
height: 60px;
cursor: pointer;
}
.search button img{
width: 16px;
}
.search button:active{
transform: scale(1.01);
}
.card{
text-align: center;
display: flex;
align-items: center;
padding: 2rem auto;
height: 100vh;
}
.city{
color: black;
font-size: 5rem;
font-weight: 400;
}
.weatherIcon{
width: 170px;
}
.weather h2{
font-size: 3rem;
font-weight: 100;
}
#description{
margin-bottom: 1rem;
}
.temp{
display: flex;
justify-content: center;
align-content: center;
gap: 1rem;
padding: 1rem 0 2rem 0;
}
.temp h3{
font-size: 2rem;
font-weight: 200;
}
.details{
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: row;
gap: 2rem;
color: black;
font-size: 2rem;
padding-bottom: 5rem;
font-weight: 200;
}
@media (max-width: 400px) {
.city{
font-size: 4rem;
}
}