-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforecast.css
93 lines (79 loc) · 1.57 KB
/
forecast.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
.forecast{
width: 450px;
background-image: linear-gradient(115.64878265215202deg, rgba(243, 72, 104,10) 32.810546875%,rgba(237, 67, 113,10) 35.22737630208333%,rgba(158, 0, 236,1.0400890868596893) 70.232421875%,rgba(158, 0, 236,1) 70.232421875%);
border-radius: 10px;
padding-bottom: 30px;
padding-top: 10px;
margin: 60px 10px;
}
.forecast-heading{
color: white;
font-size: 30px;
font-weight: 600;
display: flex;
justify-content: center;
}
.forecast-info{
display: flex;
flex-direction: column;
align-items: center;
}
.forecast-info div{
display: flex;
align-items: center;
justify-content: space-between;
width: 85%;
row-gap: 20px;
border-bottom: 1px solid white;
}
.forecast-day{
width: 60px;
}
.forecast-day, .forecast-temperature{
color: white;
font-size: 20px;
}
.forecast-icon{
height: 60px;
}
@media screen and (max-width: 912px){
.forecast{
width: 700px;
margin: 0px 10px 20px 10px;
}
}
@media screen and (max-width: 730px){
.forecast{
width: 630px;
}
}
@media screen and (max-width: 650px){
.forecast{
width: 550px;
}
}
@media screen and (max-width: 570px){
.forecast{
width: 490px;
}
}
@media screen and (max-width: 510px){
.forecast{
width: 430px;
}
}
@media screen and (max-width: 450px){
.forecast{
width: 400px;
}
}
@media screen and (max-width: 420px){
.forecast{
width: 380px;
}
}
@media screen and (max-width: 395px){
.forecast{
width: 350px;
}
}