-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
133 lines (119 loc) · 2.2 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
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
html,
body {
margin: 0;
line-height: 1.4;
font-weight: lighter;
color: white;
font-family: sans-serif;
min-height: 100vh;
user-select: none;
background-color: darkcyan;
pointer-events: none;
text-align: center;
overflow: hidden;
}
#title {
color: skyblue;
text-align: center;
margin-top: 10vh;
}
#hint-frame {
z-index: 1000;
background-color: grey;
position: fixed;
width: 100%;
opacity: 0.9;
backdrop-filter: blur(20px);
background-color: rgba(128, 128, 128, 0.5);
transform: translate(-50%, -100%);
transition: transform 2s ease-in-out;
text-align: center;
top: 0;
}
#hint {
color: white;
}
.animate-up {
animation: slideUp 2s ease-in-out forwards, fadeIn 1s ease-in-out forwards;
}
.white-screen {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: white;
z-index: 9999; /* Place it above other elements */
opacity: 0;
pointer-events: none; /* Prevent interaction with the white screen */
transition: 2.5s ease-in-out;
}
.white-screen.shine {
opacity: 1;
transition: 2.5s ease-in-out;
}
@keyframes slideUp {
from {
transform: translateY(100vh);
}
to {
transform: translateY(50vh);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0; /* Start transparent */
}
to {
opacity: 1; /* Fully opaque */
}
}
@keyframes fadeOut {
from {
opacity: 1; /* Start transparent */
}
to {
opacity: 0; /* Fully opaque */
}
}
.column {
display: flex;
flex-direction: column;
justify-content: center; /* Horizontally center items */
align-items: center; /* Vertically center items */
}
.row {
display: flex;
flex-direction: row;
justify-content: center; /* Horizontally center items */
align-items: center; /* Vertically center items */
}
.spin {
animation: rotation 3s linear infinite; /* Default animation */
}
.spin.fast {
animation: rotation 1s linear infinite; /* Faster animation */
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
.center {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
margin: 20px;
}