e33ed2356e
* style: update gray brand colors * style: update brand colors * chore: upgrades base platform deps * style: updates learn callouts label color * style: icons to flat consul primary color * style: errand link styles * refactor(home): use react-learn-callout * chore; adds ts config, upgrades components * chore: upgrade deps chore: upgrade to latest component styles chore: upgrades nextjs-scripts * chore: fix-router * update deps, add new downloads page * chore: upgrade to stable deps chore: use npm 7 * style: home callouts body copy to gray-2 * chore: upgrade hashi-stack-menu * style: home feature icons update * chore: upgrade deps body copy colors * chore: upgrades alert banner * feat: updates favicon * style(downloads): adds pre-release and release candidate styles * fix(home): adds right padding to quote * content(home): swap assets * content(uses-cases): updates assets * chore: removes use cases icon override * content(use-cases): swap out svgs for pngs * content: copies asset * trying again with this asset * try putting asset in public * content(use-cases): updates mercedes case study aseset * chore: upgrades product download page prerelease * chore: updates product download page to stable * chore: updates favicon path Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
77 lines
1.8 KiB
CSS
77 lines
1.8 KiB
CSS
.g-basic-hero {
|
|
padding: 88px 0;
|
|
|
|
& .g-type-display-1 {
|
|
color: var(--gray-1);
|
|
text-align: center;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 0;
|
|
max-width: 14em;
|
|
}
|
|
|
|
& .g-type-body-large {
|
|
color: var(--gray-2);
|
|
margin: 0 auto 0 auto;
|
|
text-align: center;
|
|
max-width: 40em;
|
|
}
|
|
|
|
& .links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
|
|
/*
|
|
* Margins here compensate for extra 8px margin on buttons
|
|
* which are needed to center and space properly regardless of whether
|
|
* buttons are wrapping to multiple lines or not.
|
|
*/
|
|
margin-top: calc(32px - 8px);
|
|
margin-bottom: -8px;
|
|
@media (--large) {
|
|
margin-top: calc(40px - 8px);
|
|
}
|
|
|
|
& .g-btn {
|
|
/*
|
|
* This ensures 16px between buttons at all times, while maintaining proper centering
|
|
* when buttons wrap to multiple lines.
|
|
* There will be an extra 8px space on all sides of the button group.
|
|
* The top and bottom are accounted for by the -8px adjustment on `.action` margins.
|
|
* The left and right excess is left as is - it's needed for proper centering when wrapping.
|
|
*/
|
|
margin: 8px;
|
|
}
|
|
}
|
|
|
|
& .third-link {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 32px;
|
|
& a {
|
|
color: var(--gray-2);
|
|
}
|
|
& svg * {
|
|
stroke: var(--gray-2) !important;
|
|
}
|
|
}
|
|
|
|
&.has-background {
|
|
background-repeat: no-repeat;
|
|
background-color: var(--gray-6);
|
|
background-image: url(/img/hero/pattern-desktop.svg);
|
|
width: 100%;
|
|
background-size: cover;
|
|
background-position: center;
|
|
|
|
@media (max-width: 800px) {
|
|
background-image: url(/img/hero/pattern-mobile.svg);
|
|
}
|
|
|
|
& .g-btn {
|
|
background: var(--gray-6);
|
|
}
|
|
}
|
|
}
|