@e280/authlocal
Version:
User-sovereign login system for everybody
54 lines (44 loc) • 832 B
JavaScript
import { css } from "@benev/slate";
export default css `
:host {
display: contents;
}
p {
color: var(--angry);
}
code {
color: var(--angry);
font-size: 1.2em;
}
.box {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
width: 100%;
}
input {
flex: 1 1 auto;
min-width: 1em;
font-size: 1.3em;
padding: 0.5em 1em;
color: var(--angry);
font-weight: bold;
}
button:not([disabled]) {
box-shadow: 0 0 4em color-mix(in lch, transparent, currentColor 50%);
background: color-mix(in lch, transparent, currentColor 25%);
&:not(:hover, :focus) {
animation: angryglow 1s ease infinite;
}
&:is(:hover, :focus) {
color: white;
background: var(--angry);
}
}
@keyframes angryglow {
0% { color: var(--angry); }
50% { color: var(--angryglow); }
100% { color: var(--angry); }
}
`;
//# sourceMappingURL=styles.css.js.map