tracker
All repositories: gitoria
1.3 KB
// content-first.hl — SHELL 1, the regular app: a sidebar and the main content (docs/layouts/content-first.md).// Phone: the main content; the sidebar is the overlay the header's toggle opens. 60rem+: sidebar and main side by side,// both inside the centred content column (--layout-column) the header's contents are flush with.//// ContentFirst {// Sidebar { nav { a { href = "/" "Home" } } }// main { h1 { "Title" } p { "…" } }// }//// Without a Sidebar, or with `Sidebar { desktop = "false" }`, main takes the whole column on desktop.slot = nullStyle {'content-first' { display = 'block' paddingInline = 'max(var(--layout-gutter), calc((100% - var(--layout-column)) / 2))' paddingTop = '1rem' paddingBottom = '3rem' }'content-first > main' { display = 'block' minWidth = '0' }'@media (min-width: 60rem)' {'content-first' { display = 'grid' gridTemplateColumns = 'var(--layout-sidebar) minmax(0, 1fr)' gap = '3rem' alignItems = 'start' paddingTop = '1.5rem' }'content-first:not(:has(> app-sidebar:not(.mobile-only)))' { gridTemplateColumns = 'minmax(0, 1fr)' }'content-first > app-sidebar' { position = 'sticky' top = 'calc(var(--layout-header) + 1.5rem)' maxHeight = 'calc(100dvh - var(--layout-header) - 3rem)' overflowY = 'auto' marginLeft = '-.75rem' }}}View {contentFirst { slot }}
Branches
Latest commits
- cf28cf77mission RV44mre
- 585782dfLog: tracker#60 Chrome look, STATUS rewrittenmre
- 147d0172conductor: caramboleyo is the user, not owner/creatorApollo
- 21dd0cfblog: #60 live measurement, reviewmre
- 7793cf94HM62b report: person indexes with fixed mpackdbmre
- 09d66ed5status: #60 livemre
- 4171672flog: #60 livemre
- f52862a2log: HM62b startedmre
- 88fde2c4mission HM62bmre
- a722e526log: #62 blocked by hybriel#317mre
- 074a7418log: #62 assigned to Tracker; pending rulemre
- 06f6ae8fHM62 report: mpackdb index gapmre
- 86fe5430log: HM62 startedmre
- 755307bbmission HM62mre
- 4b2f2995HM61 report: tracker#61 packed people ordermre
- 48faa84flog: #60 deploy startedmre
- 90734c6cMerge branch 'hm60-shortids'mre
- e0db0d1bHM60 report: tracker#60 packed short-ID ownersmre
- 3c79b576Pack short-ID ownership into byte buffersmre
- e822524bstatus wordingmre