-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat(content-band-checkmarks): Content band checkmarks block changes #300
Changes from 5 commits
fa306f1
7938bcc
1acf1bc
3cb6f4d
8e93521
27199fa
39bde8d
1cf5989
9825e7b
28d67c1
8e20e94
4230dc2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,130 @@ | ||||||
.content-band-checkmarks > div > div:first-child > p:first-child { | ||||||
font-family: var(--sans-serif-font-medium); | ||||||
font-size: var(--font-size-11); | ||||||
font-weight: var(--font-weight-medium); | ||||||
line-height: var(--line-height-120); | ||||||
letter-spacing: var(--letter-spacing-02-em); | ||||||
margin: 0 0 var(--spacer-element-07) 0; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > h2 { | ||||||
font-family: var(--serif-font); | ||||||
font-size: var(--font-size-32); | ||||||
font-weight: var(--font-weight-light); | ||||||
line-height: var(--line-height-120); | ||||||
letter-spacing: var(--letter-spacing-1-75); | ||||||
margin: 0 0 var(--spacer-element-08) 0; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > p:not(:first-child):not(.button-container) { | ||||||
font-family: var(--sans-serif-font-light); | ||||||
font-size: var(--font-size-16); | ||||||
font-weight: var(--font-weight-light); | ||||||
line-height: var(--line-height-160); | ||||||
letter-spacing: var(--letter-spacing-001-em); | ||||||
margin: 0 0 var(--spacer-element-08) 0; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > .button-container { | ||||||
margin: 0 0 var(--spacer-layout-04); | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > .button-container>strong>a { | ||||||
font-family: var(--sans-serif-font-medium); | ||||||
font-size: var(--font-size-16); | ||||||
font-weight: var(--font-weight-medium); | ||||||
line-height: var(--line-height-160); | ||||||
letter-spacing: 0.16px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
padding: 16px var(--spacer-element-07); | ||||||
proeung marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:nth-child(2) > ul { | ||||||
margin: 0; | ||||||
padding: 0; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:nth-child(2) > ul>li { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
font-family: var(--sans-serif-font-medium); | ||||||
font-size: var(--font-size-18); | ||||||
font-weight: var(--font-weight-medium); | ||||||
line-height: var(--line-height-160); | ||||||
letter-spacing: var(--letter-spacing-001-em); | ||||||
margin: 0 0 16px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
padding: 0 24px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
height: 48px; | ||||||
proeung marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
display: flex; | ||||||
align-items: center; | ||||||
} | ||||||
|
||||||
main > .section.section-header.list-section.bg-neutral-bone > .content-band-checkmarks-wrapper > .content-band-checkmarks > div > div:nth-child(2) > ul>li { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
background-color: white; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:nth-child(2) > ul>li::before { | ||||||
margin-right: 24px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
} | ||||||
|
||||||
|
||||||
/* Tablet CSS */ | ||||||
@media (min-width: 768px) { | ||||||
.content-band-checkmarks > div > div:first-child > h2 { | ||||||
max-width: 516px; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > p:not(:first-child):not(.button-container) { | ||||||
max-width: 517px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's keep the max-width value to
|
||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:nth-child(2) > ul { | ||||||
display: grid; | ||||||
grid-template-columns: repeat(2, 1fr); | ||||||
grid-template-rows: repeat(3, 1fr); | ||||||
grid-auto-flow: column; | ||||||
column-gap: 24px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Let's move this into CSS variable ( |
||||||
} | ||||||
|
||||||
} | ||||||
|
||||||
/* Desktop css */ | ||||||
@media (min-width: 1200px) { | ||||||
.content-band-checkmarks > div { | ||||||
display: flex; | ||||||
gap: 120px; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
see - https://github.com/hlxsites/merative2/blob/main/styles/styles.css#L198C3-L198C12 |
||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child { | ||||||
max-width: 644px; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > p:first-child{ | ||||||
font-size: var(--font-size-14); | ||||||
letter-spacing: var(--letter-spacing-02-em); | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > h2 { | ||||||
font-size: var(--font-size-45); | ||||||
letter-spacing: var(--letter-spacing-1-75); | ||||||
max-width: 100%; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:nth-child(2) > ul>li { | ||||||
font-size: var(--font-size-21); | ||||||
height: 64px; | ||||||
width: 360px; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:first-child > p:not(:first-child):not(.button-container) { | ||||||
font-size: var(--font-size-21); | ||||||
letter-spacing: var(--letter-spacing-001-em); | ||||||
max-width: 100%; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks>div>div:nth-child(2) { | ||||||
max-width: 360px; | ||||||
} | ||||||
|
||||||
.content-band-checkmarks > div > div:nth-child(2) > ul { | ||||||
display: block; | ||||||
} | ||||||
|
||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.