-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
50 lines (43 loc) · 818 Bytes
/
style.css
File metadata and controls
50 lines (43 loc) · 818 Bytes
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
:root {
--main-font-color: #fff;
--background: linear-gradient(rgb(47, 150, 163), rgb(48, 62, 143));
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
justify-items: center;
align-items: center;
background: var(--background);
font-family: sans-serif;
color: var(--main-font-color);
}
.location,
.temperature {
display: flex;
justify-content: space-around;
align-items: center;
width: 50%;
height: 30vh;
}
.temperature {
flex-direction: column;
}
.degree-section {
display: flex;
align-items: center;
cursor: pointer;
}
.degree-section span {
margin: .8em;
font-size: 2rem;
}
.degree-section h2 {
font-size: 2.2rem;
}