Files
onixbyte.com/theme/index.css
T
zihluwang 638c71da44 feat(theme): add site footer and marketing sections
- Add SiteFooter, rendered through the Layout bottom slot so it appears on
  every page type. themeConfig.footer is deliberately left unset: setting
  it would render the built-in HomeFooter as well, on the home page only.
- Add a frontmatter-driven section system (advantages, contentGrid,
  techStack, cases and cta) with a single ordered array, so bands can be
  reordered or removed without touching code.
- Bands render only when they have content, so an unfilled page degrades
  to its heading rather than showing empty boxes.
- Add a SHOW_COPY_PLACEHOLDERS flag for drafting, false by default.
2026-09-25 14:48:42 +08:00

30 lines
718 B
CSS

@import "tailwindcss";
:root {
--rp-c-brand: #0f766e;
--rp-c-brand-dark: #115e59;
--rp-c-brand-tint: rgba(15, 118, 110, 0.16);
/* Vertical rhythm for the marketing bands on the home, products and
services pages. */
--rp-site-section-gap: 4rem;
}
/* `HomeFeature` always renders its wrapper, even when the page declares no
`features`. Hide the empty shell so a hero-only page does not show a
stray empty band. */
.rp-home-feature:empty {
display: none;
border: 0;
padding: 0;
}
/* Full-bleed marketing sections, driven by `frontmatter.sections`. */
.rp-site-section {
padding-block: var(--rp-site-section-gap);
}
.rp-site-section:nth-child(even) {
background: var(--rp-c-bg-soft);
}