left face on first then right face

This commit is contained in:
2026-01-08 18:34:44 +01:00
parent 3093d880aa
commit 97ca770641
2 changed files with 3 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ body {
.modal-content {
background-color: #2125294d;
backdrop-filter: blur(10px);
backdrop-filter: blur(15px);
}
}

View File

@@ -103,7 +103,6 @@ tr.matrix td:not(.mino) {
}
.mino::before,
.mino + ::before,
.mino::after {
content: '';
position: absolute;
@@ -115,13 +114,13 @@ tr.matrix td:not(.mino) {
border-radius: 2px;
}
.mino::before {
:not(.mino) + .mino::before {
background: var(--light-color);
transform: translateZ(calc(-1 * var(--cell-side))) rotateY(-90deg);
transform-origin: left;
}
.mino + *::before {
.mino::before {
background: var(--dark-color);
transform: translateZ(calc(-1 * var(--cell-side))) rotateY(90deg);
transform-origin: right;