-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
177 lines (155 loc) · 3.11 KB
/
style.scss
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.error {
background-color: #000000;
height: 100vh;
overflow: hidden;
.world-border {
width: 157px;
height: 157px;
border: 1px solid transparent;
border-radius: 100px;
display: flex;
align-items: center;
justify-content: center;
margin-top: 96px;
&:hover {
border-color: $primary-color;
}
}
.cosmonot {
position: absolute;
right: 30%;
top: 30%;
height: 122px;
animation: cosmonot 60s forwards;
img {
height: 100%;
}
}
.world {
animation: world 30s linear infinite;
}
&-box {
position: absolute;
bottom: 40px;
left: 25%;
color: #e5e5e5;
z-index: 9;
&-title {
font-size: 12px;
letter-spacing: 4px;
margin-top: 56px;
margin-bottom: 18px;
}
&-desc {
font-weight: 300;
font-size: 18px;
line-height: 24px;
margin-bottom: 54px;
}
&-footer {
display: flex;
flex-direction: column;
align-items: flex-start;
img {
height: 77px;
}
}
&-link {
color: currentColor;
font-size: 18px;
font-weight: 600;
border-bottom: 2px solid $primary-color;
padding-bottom: 14px;
}
}
@keyframes cosmonot {
from {
transform: rotate(0) translate(0, 0) scale(1);
}
to {
transform: rotate(360deg) translate(200px, -200px) scale(0.05);
}
}
@keyframes world {
from {
transform: rotate(0);
}
to {
transform: rotate(360deg);
}
}
@function multiple-box-shadow($n) {
$value: "#{random(2000)}px #{random(2000)}px #4f4f4f";
@for $i from 2 through($n) {
$value: "#{$value} , #{random(2000)}px #{random(2000)}px #4f4f4f";
}
@return unquote($value);
}
$shadows-small: multiple-box-shadow(700);
$shadows-medium: multiple-box-shadow(200);
$shadows-big: multiple-box-shadow(100);
#stars {
width: 2px;
height: 2px;
background: transparent;
box-shadow: $shadows-small;
animation: animStar 50s linear infinite;
&:after {
content: " ";
position: absolute;
top: 2000px;
width: 1px;
height: 1px;
background: transparent;
box-shadow: $shadows-small;
}
}
#stars2 {
width: 3px;
height: 3px;
background: transparent;
box-shadow: $shadows-medium;
animation: animStar 100s linear infinite;
&:after {
content: " ";
position: absolute;
top: 2000px;
// color: #4f4f4f;
width: 2px;
height: 2px;
background: transparent;
box-shadow: $shadows-medium;
}
}
#stars3 {
width: 4px;
height: 4px;
background: transparent;
box-shadow: $shadows-big;
animation: animStar 150s linear infinite;
&:after {
content: " ";
position: absolute;
top: 2000px;
width: 3px;
height: 3px;
background: transparent;
box-shadow: $shadows-big;
}
}
@keyframes animStar {
from {
transform: translateY(0px);
}
to {
transform: translateY(-2000px);
}
}
}