Skip to documentation
Design system / Sources & standards
Current repository source
showcase.css
src/theming/semantics/showcase.css
This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.
/* Layout classes are applied by their owners, never through media/card internals. */
@layer utilities {
.showcase-layout {
container: showcase-layout / inline-size;
min-width: 0;
}
.showcase-grid {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: var(--cxh-space-24);
align-items: stretch;
}
.showcase-grid-featured,
.showcase-grid-companion,
.showcase-grid-item {
display: grid;
min-width: 0;
}
@container showcase-layout (min-width: 768px) {
.showcase-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.showcase-grid-featured {
grid-column: span 4;
}
.showcase-grid-companion {
grid-column: span 2;
grid-template-rows: minmax(0, 1fr);
contain: size;
min-height: 0;
overflow-y: auto;
overscroll-behavior: contain;
}
.showcase-grid-item { grid-column: span var(--showcase-span); }
}
}
All sources and standards