_muse-docs.scss
sha256:d92f362b6c8aa3408e30fde1ad762a1e85c0f0fc054635d225c536d854470aba
docs(landing): QA contract v2 — engine-pinned claim fixes, …
Opus 5.5
minor
⚠ breaking
9 days ago
| 1 | // ───────────────────────────────────────────────────────────────────────────── |
| 2 | // Page: Muse developer docs (/muse and /muse/*) |
| 3 | // File: src/scss/pages/_muse-docs.scss |
| 4 | // |
| 5 | // STRUCTURAL LAYOUT ONLY — zero colors, zero typography here. |
| 6 | // Visual rules live in components/_devdocs.scss. |
| 7 | // ───────────────────────────────────────────────────────────────────────────── |
| 8 | |
| 9 | .devdocs { |
| 10 | flex: 1; |
| 11 | min-height: 0; |
| 12 | display: flex; |
| 13 | flex-direction: column; |
| 14 | padding: 0; |
| 15 | |
| 16 | @media (max-width: 900px) { overflow: visible; } |
| 17 | } |
| 18 | |
| 19 | // ── Landing index ───────────────────────────────────────────────────────────── |
| 20 | |
| 21 | // `margin: 0 auto` in the column flexbox `.devdocs` would size the index to fit its content, so the |
| 22 | // widest unbreakable line set the page width (602 px on phones, musehub#243). Filling the column |
| 23 | // instead keeps every child within the viewport; min-width: 0 lets it shrink below its content. |
| 24 | .devdocs-index { |
| 25 | width: 100%; |
| 26 | min-width: 0; |
| 27 | max-width: 900px; |
| 28 | margin: 0 auto; |
| 29 | padding: var(--space-8) var(--space-6) var(--space-12); |
| 30 | |
| 31 | @media (max-width: 480px) { padding-inline: var(--space-4); } |
| 32 | } |
| 33 | |
| 34 | .devdocs-index-intro { |
| 35 | display: grid; |
| 36 | grid-template-columns: minmax(0, 1fr) auto; |
| 37 | gap: var(--space-8); |
| 38 | align-items: start; |
| 39 | margin-bottom: var(--space-10); |
| 40 | padding-bottom: var(--space-8); |
| 41 | |
| 42 | // Phones: the stats move under the hero text instead of squeezing it into a narrow column. |
| 43 | @media (max-width: 640px) { |
| 44 | grid-template-columns: minmax(0, 1fr); |
| 45 | gap: var(--space-5); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | .devdocs-stat-cluster { |
| 50 | display: flex; |
| 51 | flex-direction: column; |
| 52 | gap: var(--space-3); |
| 53 | flex-shrink: 0; |
| 54 | |
| 55 | @media (max-width: 640px) { |
| 56 | flex-direction: row; |
| 57 | flex-wrap: wrap; |
| 58 | gap: var(--space-4) var(--space-8); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | .devdocs-phase-grid { |
| 63 | display: grid; |
| 64 | grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); |
| 65 | gap: var(--space-4); |
| 66 | padding: var(--space-8) 0; |
| 67 | } |
| 68 | |
| 69 | .devdocs-reading-paths { margin-top: var(--space-12); } |
| 70 | |
| 71 | .devdocs-phase-card__tags { |
| 72 | display: flex; |
| 73 | flex-wrap: wrap; |
| 74 | gap: 4px; |
| 75 | margin-top: auto; |
| 76 | padding-top: var(--space-2); |
| 77 | } |
| 78 | |
| 79 | // ── Hero section (hero variant used on some sub-pages) ───────────────────────── |
| 80 | |
| 81 | .devdocs-hero { |
| 82 | padding: var(--space-10) 0 var(--space-8); |
| 83 | } |
| 84 | |
| 85 | .devdocs-hero-inner { |
| 86 | max-width: 900px; |
| 87 | margin: 0 auto; |
| 88 | padding: 0 var(--space-6); |
| 89 | } |
| 90 | |
| 91 | // ── Two-column docs layout (phase pages) ────────────────────────────────────── |
| 92 | |
| 93 | // App-shell page (issue #139) — .devdocs-layout is `flex: 1` within |
| 94 | // whatever the body shell leaves it, not a calc()'d height. See |
| 95 | // docs/issues/two-column-app-shell-refactor.md. |
| 96 | .devdocs-layout { |
| 97 | display: grid; |
| 98 | grid-template-columns: 220px 1fr; |
| 99 | gap: 0; |
| 100 | align-items: stretch; |
| 101 | min-height: 0; |
| 102 | flex: 1; |
| 103 | max-width: 1100px; |
| 104 | margin: 0 auto; |
| 105 | width: 100%; |
| 106 | padding: 0 var(--space-6); |
| 107 | |
| 108 | @media (max-width: 900px) { |
| 109 | grid-template-columns: 1fr; |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | // ── Sidebar ──────────────────────────────────────────────────────────────────── |
| 114 | |
| 115 | .devdocs-sidebar { |
| 116 | min-height: 0; |
| 117 | overflow-y: auto; |
| 118 | scrollbar-width: thin; |
| 119 | scrollbar-color: var(--border-default) transparent; |
| 120 | padding: var(--space-8) var(--space-5) var(--space-8) 0; |
| 121 | |
| 122 | @media (max-width: 900px) { |
| 123 | overflow-y: visible; |
| 124 | display: none; |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | .devdocs-nav-group { margin-bottom: var(--space-5); } |
| 129 | |
| 130 | // ── Content area ────────────────────────────────────────────────────────────── |
| 131 | |
| 132 | .devdocs-content { |
| 133 | min-width: 0; |
| 134 | min-height: 0; |
| 135 | padding: var(--space-8) 0 var(--space-12) var(--space-8); |
| 136 | overflow-y: auto; |
| 137 | scrollbar-width: thin; |
| 138 | scrollbar-color: var(--border-default) transparent; |
| 139 | |
| 140 | @media (max-width: 900px) { overflow-y: visible; } |
| 141 | @media (max-width: 768px) { padding-left: 0; } |
| 142 | } |
| 143 | |
| 144 | // ── Phase header ────────────────────────────────────────────────────────────── |
| 145 | |
| 146 | .devdocs-phase-header { |
| 147 | margin-bottom: var(--space-8); |
| 148 | padding-bottom: var(--space-6); |
| 149 | } |
| 150 | |
| 151 | // ── Section ─────────────────────────────────────────────────────────────────── |
| 152 | |
| 153 | .devdocs-section { margin-bottom: var(--space-12); scroll-margin-top: var(--space-8); } |
| 154 | |
| 155 | .devdocs-code-block { margin: var(--space-4) 0; } |
| 156 | |
| 157 | // ── Phase prev/next nav ─────────────────────────────────────────────────────── |
| 158 | |
| 159 | .devdocs-phase-nav { |
| 160 | display: flex; |
| 161 | justify-content: space-between; |
| 162 | align-items: center; |
| 163 | margin-top: var(--space-10); |
| 164 | padding-top: var(--space-6); |
| 165 | } |
| 166 | |
| 167 | .devdocs-phase-nav-btn--next { flex-direction: row-reverse; } |
File History
10 commits
sha256:d92f362b6c8aa3408e30fde1ad762a1e85c0f0fc054635d225c536d854470aba
docs(landing): QA contract v2 — engine-pinned claim fixes, …
Opus 5.5
minor
⚠
9 days ago
sha256:0af32352c919318e75915447383d52590df3952f5cc35e0719dec838cb3b964a
chore(#139): delete unused .layout-two-col/.layout-sidebar …
Sonnet 5
minor
⚠
131 days ago
sha256:8cd70cad148544a8eafc11708c7cc61231368ad5908fe3e9bab89dec0f5f0800
fix(#139): app-shell for muse dev docs pages (17 templates)
Sonnet 5
minor
⚠
131 days ago
sha256:ce8f568638dfcfc85e52fcc1a1679fd997badd739dc817f3104b1a886619991d
fix: footer-overlap regression from the two-column scroll fix
Sonnet 5
patch
132 days ago
sha256:a21cbf80bf1a137097c8f8ad029fb5fefee244280123ea6d2701b175b1baf62a
fix: replace sticky two-column layout with bounded-height i…
Sonnet 5
minor
⚠
132 days ago
sha256:76f2e69647642f724e4da2c554219fd8dcafdbdc9dc305a128b97844937a4424
fix: restore natural page scrolling on docs and proposal de…
Sonnet 4.6
patch
192 days ago
sha256:fd15f8f9d9724e67badc6a585bb95a99114f27664fad4b317b9e480dcbc18c5c
fix: true split-pane scrolling on docs pages
Sonnet 4.6
patch
192 days ago
sha256:a36b779390d922ec0398aceba575ac2fae1e759f78021411d22c566596578d13
fix: independently scrollable sidebars on docs and issues pages
Sonnet 4.6
patch
192 days ago
sha256:d0999af71d9fb6685da3b53114f95579133d1a82ac530c972dcb10b8fd707c0a
feat: move attestation docs to /muse/identity; fix scroll o…
Opus 4.7
minor
⚠
193 days ago
sha256:e2adca12a0ed2534ebbdf7ba183d0284811e615ae7a3e92c6eb9c674ab3bf164
feat: migrate muse docs pages to components/pages split; de…
Sonnet 4.6
minor
⚠
198 days ago