From 9a2989616a95b77ad0d088ee169b47a694452592 Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 1 Mar 2026 15:32:02 +0100 Subject: [PATCH] top side --- css/classic.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/css/classic.css b/css/classic.css index 89bc7cc..456b25d 100644 --- a/css/classic.css +++ b/css/classic.css @@ -1,3 +1,15 @@ +.minoes-table tr { + z-index: calc(100 - var(--row)); + position: sticky; +} + +tr.matrix td:not(.mino) { + border-left: 1px solid #333; + border-right: 1px solid #333; + border-top: 2px solid #303030; + border-bottom: none; +} + .mino { --color: hsl(var(--hue), var(--saturation), 40%); --light: hsl(var(--hue), calc(0.66 * var(--saturation)), 84%); @@ -26,7 +38,8 @@ border-radius: 3px; box-shadow: 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 -2px 0 var(--light); filter: saturate(1.1) contrast(1.05); } @@ -71,4 +84,5 @@ background-color: #fff2; background-clip: content-box; background-image: none; + box-shadow: none; } \ No newline at end of file