-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (61 loc) · 1.18 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
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color: white;
text-shadow: 0px 0px 20px #aaaaaa;
}
p {
font-size: 1.125rem;
}
main {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 1em;
}
.top-elements {
display: flex;
justify-content: space-between;
}
.crypto {
align-items: start;
display: flex;
flex-direction: column;
gap: 1em;
}
.crypto-header {
align-items: center;
display: flex;
gap: 1em;
}
.crypto-price:not(:last-child) {
margin-bottom: 0.25em;
}
.time {
align-self: center;
font-size: 4rem;
margin-top: 10px;
}
.weather-header {
align-items: center;
display: flex;
}
.weather-temperature {
font-size: 2.5rem;
}
.weather-city {
font-size: 1.5em;
margin-top: -15px;
text-align: right;
}