Skip to content

style(docs): center hero and split tagline to match README#181

Merged
stephenleo merged 1 commit into
mainfrom
style/docs-hero-center
May 12, 2026
Merged

style(docs): center hero and split tagline to match README#181
stephenleo merged 1 commit into
mainfrom
style/docs-hero-center

Conversation

@stephenleo
Copy link
Copy Markdown
Owner

Summary

  • Centers the docs site hero (title, subtitle, tagline, action buttons) using align-items: center on .VPHero .heading and margin: 0 auto on .tagline
  • Splits the long tagline into a bold subtitle (28px, via the VitePress text hero field) plus an italic tagline (via tagline) so the docs hierarchy matches the README's bold + italic split
  • Keeps ⚓ CShip as the largest element so it remains the primary heading

Test plan

  • npm run docs:dev — verified hero centered and subtitle smaller than title in browser
  • Confirm post-merge docs deploy renders the same on https://cship.dev

🤖 Generated with Claude Code

Splits the hero text into a bold subtitle (text) and an italic tagline
(tagline), centers the hero block with align-items/margin-auto rules,
and shrinks the subtitle to 28px so the CShip title remains the primary
heading.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@stephenleo stephenleo merged commit f8de986 into main May 12, 2026
3 checks passed
@stephenleo stephenleo deleted the style/docs-hero-center branch May 12, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant