From 46ca9f92d302cdb5f5fc5671bccf06fdf50641f0 Mon Sep 17 00:00:00 2001 From: adrien Date: Thu, 8 Jan 2026 18:49:41 +0100 Subject: [PATCH] change side color from orientation --- css/stereo.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/css/stereo.css b/css/stereo.css index 2126d01..86b5983 100644 --- a/css/stereo.css +++ b/css/stereo.css @@ -114,9 +114,19 @@ tr.matrix td:not(.mino) { border-radius: 2px; } -.minoes-table .mino::before, -.minoes-table .mino + :not(.mino)::before { +.minoes-table :not(.mino) + .mino::before, +.left .minoes-table .mino + .mino::before { background: var(--light-color); +} + +.right .minoes-table .mino + .mino::before, +.minoes-table .mino + :not(.mino)::before { + background: var(--dark-color); +} + +.minoes-table :not(.mino) + .mino::before, +.minoes-table .mino + .mino::before, +.minoes-table .mino + :not(.mino)::before { transform: translateZ(calc(-1 * var(--cell-side))) rotateY(-90deg); transform-origin: left; }