-
Notifications
You must be signed in to change notification settings - Fork 0
/
weather.css
62 lines (61 loc) · 1.3 KB
/
weather.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
body{
font-family: quicksand, sans-serif;
background-color: #e4d6d3;
}
#weather-card{
width: 235px;
height: 351px;
display: grid;
border-radius: 15px;
overflow: hidden;
background-color: white;
margin: 0 auto;
grid-template-columns: 142px 1fr;
grid-template-rows: 86px 68px 22px 36px 89px 25px 1fr;
}
#weather-card .top{
grid-row: 1/5;
grid-column: 1/3;
background: linear-gradient(165deg, rgba(179,187,193,0.5) 30%, rgba(227,207,193,0.5) 70%), url('images/new-york.jpg') center center no-repeat;
}
#weather-card .icon{
font-size: 59px;
grid-row: 1;
grid-column: 2/-1;
justify-self: center;
align-self: end;
color: white;
}
#weather-card .overlay{
grid-row: 3/5;
grid-column: 1/-1;
}
#weather-card .weather-text{
grid-row:3;
grid-column: 2;
color: white;
text-transform: uppercase;
font-size: .8em;
justify-self: center;
font-weight: bold;
}
#weather-card .temp{
grid-row: 5;
grid-column: 1/-1;
color: #626262;
font-size: 89px;
justify-self: center;
align-self: end;
font-weight: 300;
}
.temp sup{
font-size: .6em;
}
#weather-card .city{
grid-row:6;
grid-column: 1/-1;
text-transform: uppercase;
font-weight: bold;
color: #868686;
justify-self: center;
}