blob: 7e47bb9f0402065e608d23af26cb6387f6b221f9 (
plain) (
blame)
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
|
html, body {
overflow: hidden;
margin: 0;
font-family: 'Space Mono', monospace;
background-color: #0c0c1c;
height: 100%;
width: 100%;
}
/*
Background
*/
canvas {
display: block;
vertical-align: bottom;
}
.starBackground {
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
}
/*
Content
*/
.contentWrapper {
position: relative;
height: 100%;
width: 100%;
}
.content {
position: absolute;
text-align: center;
color: #fff;
font-size: 1.5vh;
max-width: 85%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.character {
font-weight: 900;
}
@media only screen and (max-width: 600px) {
.content {
width: 95%;
}
}
@media only screen and (max-width: 400px) {
.content {
font-size: 1.5vh;
}
}
/*
Whale falling down
*/
.fallingObject {
position: absolute;
display: none;
width: auto;
height: 30vw;
}
.dropObject {
display: block;
z-index: 1;
bottom: 0;
animation: drop 3s ease-in forwards;
}
@keyframes drop {
from {
transform: translate(0, -100vh) rotate(0deg);
}
to {
transform: translate(0, 200vh) rotate(360deg);
}
}
|