mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-17 00:26:41 +03:00
restructure(site): Antidote → 8th tab inside The Case
Remove section 03 (The Antidote) entirely as a standalone section. Bring the original pattern list (patterns-tabbed via /api/patterns) and gallery-stack-container back intact, and move them into a new 8th tab in The Case: "Anti-patterns, caught". The new tab panel shows the list + gallery side-by-side on wide viewports, stacked on narrow. Keeps the existing app.js wiring (renderPatternsWithTabs and initGalleryStack both auto-discover via IDs). Section numbers renumbered: Case 04→03, Live 05→04, Install 06→05, Changelog 07→06, FAQ 08→07. Sticky nav updated to match.
This commit is contained in:
@@ -3978,3 +3978,32 @@
|
||||
gap: var(--spacing-sm);
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
WHY — Anti-patterns, caught (tab 08 visual)
|
||||
============================================ */
|
||||
|
||||
.why-visual--antidote {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
min-height: 0;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
|
||||
gap: var(--spacing-md);
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.why-visual--antidote .patterns-tabbed {
|
||||
margin: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.why-visual--antidote .gallery-stack-container {
|
||||
flex: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.why-visual--antidote { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user