-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
99 lines (86 loc) · 1.5 KB
/
index.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
*::after,
*::before,
* {
box-sizing: border-box;
}
body {
user-select: none;
font-family: 'Fira Code', monospace;
background-color: #eee;
height: 100vh;
display: grid;
place-items: center;
margin: 0;
padding: 0;
}
@keyframes typing {
from {
width: 0;
}
to {
width: 100vh;
}
}
@keyframes menu-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.intro * {
width: 0;
overflow: hidden;
white-space: nowrap;
margin: 0 auto;
}
.intro-1 {
animation-name: typing;
animation-duration: 1000ms;
animation-fill-mode: forwards;
}
.intro-2 {
animation-name: typing;
animation-duration: 1000ms;
animation-delay: 1000ms;
animation-fill-mode: forwards;
}
.intro-3 {
animation-name: typing;
animation-duration: 1000ms;
animation-delay: 2000ms;
animation-fill-mode: forwards;
}
.intro-4 {
animation-name: typing;
animation-duration: 1000ms;
animation-delay: 3000ms;
animation-fill-mode: forwards;
}
.menu-grid {
align-self: stretch;
width: 50vh;
height: min-content;
color: white;
display: grid;
gap: 1em 1em;
place-items: center;
opacity: 0;
animation-name: menu-fade-in;
animation-delay: 4000ms;
animation-duration: 1000ms;
animation-fill-mode: forwards;
}
.menu-grid .menu-grid-item {
background-color: black;
justify-self: stretch;
border-radius: 50px;
cursor: pointer;
text-align: center;
}
.menu-grid .menu-grid-item:hover {
background-color: white;
color: black;
box-shadow: 0px 0px 10px #bbb;
}