2021-06-06 15:27:47 +02:00

126 lines
2.3 KiB
CSS

@font-face {
font-family: VT323;
src : url(./../fonts/VT323-Regular.ttf);
}
body {
font-family : VT323, 'Common Pixel', sans-serif;
background-color: black;
margin : auto;
width : 50%;
padding : 10px;
}
#canvas {
border : 1px solid #f8aa28;
border-radius: 1%;
}
.wrapper {
width : 416px;
height: 416px;
border : 1px solid #f8aa28;
border-radius: 1%;
position: relative;
}
.loading {
width : 100%;
height : 100%;
position : absolute;
top : 0px;
left : 0px;
background-color: black;
border : 1px solid #f8aa28;
border-radius : 1%;
}
.center {
display : flex;
flex-direction: column;
align-items : center;
justify-items : center;
}
.center:first-child {
margin-top: 5%;
text-align: center;
}
.text-loading {
color: white;
}
#form-username {
margin-top: 2vh;
color: white;
}
.container {
width : 100%;
text-align: center;
margin-top: 1vh;
}
.circle {
stroke : #f8aa28;
stroke-dasharray : 650;
stroke-dashoffset : 650;
-webkit-transition: all 0.5s ease-in-out;
transition : all 0.5s ease-in-out;
opacity : 0.3;
}
.playBut {
background-color : black;
display : inline-block;
transition : all 0.5s ease;
-webkit-transition: all 0.5s ease;
border: 0;
}
.playBut .triangle {
-webkit-transition: all 0.7s ease-in-out;
transition : all 0.7s ease-in-out;
stroke-dasharray : 240;
stroke-dashoffset : 480;
stroke : #FFF;
transform : translateY(0)
}
.playBut:hover .triangle {
stroke-dashoffset: 0;
opacity : 1;
stroke : #f8aa28;
animation : nudge 0.7s ease-in-out;
@keyframes nudge {
0% {
transform: translateX(0)
}
30% {
transform: translateX(-5px)
}
50% {
transform: translateX(5px)
}
70% {
transform: translateX(-2px)
}
100% {
transform: translateX(0)
}
}
}
.playBut:hover .circle {
stroke-dashoffset: 0;
opacity : 1;
}