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

Content intro stat issue #361

Merged
merged 9 commits into from
Dec 5, 2023
12 changes: 8 additions & 4 deletions blocks/content-intro/content-intro.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ main .section.content-intro-container > .content-intro-wrapper + [class*="wrappe
/* Block - Content Intro: Stat Number */
.content-intro-stat .content-intro .content-intro__col-2 {
position: relative;
max-width: 270px;
margin: var(--spacer-element-10) 0 0 calc(42px + var(--spacer-element-05));
padding-inline-end: calc(42px + var(--spacer-element-05));
}
Expand All @@ -110,7 +111,7 @@ main .section.content-intro-container > .content-intro-wrapper + [class*="wrappe
}

.content-intro-stat .content-intro .content-intro__col-2 h2 {
width: 150px;
display: inline-block;
font-size: var(--font-size-96);
margin-top: 0;
margin-bottom: var(--spacer-element-05);
Expand Down Expand Up @@ -171,7 +172,7 @@ main .section.content-intro-container > .content-intro-wrapper + [class*="wrappe
}

.content-intro-stat .content-intro .content-intro__col-2 {
max-width: var(--sidebar-max-container);
max-width: 275px;
margin-left: auto;
padding-inline-end: 0;
}
Expand Down Expand Up @@ -210,6 +211,10 @@ main .section.content-intro-container > .content-intro-wrapper + [class*="wrappe
margin: var(--spacer-layout-05) 0 0;
}

.content-intro-stat .content-intro .content-intro__col-2 {
max-width: 360px;
}

.content-intro p.content-intro__eyebrow,
.content-intro-stat .content-intro .content-intro__col-2 h4 {
font-size: var(--font-size-14);
Expand Down Expand Up @@ -240,11 +245,10 @@ main .section.content-intro-container > .content-intro-wrapper + [class*="wrappe
}

.content-intro-stat .content-intro .content-intro__col-2 p {
padding-inline-end: var(--spacer-layout-05);
/* padding-inline-end: var(--spacer-layout-05); */
}

.content-intro-stat .content-intro .content-intro__col-2 h2 {
font-size: var(--font-size-128);
width: 195px;
}
}