-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (60 loc) · 1.18 KB
/
style.css
File metadata and controls
71 lines (60 loc) · 1.18 KB
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
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
letter-spacing: 2px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
background: linear-gradient(rgb(47, 150, 163), rgb(48, 62, 143));
font-size: 1.3rem;
font-family: "Roboto", sans-serif;
color: white;
}
.sunny-background {
background: linear-gradient(rgb(211, 160, 21), rgb(218, 204, 12));
}
.overcast-background {
background: linear-gradient(rgb(142, 155, 168), rgb(126, 124, 106));
}
.cloudy-background {
background: linear-gradient(rgb(211, 213, 214), rgb(245, 241, 207));
color: black;
}
.location,
.temperature {
margin: 2rem;
height: 30vh;
width: 50%;
display: flex;
justify-content: space-around;
align-items: center;
}
.location h2 {
text-align: center;
margin: 1rem;
}
.icon {
width: 128px;
height: 128px;
}
.temperature {
flex-direction: column;
}
.degree-section {
display: flex;
align-items: center;
cursor: pointer;
}
.degree-section span {
margin: 10px;
font-size: 30px;
}
.degree-section h2 {
font-size: 40px;
}