website: redesign part 31

This commit is contained in:
nym21
2026-06-18 22:39:28 +02:00
parent 408d83c350
commit 00f7d69ea6
37 changed files with 811 additions and 703 deletions
+42 -20
View File
@@ -6,31 +6,53 @@ main.wallets {
min-height: 16rem;
text-align: center;
h2,
p {
> h1 {
margin: 0;
font-size: 3rem;
font-weight: 400;
line-height: 1;
}
}
.wallets__unlock-form {
display: grid;
grid-template-columns: minmax(12rem, 18rem) auto;
gap: 0.75rem;
align-items: end;
justify-content: center;
}
> form {
display: grid;
grid-template-columns: minmax(12rem, 18rem) auto;
gap: 0.75rem;
align-items: end;
justify-content: center;
.wallets__reset {
justify-self: center;
color: var(--gray);
background: transparent;
}
}
@media (max-width: 34rem) {
grid-template-columns: 1fr;
}
@media (max-width: 34rem) {
main.wallets {
.wallets__unlock-form {
grid-template-columns: 1fr;
> button {
border-color: var(--orange);
color: var(--black);
background: var(--orange);
}
}
> button {
position: relative;
isolation: isolate;
justify-self: center;
overflow: hidden;
color: var(--gray);
background: transparent;
&::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
background: color-mix(in oklch, var(--red) 34%, transparent);
transform: scaleX(0);
transform-origin: left;
}
&[data-wallets-holding]::before {
transform: scaleX(1);
transition: transform 2s linear;
}
}
}
}