game start/stop, snake rendered on board
This commit is contained in:
@@ -29,5 +29,21 @@
|
||||
background-color: var(--muted, #2f334d);
|
||||
border: 1px solid var(--border, #3b3f5c);
|
||||
box-sizing: border-box;
|
||||
transition: background-color 0.1s ease;
|
||||
}
|
||||
|
||||
/* =========================================================
|
||||
Snake Rendering
|
||||
========================================================= */
|
||||
.snake-cell.snake-head {
|
||||
background-color: var(--primary, #82aaff);
|
||||
border-radius: 30%;
|
||||
box-shadow: 0 0 8px color-mix(in srgb, var(--primary, #82aaff) 70%, transparent);
|
||||
}
|
||||
|
||||
.snake-cell.snake-body {
|
||||
background-color: var(--primary, #82aaff);
|
||||
opacity: 0.7;
|
||||
box-shadow: inset 0 0 3px color-mix(in srgb, var(--primary, #82aaff) 50%, transparent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user