-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarwarscrawl.css
165 lines (162 loc) · 2.52 KB
/
starwarscrawl.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
@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
html,
body {
width: 100%;
height: 100%;
font: 700 1em "News Cycle", sans-serif;
letter-spacing: .15em;
color: #ff6;
background: #000;
overflow: hidden;
margin: 0;
}
.starwars section {
position: absolute;
top: 45%;
left: 50%;
z-index: 1;
}
.starwars .start {
font-size: 200%;
width: 14em;
margin: -4em 0 0 -7em;
text-align: center;
cursor: pointer;
}
.starwars .start span {
color: #4bd5ee;
}
.starwars .intro {
width: 15em;
margin: 0 0 0 -7.5em;
font-size: 200%;
font-weight: 400;
color: #4bd5ee;
opacity: 0;
-webkit-animation: intro 6s ease-out 1s;
animation: intro 6s ease-out 1s;
}
.starwars .logo {
opacity: 0;
-webkit-animation: logo 9s ease-out 9s;
animation: logo 9s ease-out 9s;
}
.starwars .logo svg {
width: inherit;
}
.starwars .titles {
width: 14.65em;
margin: 0 0 0 -7.325em;
top: auto;
bottom: 0;
height: 50em;
font-size: 350%;
text-align: justify;
overflow: hidden;
transform-origin: 50% 100%;
transform: perspective(500px) rotateX(17.5deg);
}
.starwars .titles > div {
position: absolute;
top: 100%;
-webkit-animation: titles 90s linear 13s;
animation: titles 90s linear 13s;
}
.starwars .titles > div > p {
margin: 1.35em 0 1.85em 0;
line-height: 1.35em;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
@-webkit-keyframes intro {
0% {
opacity: 0;
}
20% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes intro {
0% {
opacity: 0;
}
20% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-webkit-keyframes logo {
0% {
width: 18em;
margin: -9em 0 0 -9em;
transform: scale(2.75);
opacity: 1;
}
50% {
opacity: 1;
width: 18em;
margin: -9em 0 0 -9em;
}
100% {
transform: scale(0.1);
opacity: 0;
width: 18em;
margin: -9em 0 0 -9em;
}
}
@keyframes logo {
0% {
width: 18em;
margin: -9em 0 0 -9em;
transform: scale(2.75);
opacity: 1;
}
50% {
opacity: 1;
width: 18em;
margin: -9em 0 0 -9em;
}
100% {
transform: scale(0.1);
opacity: 0;
width: 18em;
margin: -9em 0 0 -9em;
}
}
@-webkit-keyframes titles {
0% {
top: 100%;
opacity: 1;
}
95% {
opacity: 1;
}
100% {
top: -200%;
opacity: 0;
}
}
@keyframes titles {
0% {
top: 100%;
opacity: 1;
}
95% {
opacity: 1;
}
100% {
top: -200%;
opacity: 0;
}
}