forked from ilikecats/papercats
Optimize style
This commit is contained in:
parent
b9398212dc
commit
60b5b98033
@ -28,11 +28,9 @@ body, html {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: white;
|
|
||||||
color: white;
|
color: white;
|
||||||
font-family: "Changa", "Sans Serif";
|
font-family: "Changa", "Sans Serif";
|
||||||
user-select: none;
|
user-select: none;
|
||||||
background-attachment: fixed;
|
|
||||||
}
|
}
|
||||||
canvas {
|
canvas {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -66,13 +64,15 @@ canvas {
|
|||||||
height: 160px;
|
height: 160px;
|
||||||
}
|
}
|
||||||
.center {
|
.center {
|
||||||
vertical-align: middle;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
.center img {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
.scale {
|
.scale {
|
||||||
animation: scale 5s infinite ease-in-out;
|
animation: scale 5s infinite ease-in-out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user