Refocus responsive layouts on compact desktop use
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s

This commit is contained in:
Shinuwa 2026-10-05 15:47:46 +02:00
parent 96d058293d
commit 0ac1a0974e
27 changed files with 610 additions and 190 deletions

View file

@ -49,6 +49,69 @@
.about-reminders-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-onboarding-layout,
.library-doc-layout {
grid-template-columns: 1fr;
}
.library-example-layout,
.hero,
.origin-section {
grid-template-columns: 1fr;
}
.hero-stats {
align-self: start;
justify-self: start;
width: min(520px, 100%);
}
.home-visual {
display: none;
}
.origin-copy {
padding-right: 0;
border-right: 0;
}
.library-doc-nav {
position: static;
max-height: none;
}
.page-heading,
.toolbox-head {
align-items: stretch;
flex-direction: column;
}
.game-heading-actions,
.guide-checklist-page-controls {
width: 100%;
align-items: stretch;
}
.guide-checklist-page-actions,
.toolbar,
.page-heading .actions,
.toolbox-head .actions {
flex-wrap: wrap;
}
}
@media (max-width: 1439px) {
main {
width: min(100% - 40px, 1280px);
padding-top: var(--space-6);
}
.toolbar,
.page-heading .actions,
.toolbox-head .actions {
flex-wrap: wrap;
}
}
@media (max-height: 760px) and (min-width: 1025px) {
@ -58,22 +121,14 @@
}
@media (max-width: 760px) {
.drawer {
--drawer-top-offset: 110px;
.topbar {
padding-inline: var(--space-4);
}
.app-shell {
display: block;
padding-bottom: 76px;
}
.sidebar {
.topbar:has(.compact-game-view-switch) > div:first-child {
display: none;
}
.topbar,
.page-heading,
.toolbox-head,
.module .module-header {
align-items: stretch;
flex-direction: column;
@ -109,24 +164,6 @@
order: 2;
}
.topbar {
padding: var(--space-4);
}
.topbar-actions {
display: flex;
}
.topbar-actions > * {
width: 100%;
}
.game-heading-actions,
.guide-checklist-page-controls {
width: 100%;
align-items: stretch;
}
.guide-checklist-page-controls {
justify-content: space-between;
}
@ -144,11 +181,8 @@
width: 100%;
}
.hero,
.game-hero,
.page-hero,
.origin-section,
.home-onboarding-layout,
.home-onboarding-cards,
.about-story-section,
.about-story-list,
@ -231,10 +265,6 @@
-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.14) 30%, #000 70%);
}
.home-visual {
width: min(320px, 100%);
}
.origin-section {
padding: var(--space-5);
}
@ -243,13 +273,6 @@
padding-left: 0;
}
.origin-copy {
padding-right: 0;
padding-bottom: var(--space-5);
border-right: 0;
border-bottom: 2px solid rgba(246, 196, 83, 0.66);
}
.dialogue-line {
max-width: 92%;
}
@ -322,7 +345,6 @@
max-height: none;
}
.library-example-layout,
.library-tool-feature-list dl > div {
grid-template-columns: 1fr;
}
@ -413,59 +435,12 @@
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mobile-nav {
position: fixed;
right: 12px;
bottom: 12px;
left: 12px;
z-index: 60;
display: grid;
grid-template-columns: 1fr 1fr 52px 1fr;
gap: 8px;
align-items: center;
padding: 8px;
border: 1px solid var(--color-border);
border-radius: var(--radius-xl);
background: rgba(11, 14, 27, 0.9);
backdrop-filter: blur(10px);
box-shadow: var(--shadow-lg);
}
.mobile-nav a,
.mobile-nav button {
min-height: 44px;
padding: 0 8px;
border-radius: var(--radius-md);
font-size: var(--font-size-sm);
}
.mobile-nav a {
display: grid;
place-items: center;
color: var(--color-text-secondary);
}
.mobile-nav a.active {
background: var(--color-primary-soft);
color: var(--color-text-primary);
}
}
@media (max-width: 699px) {
.drawer-panel {
width: 100vw;
min-width: 0;
max-width: none;
}
@media (max-width: 767px) {
.drawer-link-existing form {
grid-template-columns: 1fr;
}
.drawer-resize-handle {
display: none;
}
}
@media (max-width: 480px) {