left always bright, right always dark

This commit is contained in:
2026-01-09 08:15:50 +01:00
parent e4c0ba5719
commit e17517e2eb

View File

@@ -133,8 +133,8 @@ tr.matrix td:not(.mino) {
height: var(--cell-side);
}
.minoes-table .mino::before,
.minoes-table .mino + :not(.mino)::before {
.minoes-table :not(.mino) + .mino::before,
.left .minoes-table .mino + .mino::before {
--light: calc(
1.1
+ (var(--light-x) * 0.5)
@@ -144,8 +144,9 @@ tr.matrix td:not(.mino) {
transform-origin: left;
}
.right .minoes-table .mino::before,
.right .minoes-table .mino + :not(.mino)::before {
.right .minoes-table .mino + .mino::before,
.minoes-table .mino + :not(.mino)::before,
.right .minoes-table .mino:last-child::before {
--light: calc(
0.85
+ (var(--light-x) * -0.5)