Skip to content
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
66 changes: 40 additions & 26 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ main .section.cards-container {

/* ---- news: article/news teaser cards ---- */
.cards.news > ul {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 24px;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}

.cards.news > ul > li img {
Expand Down Expand Up @@ -157,6 +157,14 @@ main .section.cards-container {
}

/* ---- category: tire/product category tiles ---- */

/* full-bleed: this section's tiles span the viewport edge to edge on live,
opting out of the generic 1200px section container */
main .section.cards-container:has(.cards.category) > div {
max-width: none;
padding: 0;
}

.cards.category > ul {
grid-template-columns: 1fr;
gap: 0;
Expand Down Expand Up @@ -198,7 +206,8 @@ main .section.cards-container {

.cards.category .cards-card-body :is(h1, h2, h3, h4, h5, h6) {
display: inline;
font-size: var(--heading-font-size-s);
font-size: var(--heading-font-size-l);
font-weight: 400;
background-color: var(--conti-white);
box-decoration-break: clone;
}
Expand Down Expand Up @@ -247,7 +256,7 @@ main .section.cards-container {
font-family: var(--heading-font-family);
font-size: var(--body-font-size-xs);
font-weight: bold;
letter-spacing: 0.05em;
letter-spacing: 0.14em;
text-transform: uppercase;
}

Expand All @@ -256,8 +265,8 @@ main .section.cards-container {
}

.cards.coverage .cards-card-body .icon {
width: 40px;
height: 40px;
width: 56px;
height: 56px;
}

.cards.category > ul > li:hover,
Expand All @@ -276,8 +285,28 @@ main .section.cards-container {
transform: translateY(-6px);
}

.cards.coverage .cards-card-body .icon img {
filter: invert(1);
/* the confidence band wraps a badge image, heading, copy, the coverage
cards and a Learn More button - all centered, matching the live page */
main .section.dark.cards-container {
text-align: center;
}

main .section.dark.cards-container .default-content-wrapper .icon {
width: 126px;
height: 148px;
}

main .section.dark.cards-container .default-content-wrapper h2 {
letter-spacing: 6px;
}

main .section.dark.cards-container .default-content-wrapper p {
font-size: 24px;
font-weight: 300;
}

main .section.dark.cards-container .cards-wrapper {
margin-top: 32px;
}

/* ---- news inside a dark/black band: plain text teasers, no card chrome ---- */
Expand All @@ -299,7 +328,7 @@ main .section.black .cards.news .cards-card-body :is(h1, h2, h3, h4, h5, h6) {

main .section.dark .cards.news .cards-card-body a,
main .section.black .cards.news .cards-card-body a {
text-decoration: none;
text-decoration: underline;
}

main .section.dark .cards.news .cards-card-body a:hover,
Expand All @@ -310,22 +339,7 @@ main .section.black .cards.news .cards-card-body a:hover {
@media (width >= 600px) {
main .section.dark .cards.news > ul > li:not(:first-child),
main .section.black .cards.news > ul > li:not(:first-child) {
border-inline-start: 1px solid rgb(255 255 255 / 25%);
padding-inline-start: 24px;
border-inline-start: 1px solid var(--conti-white);
padding-inline-start: 20px;
}
}

/* the confidence band wraps a badge image, heading, copy, the coverage
cards and a Learn More button - all centered, matching the live page */
main .section.dark.cards-container {
text-align: center;
}

main .section.dark.cards-container .default-content-wrapper .icon {
width: 100px;
height: 120px;
}

main .section.dark.cards-container .cards-wrapper {
margin-top: 32px;
}
13 changes: 13 additions & 0 deletions blocks/columns/columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,17 @@ main .section.columns-container {
flex: 1;
order: unset;
}

.columns.feature > div > div:not(.columns-img-col) {
flex: 0 1 340px;
}
}

.columns.feature h2 {
font-size: var(--heading-font-size-l);
font-weight: 400;
}

.columns.feature p {
font-size: var(--body-font-size-s);
}
10 changes: 7 additions & 3 deletions blocks/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ main .section.hero-container {
.hero-content :is(h1, h2, h3, h4, h5, h6) {
margin: 0;
color: inherit;
font-size: var(--heading-font-size-xxl);
font-size: var(--heading-font-size-xl);
letter-spacing: 1px;
}

.hero a:any-link {
color: currentcolor;
}

.hero-content em {
color: var(--conti-yellow);
font-style: normal;
Expand Down Expand Up @@ -119,7 +123,7 @@ main .section.hero-container {

.hero.left .hero-content > p:first-child {
margin-top: 0;
font-size: var(--body-font-size-s);
font-size: var(--heading-font-size-xs);
font-weight: 400;
}

Expand Down Expand Up @@ -175,7 +179,7 @@ main .section.hero-container {
}

.hero.left .hero-content p {
font-size: var(--body-font-size-m);
font-size: 20px;
}

.hero.left .hero-content p:has(> a:only-child) {
Expand Down
12 changes: 6 additions & 6 deletions blocks/perfect-fit/perfect-fit.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ main .section.perfect-fit-container {
.perfect-fit-label {
margin: 0;
font-family: var(--heading-font-family);
font-size: var(--body-font-size-xs);
font-size: 12px;
font-weight: 700;
letter-spacing: 1.25px;
letter-spacing: 2px;
text-transform: uppercase;
}

Expand All @@ -38,15 +38,15 @@ main .section.perfect-fit-container {
gap: 8px;
margin: 0;
font-family: var(--heading-font-family);
font-size: var(--body-font-size-xs);
font-size: 12px;
font-weight: 700;
letter-spacing: 1.25px;
letter-spacing: 2px;
text-transform: uppercase;
}

.perfect-fit-items .icon {
width: 20px;
height: 20px;
height: 17px;
width: auto;
}

.perfect-fit-items .icon img {
Expand Down
19 changes: 14 additions & 5 deletions blocks/promo-bar/promo-bar.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,21 @@ main .section.promo-bar-container {

.promo-bar > div > div {
margin: 0;
padding: 14px 24px;
font-family: var(--heading-font-family);
font-size: var(--body-font-size-xs);
padding: 4px 24px;
font-family: var(--body-font-family);
font-size: 12px;
font-weight: 700;
}

.promo-bar p {
margin: 0;
}

.promo-bar p::before {
content: '+';
display: inline-block;
margin-inline-end: 8px;
font-weight: bold;
letter-spacing: 0.05em;
text-transform: uppercase;
}

.promo-bar a:any-link {
Expand Down
27 changes: 25 additions & 2 deletions blocks/store-locator/store-locator.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
.store-locator-search h6 {
margin: 0 0 24px;
color: inherit;
font-size: 30px;
}

.store-locator-field {
Expand Down Expand Up @@ -66,14 +67,32 @@
grid-row: span 5;
align-self: center;
color: var(--conti-yellow);
font-size: var(--heading-font-size-l);
font-size: 40px;
line-height: 1;
text-align: center;
}

.store-locator-result p:first-child strong {
display: block;
font-weight: 300;
font-weight: 400;
}

.store-locator-result p:nth-child(2) strong {
font-size: 14px;
letter-spacing: 0.25px;
text-transform: uppercase;
}

.store-locator-result p:nth-child(3) {
font-size: 14px;
text-transform: uppercase;
}

.store-locator-result a {
font-size: 12px;
font-weight: 700;
letter-spacing: 1.25px;
text-transform: uppercase;
}

.store-locator-result .icon {
Expand All @@ -90,6 +109,10 @@
margin: 0;
}

.store-locator-ctas > div {
display: contents;
}

.store-locator .button.secondary {
border-color: var(--conti-white);
color: var(--conti-white);
Expand Down
1 change: 1 addition & 0 deletions icons/limited-warranty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading