Fix: increase player card padding and ensure cell nodes stay circular
This commit is contained in:
@@ -126,7 +126,7 @@ html, body {
|
|||||||
.score-card {
|
.score-card {
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
padding: 0.75rem 1rem;
|
padding: 1rem 1.25rem;
|
||||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -197,13 +197,12 @@ html, body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cell__node {
|
.cell__node {
|
||||||
width: min(40%, 1.4rem);
|
width: clamp(8px, 35%, 1.2rem);
|
||||||
height: min(40%, 1.4rem);
|
height: clamp(8px, 35%, 1.2rem);
|
||||||
min-width: 8px;
|
|
||||||
min-height: 8px;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: var(--node-color);
|
background: var(--node-color);
|
||||||
box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.06), 0 0 1rem var(--node-glow);
|
box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.06), 0 0 1rem var(--node-glow);
|
||||||
|
aspect-ratio: 1 / 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cell.selected {
|
.cell.selected {
|
||||||
|
|||||||
Reference in New Issue
Block a user