Skip to content

Commit

Permalink
THUB-28: adjustments to spacing and font sizes on banner top.
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Jun 26, 2024
1 parent cc8314c commit 0de1cd9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
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

0 comments on commit 0de1cd9

Please sign in to comment.