before ai
This commit is contained in:
1 parent
85d0d0be57
commit
be50463157
11 files changed
+205
-76
No files matched your search
+6
-51
@@ -10,6 +10,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
color-scheme: dark;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -46,54 +52,3 @@ a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user