Website/styles/404.module.css

80 lines
1.9 KiB
CSS
Raw Normal View History

2021-11-01 11:36:45 +00:00
@keyframes cardSlide {
from {
top: calc(50% - 200px);
-ms-transform: translateY(calc(-50% + 80px));
transform: translateY(calc(-50% + 80px));
opacity: 0;
filter:blur(5px);
scale: 0.5;
}
to {
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
opacity: 1;
filter:blur(0px);
scale: 1;
}
}
@keyframes pop {
from {
scale: 0.5;
}
to {
scale: 1;
}
}
.Card {
padding: 10px;
2022-02-15 17:08:29 +00:00
background-color: #7b61db;
2021-11-01 11:36:45 +00:00
color: white;
font-size: 20pt;
font-family: 'Manrope';
padding-left: 20px;
2022-02-15 17:08:29 +00:00
-webkit-box-shadow: 0px 10px 0px 0px #46377c;
-moz-box-shadow: 0px 10px 0px 0px #46377c;
box-shadow: 0px 10px 0px 0px #46377c;
2021-11-01 11:36:45 +00:00
border: 0px white solid;
border-radius: 10px;
margin: 0;
position: absolute;
top: calc(50% - 80px);
-ms-transform: translateY(calc(-50% + 80px));
transform: translateY(calc(-50% + 80px));
opacity: 0;
filter:blur(5px);
animation-name: cardSlide;
animation-duration: .6s;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;
animation-delay: .2s;
}
.CodeBox {
display: block;
2022-02-15 17:08:29 +00:00
color:#fff;
background-color:#1e163a;
2021-11-01 11:36:45 +00:00
padding-left:20px;
padding-right:20px;
border:0px white solid;
border-radius:10px;
transition: .4s padding-left, .4s padding-right, .2s background-color, .2s color, .4s width;
animation-name: pop;
animation-duration: .9s;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;
animation-delay: .2s;
width: 150px;
margin: auto;
margin-top: 10px;
margin-bottom: 10px;
}
.CodeBox:hover {
2022-02-15 17:08:29 +00:00
color:#ffffff;
background-color:#341f81;
2021-11-01 11:36:45 +00:00
padding-left:40px;
padding-right:40px;
border:0px white solid;
border-radius:10px;
width: 300px;
}