refactor(web): supporter badge (#11656)

* refactor(web): supporter badge

* add style lang
This commit is contained in:
Michel Heusschen
2024-08-08 20:02:44 +02:00
committed by GitHub
parent 4a42a72bd3
commit 96481aae5d
4 changed files with 51 additions and 59 deletions

View File

@@ -142,46 +142,4 @@ input:focus-visible {
.scrollbar-stable {
scrollbar-gutter: stable both-edges;
}
/* Supporter Effect */
.supporter-effect {
position: relative;
border: 0px solid transparent;
background-clip: padding-box;
animation: gradient 10s ease infinite;
z-index: 1;
}
.supporter-effect:hover:after {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
background: linear-gradient(
to right,
rgba(16, 132, 254, 0.25),
rgba(229, 125, 175, 0.25),
rgba(254, 36, 29, 0.25),
rgba(255, 183, 0, 0.25),
rgba(22, 193, 68, 0.25)
);
content: '';
border-radius: 8px;
animation: gradient 10s ease infinite;
background-size: 400% 400%;
z-index: -1;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
}