-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.css
More file actions
57 lines (48 loc) · 810 Bytes
/
index.css
File metadata and controls
57 lines (48 loc) · 810 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
51
52
53
54
55
56
57
body {
position: relative;
height: 100hv;
overflow: hidden;
margin: 0;
}
canvas {
width: 100%;
height: 100%
}
.scene {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.scene::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
background-size: cover;
background-position: center;
z-index: -1;
}
.sunrise::before {
background-color: #FFD37A;
background-image: url(images/sunrise.svg);
opacity: .6;
}
.midday::before {
background-color: #79D1FF;
background-image: url(images/midday.svg);
opacity: .7;
}
.sunset::before {
background-color: #FFAA00;
background-image: url(images/sunset.svg);
opacity: .7;
}
.midnight::before {
background-color: #081E44;
background-image: url(images/night.svg);
//opacity: .9;
}