fix: correct card sizing — shrink zones, enlarge hand cards
Red zones (Library/Exile/Grave/Commander): halved from original (63→32, 88→44). Blue zone (hand cards): doubled from original (32→64, 45→90) using new --hand-card-w/--hand-card-h variables so hand sizing is decoupled from zone sizing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
bce0d50e39
commit
a5a66a81f2
1 file changed
+11
-7
+11
-7
@@ -66,8 +66,10 @@
|
||||
--p4: #d4930d; --p4-soft: rgba(212,147,13,0.15); --p4-glow: rgba(212,147,13,0.35); --p4-text: #f1c40f;
|
||||
|
||||
/* Card dimensions */
|
||||
--card-w: 126px;
|
||||
--card-h: 176px;
|
||||
--card-w: 32px;
|
||||
--card-h: 44px;
|
||||
--hand-card-w: 64px;
|
||||
--hand-card-h: 90px;
|
||||
--bf-card-w: 100px;
|
||||
--bf-card-h: 140px;
|
||||
--zone-radius: 8px;
|
||||
@@ -796,7 +798,7 @@ input { font-family: inherit; }
|
||||
|
||||
.zone.hand {
|
||||
flex: 1;
|
||||
height: var(--card-h);
|
||||
height: var(--hand-card-h);
|
||||
min-width: 60px;
|
||||
flex-direction: row;
|
||||
gap: 3px;
|
||||
@@ -855,8 +857,8 @@ input { font-family: inherit; }
|
||||
|
||||
/* Hand card thumbnails inside hand zone */
|
||||
.hand-thumb {
|
||||
width: 64px;
|
||||
height: 90px;
|
||||
width: var(--hand-card-w);
|
||||
height: var(--hand-card-h);
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
@@ -2545,8 +2547,10 @@ kbd {
|
||||
============================================================ */
|
||||
@media (max-width: 768px) {
|
||||
:root {
|
||||
--card-w: 84px;
|
||||
--card-h: 116px;
|
||||
--card-w: 21px;
|
||||
--card-h: 29px;
|
||||
--hand-card-w: 42px;
|
||||
--hand-card-h: 58px;
|
||||
--bf-card-w: 72px;
|
||||
--bf-card-h: 100px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user