feat(home): rebuild front-page template to match Carbon Blue mockup
This commit is contained in:
@@ -299,3 +299,50 @@
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.home-hero { min-height: 60vh; display: flex; align-items: center; padding: 4rem 0; }
|
||||
.home-hero__inner { max-width: 50rem; }
|
||||
.home-hero__heading {
|
||||
font-family: var(--font-sans);
|
||||
font-weight: 700;
|
||||
font-size: clamp(2rem, 4vw, 3.5rem);
|
||||
line-height: 1.1;
|
||||
color: var(--color-on-surface, #e3e1e9);
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
.home-hero__intro {
|
||||
color: var(--color-on-surface-variant, #c5c5d3);
|
||||
font-size: clamp(1rem, 1.5vw, 1.25rem);
|
||||
line-height: 1.6;
|
||||
max-width: 50ch;
|
||||
margin: 0 0 1.5rem;
|
||||
}
|
||||
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
|
||||
|
||||
.home-recent__head {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
.home-recent__title {
|
||||
font-family: var(--font-sans);
|
||||
font-weight: 700;
|
||||
font-size: 1.75rem;
|
||||
color: var(--color-on-surface, #e3e1e9);
|
||||
margin: 0;
|
||||
}
|
||||
.home-recent__view-all {
|
||||
color: var(--color-primary, #b6c4ff);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
.home-recent__view-all:hover { text-decoration: underline; }
|
||||
|
||||
.home-recent__divider {
|
||||
border: 0;
|
||||
border-top: 1px solid var(--color-outline-variant, #444651);
|
||||
margin: 0 0 1.5rem;
|
||||
}
|
||||
|
||||
.home-recent__empty { text-align: center; padding: 4rem 1rem; color: var(--color-on-surface-variant, #c5c5d3); }
|
||||
|
||||
Reference in New Issue
Block a user