Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions src/app/(app)/layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,27 @@
src/app/globals.css (ADR-046). */

/* Stays at the top while the page scrolls. The band spans the full width;
its rows keep the page's side margins. */
its rows keep the page's side margins. The fallbacks match globals.css,
so the band stays opaque over scrolled content even if a stale
stylesheet is missing the --head-* tokens. */
.top {
position: sticky;
top: 0;
z-index: 10;
padding: 0 clamp(1rem, 3vw, 3.5rem);
background-color: var(--head-bg);
background-color: var(--head-bg, #161616);
background-image:
linear-gradient(var(--head-grid) 1px, transparent 1px),
linear-gradient(90deg, var(--head-grid) 1px, transparent 1px);
linear-gradient(
var(--head-grid, rgb(255 255 255 / 0.035)) 1px,
transparent 1px
),
linear-gradient(
90deg,
var(--head-grid, rgb(255 255 255 / 0.035)) 1px,
transparent 1px
);
background-size: 3.5rem 3.5rem;
color: var(--head-ink);
color: var(--head-ink, #f5f5f5);
}

.top :focus-visible {
Expand Down
Loading