defaults, round

This commit is contained in:
2026-03-11 18:10:20 +01:00
parent 018d623143
commit b8b743871e
5 changed files with 41 additions and 69 deletions

View File

@@ -66,12 +66,12 @@ td#timeCell {
}
@keyframes hard-dropped-table-animation {
25% {
transform: translateY(3px);
50% {
transform: translate(0, 5px);
}
}
.hard-dropped-table-animation {
animation: hard-dropped-table-animation .2s;
animation: hard-dropped-table-animation ease-in-out .2s;
}
tr.buffer-zone td:not(.mino) {
@@ -296,4 +296,4 @@ tr.cleared-line-animation {
.select2-results__group {
display: inline-block;
}
}

View File

@@ -1,11 +1,12 @@
:root {
--cell-size: 30px;
--sprite-size: calc(100% / 11);
--sprite-size: round(100% / 11, 1px);
--skin-url: url(https://you.have.fail/ed/at/tetrioplus/data/content/skin/Haley%20Halcyon/tetrio_gameboy_plus.svg);
}
.minoes-table {
border-collapse: collapse;
tr.matrix td:not(.mino) {
border-left: none;
border-bottom: none;
}
.mino {
@@ -62,6 +63,7 @@
}
.option {
--cell-size: 24px;
display: inline-block;
height: var(--cell-size);
}
@@ -71,7 +73,6 @@
}
.select2-container:not(.select2-container--disabled) .selection {
--cell-size: 24px;
--padded-cell-size: calc(var(--cell-size) + 1px);
--nb-sprites: 4;
--sprite-pos: 2;