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
- 90734c6cMerge branch 'hm60-shortids'mre
- e0db0d1bHM60 report: tracker#60 packed short-ID ownersmre
- 3c79b576Pack short-ID ownership into byte buffersmre
- e822524bstatus wordingmre
- 1c7f0480log: HM60/HM61 startedmre
- 2841d215missions HM60 HM61mre
- 289c6ce4HM1 report: heap object breakdownmre
- 2e7d6257log: HM1 startedmre
- 2f790465mission HM1: heap object breakdownmre
- a18957falog: evening re-measure after CBmre
- aac9a98dlog: evening re-measure startmre
- 45163bd4log: person/tmdb error hypothesismre
- cb38de2blog: swap 503 causemre
- fd10c3d5log: CB livemre
- 7557c025log: CB deploy try 2mre
- 06a7534aMerge branch 'cb'mre
- 2f8030d6log: CB gates greenmre
- 498bf644log: CB gates startmre
- f59c2847gc1: bound the five request caches (shows.hl cacheLimit)mre
- 6ea2c6d6log: morning re-measure 11-04mre