-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
139 lines (123 loc) · 2.16 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
html, body {
margin: 0;
}
canvas {
border: 1px solid black;
background: black;
position: fixed;
top: 0;
}
.sky-container {
height: 100vh;
width: 100vw;
position: fixed;
top: 0;
}
.sun {
position: fixed;
right: 30%;
width: 70px;
height: 70px;
border-radius: 50%;
background-color: white;
opacity: 0.9;
}
.ray_box {
position: absolute;
margin: auto;
top: 0px;
left: 0;
right: 0;
bottom: 0;
width: 70px;
-webkit-animation: ray_anim 120s linear infinite;
animation: ray_anim 120s linear infinite;
}
.ray {
background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
margin-left: 10px;
border-radius: 80% 80% 0 0;
position: absolute;
opacity: 0.1;
}
.ray1 {
height: 170px;
width: 30px;
-webkit-transform: rotate(180deg);
top: -175px;
left: 15px;
}
.ray2 {
height: 100px;
width: 8px;
-webkit-transform: rotate(220deg);
top: -90px;
left: 75px;
}
.ray3 {
height: 170px;
width: 50px;
-webkit-transform: rotate(250deg);
top: -80px;
left: 100px;
}
.ray4 {
height: 120px;
width: 14px;
-webkit-transform: rotate(305deg);
top: 30px;
left: 100px;
}
.ray5 {
height: 140px;
width: 30px;
-webkit-transform: rotate(-15deg);
top: 60px;
left: 40px;
}
.ray6 {
height: 90px;
width: 50px;
-webkit-transform: rotate(30deg);
top: 60px;
left: -40px;
}
.ray7 {
height: 180px;
width: 10px;
-webkit-transform: rotate(70deg);
top: -35px;
left: -40px;
}
.ray8 {
height: 120px;
width: 30px;
-webkit-transform: rotate(100deg);
top: -45px;
left: -90px;
}
.ray9 {
height: 80px;
width: 10px;
-webkit-transform: rotate(120deg);
top: -65px;
left: -60px;
}
.ray10 {
height: 190px;
width: 23px;
-webkit-transform: rotate(150deg);
top: -185px;
left: -60px;
}
@-webkit-keyframes ray_anim {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}