last commit implemented js file

This commit is contained in:
El Haddoury Younes
2026-01-21 14:24:29 +01:00
parent b483e5f73f
commit b3b02a59ae
4 changed files with 31 additions and 74 deletions

View File

@@ -161,7 +161,6 @@
user-select:none;
}
/* 7-seg digit container */
.digit{
position:relative;
width: 110px;
@@ -173,7 +172,6 @@
flex:0 0 auto;
}
/* Match segments */
.seg{
position:absolute;
width: var(--matchL);
@@ -186,7 +184,6 @@
.seg:hover{ filter: brightness(1.1); }
.seg:active{ transform: translateY(1px); }
/* removed (invisible/white) */
.seg.removed{
background: rgba(255,255,255,0) !important;
box-shadow:none;
@@ -194,20 +191,13 @@
pointer-events:none;
}
/* segment positions */
/* a (top) */
.seg.a{ top: 16px; left: 21px; }
/* b (top-right) */
.seg.b{ top: 32px; left: 73px; width: var(--matchW); height: var(--matchL); }
/* c (bottom-right) */
.seg.c{ top: 92px; left: 73px; width: var(--matchW); height: var(--matchL); }
/* d (bottom) */
.seg.d{ top: 146px; left: 21px; }
/* e (bottom-left) */
.seg.e{ top: 92px; left: 23px; width: var(--matchW); height: var(--matchL); }
/* f (top-left) */
.seg.f{ top: 32px; left: 23px; width: var(--matchW); height: var(--matchL); }
/* g (middle) */
.seg.g{ top: 81px; left: 21px; }
.side{