-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimations.css
176 lines (144 loc) · 3.07 KB
/
animations.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
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
* {
padding:0;
margin:0;
}
.loading h1 div {
animation: showText 1.5s ease forwards;
animation-delay:calc((var(--animation-index) - 1) * 300ms);
}
.loading .question p {
animation: showQuestion 1s ease forwards;
animation-delay:1200ms;
}
.loading {
animation:fade 0.5s ease forwards;
animation-delay:2.2s;
}
.hero-bg {
animation: scaleDown 1.5s ease forwards;
animation-delay:2.5s;
}
.hero h1 {
overflow: hidden;
}
.hero h1 div {
transform:translateY(100%);
animation: showText 1.5s ease forwards;
animation-delay:2.5s;
}
.hero .text {
opacity:0;
transform:translateY(5vh);
animation:revealHeroContent 1s ease forwards;
animation-delay:2.75s;
}
.hero .image {
opacity:0;
transform:translateY(5vh);
animation:revealHeroContent 1s ease forwards;
animation-delay:3.05s;
}
.navbar {
opacity:0;
animation:fadeIn 0.5s ease forwards;
animation-delay:2.75s;
}
@keyframes showText {
from {
transform:translateY(100%);
}
to {
transform: translateY(0);
}
}
@keyframes showQuestion {
from {
transform:translateY(40%);
opacity:0;
}
to {
transform: translateY(0);
opacity:1;
}
}
@keyframes revealHeroContent {
from {
transform:translateY(5vh);
opacity:0;
}
to {
transform: translateY(0);
opacity:1;
}
}
@keyframes scaleDown {
0% {
transform: scale(1.1);
opacity:0;
}
50% {
transform: scale(1.1);
opacity:0.07;
}
100% {
transform:scale(1);
opacity:0.07;
}
}
@keyframes fade {
from {
opacity:1;
}
to {
opacity:0;
pointer-events: none;
}
}
@keyframes fadeIn {
from {
opacity:0;
}
to {
opacity:1;
}
}
.line {
clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.line .char {
transform:translateY(150%);
transition:transform 0.75s ease;
}
.why h1 {
transition: opacity 0.75s ease, transform 0.75s ease;
opacity:0;
transform: translateY(3vh);
}
.why .boring p {
transition: opacity 0.75s ease, transform 0.75s ease;
opacity:0;
transform: translateY(3vh);
}
.why img, .about img {
transition: opacity 0.75s ease, transform 0.75s ease;
opacity:0;
transform: scale(0.95);
}
.more-work img {
transition: opacity 0.75s ease;
opacity:0;
}
.astronomy h1, .environment h1, .video h1, .featured h1, .featured img, .awards h1 {
transition: opacity 0.75s ease, transform 0.75s ease;
opacity:0;
transform: translateY(3vh);
}
.astronomy .cell, .environment .cell, .video .cell, .more-work .text a, .awards a, .awards .awards-list p {
transition: opacity 0.75s ease, transform 0.75s ease;
opacity:0;
transform: translateY(3vh);
}
.more-work .work-card {
transition: opacity 0.75s ease;
opacity:0;
}