Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

THUB-28: adjustments to spacing and font sizes on banner top. #9

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/css/main.css

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions src/scss/components/hero-banner/_hero-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
display: inline-block;
right: 0;
margin-top: 2rem;

@include grid-media-min('lg') {
position: relative;
display: block;
Expand Down Expand Up @@ -78,7 +78,7 @@ main .su-alert {
width: 100vw;
z-index: 1; // To allow access to click link.
clip-path: ellipse(80% 60% at 50% 40%);

@include grid-media-min('sm') {
margin-top: -128px;
}
Expand Down Expand Up @@ -153,21 +153,21 @@ main .su-alert {
max-width: 654px;
margin-bottom: 12rem;
margin-top: 16rem;

@include grid-media-min('md') {
margin-top: 14rem;
}

@include grid-media-min('lg') {
margin-top: 20rem;
margin-top: 14rem;
}

@include grid-media-min('xl') {
margin-bottom: 10rem;
}

@include grid-media-min('2xl') {
margin-top: 12rem;
margin-top: 8rem;
}

&::before {
Expand Down Expand Up @@ -196,7 +196,8 @@ main .su-alert {
}

h2 {
@include thub-type-a;
@include thub-type-b;
@include responsive-spacing('margin-bottom', 1);
}

h2,
Expand Down Expand Up @@ -231,11 +232,11 @@ main .su-alert {

p {
color: $su-color-white;
font-size: 2.5rem;
font-size: 2rem;
font-weight: $su-font-regular;

@include grid-media-min('md') {
font-size: 3rem;
font-size: 2.4rem;
}

a {
Expand Down
Loading