2 Commits

Author SHA1 Message Date
36112f1ec8 less drop-shadows 2026-03-04 00:30:50 +01:00
b28b44507b white border 2026-03-03 14:52:31 +01:00

View File

@@ -1,3 +1,9 @@
.minoes-table {
filter:
drop-shadow(-1px -1px 0 white)
drop-shadow( 1px 1px 0 white);
}
.minoes-table tr { .minoes-table tr {
z-index: calc(100 - var(--row)); z-index: calc(100 - var(--row));
position: sticky; position: sticky;
@@ -6,13 +12,14 @@
tr.matrix td:not(.mino) { tr.matrix td:not(.mino) {
border-left: none; border-left: none;
border-bottom: none; border-bottom: none;
border-right: 1px solid #30303003;
border-top: 1px solid #30303003;
} }
.mino { .mino {
--color: hsl(var(--hue), var(--saturation), 40%); --color: hsl(var(--hue), var(--saturation), 40%);
--light: hsl(var(--hue), calc(0.66 * var(--saturation)), 84%); --light: hsl(var(--hue), calc(0.66 * var(--saturation)), 84%);
--top: hsl(var(--hue), calc(0.6 * var(--saturation)), 68%); --top: hsl(var(--hue), calc(0.6 * var(--saturation)), 68%);
--right: hsl(var(--hue), calc(0.4 * var(--saturation)), 20%);
background-color: var(--color); background-color: var(--color);
background-image: background-image:
radial-gradient( radial-gradient(
@@ -39,9 +46,7 @@ tr.matrix td:not(.mino) {
box-shadow: box-shadow:
inset 2px 0 4px rgba(0,0,0,.06), inset 2px 0 4px rgba(0,0,0,.06),
inset -2px 0 4px rgba(0,0,0,.12), inset -2px 0 4px rgba(0,0,0,.12),
0 -4px 0 var(--top), 0 -4px 0 var(--top);
2px -3px 0 var(--right),
3px 2px 6px #0004;
filter: saturate(1.1) contrast(1.05); filter: saturate(1.1) contrast(1.05);
} }
@@ -81,10 +86,34 @@ tr.matrix td:not(.mino) {
} }
.ghost { .ghost {
border: 3px solid #fff2; border: 3px solid #fff1;
padding: 2px; padding: 2px;
background-color: #fff2; background-color: #fff1;
background-clip: content-box; background-clip: content-box;
background-image: none; background-image: none;
box-shadow: none; box-shadow: none;
}
@keyframes trail-animation {
from {
background-color: #ceffff10;
}
to {
background-color: transparent;
}
}
@keyframes cleared-line-animation {
from {
background-color: #fff6;
filter: saturate(50%) brightness(300%);
box-shadow: 0 0 0 #adb5bd66, 0 0 0 #adb5bd66;
}
60% {
box-shadow: -60px 0 2px #adb5bd33, 60px 0 2px #adb5bd33;
}
to {
background-color: transparent;
box-shadow: -100px 0 5px transparent, 100px 0 5px transparent;
}
} }