67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
@keyframes reveal {
|
|
0% {
|
|
text-shadow: none;
|
|
}
|
|
20% {
|
|
text-shadow: 4px 4px 2px rgba(0,0,0,0.1), -4px -4px 2px rgba(0,0,0,0.1), -4px 4px 2px rgba(0,0,0,0.1), 4px -4px 2px rgba(0,0,0,0.1), 0px 0px 8px black;
|
|
}
|
|
100% {
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
|
|
* {
|
|
user-select: none;
|
|
}
|
|
|
|
body {
|
|
margin: 0; padding: 0;
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
font-family: Arial;
|
|
text-transform: lowercase;
|
|
filter: invert(1);
|
|
background-color: black;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
font-weight: 200;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
button {
|
|
all: unset;
|
|
margin-top: 1rem;
|
|
border: 1px solid black;
|
|
padding: 0.5rem;
|
|
font-size: 1rem;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
margin-bottom: 1rem;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: lightgrey;
|
|
}
|
|
|
|
button:active {
|
|
background-color: grey;
|
|
}
|
|
|
|
.animation {
|
|
animation: reveal 2s linear forwards;
|
|
}
|
|
|
|
.buttondisable {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
} |