-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.css
116 lines (100 loc) · 1.65 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
html {
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial,
sans-serif;
}
body {
background-color: black;
color: white;
height: 100vh;
width: 100vw;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
#root {
display: flex;
flex-direction: row;
}
#unavailable {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#unavailable > img {
width: 30vw;
filter: invert();
}
#unavailable > h1 {
margin-top: -1vh;
font-size: 3vw;
}
.weather {
display: flex;
height: 75vh;
// width: 33vw;
padding: 5px;
flex-direction: column;
justify-content: center;
align-items: center;
}
#current-weather {
border-right: solid whitesmoke 1px;
width: 40vw;
}
#hourly-weather {
font-size: 2.5vw;
width: 20vw;
}
.hourly {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin: 2vw;
}
.hourly-img {
filter: invert();
width: 20%;
max-height: 10vh;
}
.hourly-time {
width: 40%;
max-width: 15vw;
text-align: right;
}
.current-img {
filter: invert();
width: 80%;
max-height: 60vh;
}
.current {
display: flex;
width: 100%;
flex-direction: row;
justify-content: center;
align-items: center;
padding-top: 2vh;
padding-bottom: 2rem;
padding-right: 2vh;
}
.current-temp {
font-size: 11vh;
padding-right: 1rem;
}
.current-details {
display: flex;
flex-direction: column;
}
.current-detail {
height: 3vh;
font-size: 1.1vw;
display: flex;
flex-direction: row;
justify-content: space-between;
width: 10vw;
max-width: 13rem;
padding-left: 1rem;
}