Optimize style

This commit is contained in:
Mimi 2020-04-16 18:56:54 +08:00
parent b9398212dc
commit 60b5b98033

View File

@ -28,11 +28,9 @@ body, html {
margin: 0;
padding: 0;
overflow: hidden;
background: white;
color: white;
font-family: "Changa", "Sans Serif";
user-select: none;
background-attachment: fixed;
}
canvas {
position: fixed;
@ -66,13 +64,15 @@ canvas {
height: 160px;
}
.center {
vertical-align: middle;
text-align: center;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.center img {
display: block;
}
.scale {
animation: scale 5s infinite ease-in-out;
}