generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'phase-two-redo' of https://github.com/hlxsites/takeda-ihs…
… into phase-two-redo
- Loading branch information
Showing
11 changed files
with
294 additions
and
477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,89 @@ | ||
footer { | ||
margin: 0; | ||
padding: 2rem; | ||
padding: 0 2rem 2rem; | ||
text-align: center; | ||
background-color: var(--bright-gray); | ||
background: linear-gradient(to top, var(--bright-gray) 75%, white 0%); | ||
} | ||
|
||
|
||
footer .footer.block { | ||
max-width: 1200px; | ||
margin: auto; | ||
} | ||
|
||
footer .footer.block > div { | ||
.footer.block .content-wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 20px; | ||
} | ||
|
||
footer .footer.block > div > div:has(picture) { | ||
border-bottom: 2px solid var(--silver); | ||
padding-bottom: 20px; | ||
.footer.block .content-wrapper p { | ||
font-size: var(--body-font-size-xs); | ||
margin-bottom: 14px; | ||
text-align: left; | ||
width: 100%; | ||
} | ||
|
||
footer .footer.block > div > div:has(p>a) { | ||
.footer.block .content-wrapper .footer-contact-us { | ||
background-color: var(--gray-neutral-80); | ||
border-radius: 0 0 10px 10px; | ||
padding: 40px 60px; | ||
} | ||
|
||
.footer.block .content-wrapper .footer-contact-us * { | ||
color: var(--white); | ||
} | ||
|
||
.footer.block .content-wrapper .footer-contact-us h3 { | ||
color: var(--white); | ||
font-size: var(--heading-font-size-l); | ||
padding-bottom: 30px; | ||
} | ||
|
||
.footer.block .content-wrapper .footer-contact-us p { | ||
font-weight: var(--font-weight-semibold); | ||
font-size: var(--body-font-size-l); | ||
text-align: center; | ||
padding-bottom: 30px; | ||
} | ||
|
||
.footer.block .content-wrapper .footer-contact-us a { | ||
display: inline-block; | ||
padding: 8px 42px; | ||
font-weight: normal; | ||
line-height: var(--line-height-l); | ||
text-decoration: none; | ||
color: var(--white); | ||
background-color: var(--dark-red); | ||
border-bottom-left-radius: 20px; | ||
} | ||
|
||
.footer.block .content-wrapper .footer-logo { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
gap: 0; | ||
flex-direction: column; | ||
} | ||
|
||
.footer.block picture { | ||
.footer.block .content-wrapper .footer-logo p:has(picture) { | ||
border-bottom: 2px solid var(--silver); | ||
} | ||
|
||
.footer.block .content-wrapper .footer-logo img { | ||
width: 105px; | ||
height: auto; | ||
} | ||
|
||
.footer.block .content-wrapper .footer-links { | ||
display: flex; | ||
height: 36px; | ||
width: auto; | ||
flex-direction: column; | ||
} | ||
|
||
.footer.block a { | ||
.footer.block .content-wrapper .footer-links p > a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
.footer.block a:hover { | ||
.footer.block .content-wrapper .footer-links p > a:hover { | ||
text-decoration: underline; | ||
opacity: 0.8; | ||
} | ||
|
||
.footer.block > div > div > p { | ||
font-size: var(--body-font-size-xs); | ||
margin-bottom: 14px; | ||
text-align: left; | ||
} | ||
|
||
@media screen and (min-width: 600px) { | ||
footer .footer.block > div > div:has(p>a){ | ||
flex-direction: row; | ||
gap: 30px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.