Improve home onboarding and table interactions
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s

This commit is contained in:
Shinuwa 2026-08-12 12:29:54 +02:00
parent 3cbd579fb7
commit 53ecde8d2b
9 changed files with 488 additions and 5 deletions

View file

@ -184,6 +184,184 @@ span {
line-height: 1;
}
.home-section-heading {
display: grid;
gap: var(--space-2);
min-width: 0;
}
.home-section-heading h2,
.home-section-heading p {
margin: 0;
}
.home-section-heading p:not(.eyebrow) {
max-width: 980px;
}
.home-orientation {
display: grid;
gap: var(--space-5);
margin-top: var(--space-6);
padding: var(--space-5);
}
.home-orientation-main {
display: grid;
}
.home-orientation-main.has-start-map {
padding-top: var(--space-5);
border-top: 1px solid rgba(150, 165, 205, 0.12);
}
.home-orientation-grid {
display: grid;
grid-template-columns: repeat(2, minmax(280px, 440px));
gap: var(--space-4);
justify-content: center;
}
.home-orientation-card {
position: relative;
isolation: isolate;
display: grid;
min-width: 0;
justify-items: center;
gap: var(--space-3);
overflow: hidden;
min-height: 220px;
padding: var(--space-4);
border: 1px solid transparent;
border-radius: var(--radius-md);
background:
linear-gradient(rgba(10, 13, 27, 0.92), rgba(10, 13, 27, 0.92)) padding-box,
radial-gradient(circle at 100% 0%, rgba(246, 196, 83, 0.2), transparent 28%) border-box,
linear-gradient(135deg, rgba(246, 196, 83, 0.44), rgba(139, 92, 246, 0.22) 66%, rgba(34, 211, 238, 0.16)) border-box;
box-shadow: var(--shadow-sm);
text-decoration: none;
transition:
border-color var(--duration-fast) var(--ease-standard),
background var(--duration-fast) var(--ease-standard),
box-shadow var(--duration-fast) var(--ease-standard);
}
.home-orientation-card > * {
position: relative;
z-index: 1;
}
.home-orientation-card .module-icon-svg {
width: 36px;
height: 36px;
background: var(--color-accent-gold);
}
.home-orientation-card strong {
text-align: center;
color: var(--color-text-primary);
font-size: var(--font-size-lg);
}
.home-orientation-card span:not(.module-icon-svg) {
max-width: 620px;
text-align: center;
font-size: var(--font-size-sm);
}
.home-orientation-card em {
display: inline-flex;
min-height: 38px;
align-items: center;
justify-content: center;
width: fit-content;
margin-top: auto;
padding: 0 var(--space-3);
border: 1px solid rgba(246, 196, 83, 0.28);
border-radius: var(--radius-md);
background: rgba(246, 196, 83, 0.08);
color: var(--color-accent-gold);
font-style: normal;
font-size: var(--font-size-sm);
font-weight: 800;
}
.home-orientation-card:hover,
.home-orientation-card:focus-visible {
transform: none;
border-color: transparent;
background:
linear-gradient(rgba(18, 23, 44, 0.96), rgba(18, 23, 44, 0.96)) padding-box,
radial-gradient(circle at 100% 0%, rgba(246, 196, 83, 0.26), transparent 28%) border-box,
linear-gradient(135deg, rgba(246, 196, 83, 0.58), rgba(196, 181, 253, 0.34) 62%, rgba(34, 211, 238, 0.2)) border-box;
box-shadow:
var(--shadow-sm),
0 0 18px rgba(139, 92, 246, 0.16);
}
.home-start-map {
display: grid;
gap: var(--space-5);
}
.home-start-steps {
display: grid;
gap: 0;
margin: 0;
padding: 0;
list-style: none;
}
.home-start-steps li {
display: flex;
min-width: 0;
gap: var(--space-3);
padding: var(--space-3) 0;
border-top: 1px solid rgba(150, 165, 205, 0.1);
}
.home-start-steps li:first-child {
padding-top: 0;
border-top: 0;
}
.home-start-steps li:last-child {
padding-bottom: 0;
}
.home-start-steps li > span {
display: grid;
width: 28px;
min-width: 28px;
height: 28px;
place-items: center;
border: 1px solid rgba(246, 196, 83, 0.32);
border-radius: var(--radius-sm);
background: rgba(246, 196, 83, 0.1);
color: var(--color-accent-gold);
font-size: var(--font-size-sm);
font-weight: 900;
}
.home-start-steps div {
display: grid;
gap: 4px;
min-width: 0;
}
.home-start-steps strong,
.home-start-steps p {
margin: 0;
}
.home-start-steps strong {
color: var(--color-text-primary);
}
.home-start-steps p {
font-size: var(--font-size-sm);
}
.home-visual {
display: grid;
align-self: center;

View file

@ -76,6 +76,7 @@
.game-hero,
.page-hero,
.origin-section,
.home-orientation-grid,
.about-story-section,
.about-contribute-section,
.about-tools-list,

View file

@ -5536,6 +5536,14 @@ button.combo-input-token.combo-value-grab .ui-icon {
box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.42);
}
.table-cell-input.is-move-target {
background:
linear-gradient(135deg, rgba(246, 196, 83, 0.14), rgba(34, 211, 238, 0.08)),
rgba(21, 26, 48, 0.64);
box-shadow: inset 0 0 0 1px rgba(246, 196, 83, 0.66);
cursor: move;
}
.table-cell-input.is-selected:focus {
box-shadow: inset 0 0 0 1px rgba(246, 196, 83, 0.6), 0 0 0 2px rgba(34, 211, 238, 0.2);
}