Skip to content

Commit 6a938be

Browse files
committed
Revamp docs homepage; remove subpages
Consolidate documentation into a single one-page site: add one-pager styles (hero, install strip, lead, footer, etc.) to docs/assets/stylesheets/homebrew-legacy.css, update docs/index.html with a simplified landing/hero, streamlined nav and usage examples, and delete the separate docs pages (cli, concepts, faq, install). This centralizes content, reduces duplication, and updates messaging and install flow for the docs site.
1 parent 7b3f9d0 commit 6a938be

File tree

6 files changed

+116
-333
lines changed

6 files changed

+116
-333
lines changed

docs/assets/stylesheets/homebrew-legacy.css

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,3 +458,91 @@ h3 {
458458
grid-template-columns: 1fr;
459459
}
460460
}
461+
462+
/* ── one-pager ── */
463+
464+
.hero {
465+
text-align: center;
466+
padding: 4.5rem 2rem 1.5rem;
467+
width: 100%;
468+
max-width: 660px;
469+
}
470+
471+
.hero h1 {
472+
margin: 0.4rem 0 0;
473+
font-size: clamp(3rem, 9vw, 5.5rem);
474+
font-weight: 900;
475+
color: var(--gold-bright);
476+
text-shadow: 0 0 40px rgba(232, 184, 75, 0.4), 2px 2px 0 rgba(0, 0, 0, 0.5);
477+
letter-spacing: 0.08em;
478+
line-height: 1.1;
479+
}
480+
481+
.hero .tagline {
482+
font-style: italic;
483+
color: var(--parchment-dark);
484+
font-size: 1.18rem;
485+
margin: 1.1rem auto 0;
486+
opacity: 0.85;
487+
max-width: 34rem;
488+
line-height: 1.6;
489+
}
490+
491+
.install-strip {
492+
display: flex;
493+
flex-direction: column;
494+
align-items: center;
495+
margin: 2rem auto 0;
496+
max-width: 360px;
497+
width: 100%;
498+
gap: 0;
499+
}
500+
501+
.incantation.one-liner {
502+
width: 100%;
503+
text-align: center;
504+
padding: 0.85rem 1.5rem;
505+
margin: 0;
506+
}
507+
508+
.install-then {
509+
font-family: "Cinzel", serif;
510+
font-size: 0.7rem;
511+
letter-spacing: 0.2em;
512+
text-transform: uppercase;
513+
color: var(--gold);
514+
opacity: 0.55;
515+
padding: 0.3rem 0;
516+
}
517+
518+
.lead {
519+
font-size: 1.12rem;
520+
color: var(--ink);
521+
margin-bottom: 1.5rem;
522+
line-height: 1.72;
523+
}
524+
525+
.site-footer {
526+
text-align: center;
527+
color: rgba(200, 151, 58, 0.45);
528+
font-family: "Cinzel", serif;
529+
font-size: 0.78rem;
530+
letter-spacing: 0.15em;
531+
margin-top: 1rem;
532+
padding-top: 2rem;
533+
border-top: 1px solid rgba(200, 151, 58, 0.2);
534+
width: 100%;
535+
display: flex;
536+
justify-content: center;
537+
align-items: center;
538+
gap: 0.85rem;
539+
}
540+
541+
.site-footer a {
542+
color: rgba(200, 151, 58, 0.6);
543+
text-decoration: none;
544+
}
545+
546+
.site-footer a:hover {
547+
color: var(--gold-bright);
548+
}

docs/cli/index.html

Lines changed: 0 additions & 51 deletions
This file was deleted.

docs/concepts/index.html

Lines changed: 0 additions & 51 deletions
This file was deleted.

docs/faq/index.html

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)