Website/styles/Socials.module.css

92 lines
1.9 KiB
CSS
Executable File

@keyframes appear {
from {
opacity:0;
scale: 0.5;
}
to {
opacity:1;
scale: 1.2;
}
}
@keyframes appeartext {
0% {
opacity:0;
scale: 0.5;
filter: blur(5px);
}
10%{
opacity:1;
}
100% {
opacity:1;
scale: 1;
filter: blur(0px);
}
}
@keyframes moveBackground {
0% {
background-position-x: 0%;
}
100% {
background-position-x: 500%;
}
}
.rainbowText {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-size: 500%, 100%;
animation: moveBackground 20s linear infinite;
}
.ownRainbow {
background-image: linear-gradient(-45deg, hsl(360, 100%, 60%) 10%, hsl(270, 100%, 60%) 30%, hsl(214, 100%, 60%) 50%, hsl(270, 100%, 60%) 70%, hsl(360, 100%, 60%) 90%);
}
.Socials {
animation-name: appeartext;
animation-duration: 2s;
animation-delay:0s;
animation-fill-mode: forwards;
animation-timing-function: ease;
opacity: 0;
scale: 0.5;
filter: blur(5px);
user-select: none;
}
.Socials>i {
scale: 0.5;
opacity: 0;
animation-name: appear;
animation-duration: 1s;
animation-delay: 1s;
animation-fill-mode: forwards;
animation-timing-function: ease;
user-select: none;
}
.Button {
color: rgba(255,255,255,0.5);
cursor: pointer;
display: inline-block;
padding-left: 20px;
transition: all .2s;
scale: 1;
backface-visibility: hidden;
-webkit-font-smoothing: subpixel-antialiased;
transform: translateZ(0);
user-select: none;
}
.Button:hover {
color: rgba(0,0,0,0);
filter: blur(0px);
mix-blend-mode: normal;
/* mask-image: linear-gradient(to right, transparent, #666); */
scale: 1.08;
shape-rendering: geometricPrecision;
text-rendering: geometricPrecision;
backface-visibility: hidden;
-webkit-font-smoothing: subpixel-antialiased;
transform: translateZ(0);
user-select: none;
}