mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
augment trees, pitch-limit fallback, and cached definitions
This commit is contained in:
57 files changed
+2196
-717
No files matched your search
@@ -1,7 +1,4 @@
|
||||
.tree {
|
||||
/* The game lays the tree out left to right; here depth runs top to bottom */
|
||||
--depth-gap: var(--space-5);
|
||||
--sibling-gap: var(--space-4);
|
||||
--line-thickness: var(--space-1);
|
||||
--line-border: var(--space-1) solid var(--gray-6);
|
||||
|
||||
@@ -9,12 +6,7 @@
|
||||
margin-bottom: calc(var(--space-2) + var(--font-size-minor));
|
||||
}
|
||||
|
||||
display: grid;
|
||||
gap: var(--depth-gap) var(--sibling-gap);
|
||||
|
||||
.cell {
|
||||
position: relative;
|
||||
|
||||
.trunk-left,
|
||||
.trunk-right {
|
||||
position: absolute;
|
||||
@@ -71,41 +63,5 @@
|
||||
.snake-right {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.module {
|
||||
position: relative;
|
||||
|
||||
.icon {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
|
||||
.module[data-major="true"] & {
|
||||
transform: scale(1.25);
|
||||
}
|
||||
}
|
||||
|
||||
.price {
|
||||
display: flex;
|
||||
gap: var(--space-1);
|
||||
|
||||
font-size: var(--font-size-minor);
|
||||
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
|
||||
transform: translateX(-50%);
|
||||
|
||||
margin-top: var(--space-2);
|
||||
|
||||
background-color: var(--gray-2);
|
||||
|
||||
svg,
|
||||
img {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user