-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
76 lines (64 loc) · 1.15 KB
/
index.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
* {
box-sizing: border-box;
}
body {
margin: 0;
background: no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
color: white;
font-family: Arial, Helvetica, sans-serif;
text-shadow: 0px 0px 20px #242424;
}
main {
padding: 15px;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
div.top {
display: flex;
justify-content: space-between;
}
h1.time {
text-align: center;
}
div#crypto {
font-size: 1.3rem;
}
div#crypto > p {
margin: 0;
}
div#crypto-top {
display: flex;
align-items: center;
margin-bottom: 5px;
}
div#crypto-top > span {
margin-left: 10px;
}
div#weather {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: flex-end;
align-self: flex-start;
margin-top: -20px;
}
div#weather > img {
width: 70px;
}
p.weather-city {
width: 100%;
text-align: right;
margin: 0;
margin-top: -10px;
}
p.weather-temp {
margin: 0;
font-size: 1.7rem;
margin-left: -10px;
}