This commit is contained in:
LionTion committed 2026-09-09 16:20:01 +02:00
1 parent dd596f16b9
commit 3c052a8b43
25 files changed
+2252 -74

No files matched your search

+45
View File
@@ -42,8 +42,53 @@ a {
text-decoration: none;
}
.charged-button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.5rem 1.25rem;
min-width: 8rem;
height: 2.75rem;
border: 2px solid white;
border-radius: 0.625rem;
outline: none;
isolation: isolate;
cursor: pointer;
background: #000;
color: #FFF;
box-shadow: 0 0 0 1px hsl(0 0% 0% / 0.15);
transition: box-shadow 120ms ease, transform 120ms ease;
}
.charged-button:hover {
box-shadow: 0 0 0 1px hsl(0 0% 0% / 0.45);
}
.charged-button:active {
transform: scale(0.97);
}
.charged-button__label {
position: relative;
z-index: 1;
pointer-events: none;
}
.charged-button-fill {
pointer-events: none;
position: absolute;
inset: 0;
border-radius: inherit;
opacity: 0.7;
background: linear-gradient(120deg, #1ea, #2af, #e1f, #2af);
background-size: 200% 200%;
transition: opacity 120ms ease;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}