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
5 changes: 4 additions & 1 deletion docs/src/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@
margin-top: 2rem;
}
.landing-two-col > section { min-width: 0; }
.landing-two-col > section > h2:first-child { margin-top: 0; }
/* Starlight wraps headings in <div class="sl-heading-wrapper">, which carries
the top margin. Reset the first child of each section (whatever it is) so
both column titles sit on the same baseline. */
.landing-two-col > section > :first-child { margin-top: 0; }
/* Inside the two-col layout each side already has limited width — collapse the
catalog grid to a single column so cards don't end up too narrow. */
.landing-two-col .catalog-grid { grid-template-columns: 1fr; }
Expand Down
Loading