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

Feature/homepage bugfixes #2

Merged
merged 4 commits into from
Jul 3, 2024
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
128 changes: 75 additions & 53 deletions blocks/carousel/carousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@
}
}

@media screen and (max-width:768px) {
@media screen and (max-width:767.99px) {
.section.banner-carousel-wrapper .carousel-wrapper .carousel .panel-container .teaser {
height: 100%;
height: 440px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background {
Expand Down Expand Up @@ -434,80 +434,69 @@
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-one>.background .foreground .text .long-description>p{
margin-top: 20px;
}
.banner-carousel-wrapper .carousel-wrapper .carousel .panel-container .teaser.teaser-block-two .foreground {
width: 100%;
}
}

@media screen and (min-width:768px) and (max-width:1024px) {
@media (min-width: 768px) and (max-width: 1024px) {
.section.banner-carousel-wrapper .carousel-wrapper .carousel .panel-container .teaser {
height: 440px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background {
padding: 0 16px;
padding-top: 40px;
align-items: start;
background-size: cover;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .front-picture img {
max-height: 170px;
max-width: 200px;
padding: 0;
background-size: 100% 100%;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .front-picture {
right: 16px;
.banner-carousel-wrapper .carousel-wrapper .carousel .panel-container .teaser .foreground,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground {
width: 100%;
min-height: 450px;
padding: 0 16px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .title>h2,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .eyebrow,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five .background .foreground .text .title>h3,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five .background .foreground .text .eyebrow,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six .background .foreground .text .title>h3,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six .background .foreground .text .eyebrow,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-seven .background .foreground .text .title>h3,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .title>h2,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .eyebrow,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five .background .foreground .text .title>h3,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five .background .foreground .text .eyebrow,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six .background .foreground .text .title>h3,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six .background .foreground .text .eyebrow,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-seven .background .foreground .text .title>h3,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-seven .background .foreground .text .eyebrow {
font-size: 24px;
font-size: 1.5rem;
line-height: 32px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground .text .short-description>p,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground .text .long-description>p>em,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground .text .long-description>p>strong,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six>.background .foreground .text .long-description>p,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-one>.background .foreground .text .long-description>p,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-seven>.background .foreground .text .long-description>p {
font-size: 14px;
line-height: 20px;
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground .text .long-description>p,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground .text .long-description>p>em,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-five>.background .foreground .text .long-description>p>strong,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six>.background .foreground .text .long-description>p,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-one>.background .foreground .text .long-description>p,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-seven>.background .foreground .text .long-description>p,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.--skyblue>.background .foreground .text .long-description>p {
font-size: .875rem;
line-height: 1rem;
}

.banner-carousel-wrapper .carousel-wrapper .carousel .panel-container .teaser .foreground .long-description {
margin-top: 12px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .cta {
margin-top: 24px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .cta>a,
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six>.background .foreground .text .short-description>ul>li>p>a {
font-size: 14px;
line-height: 20px;
font-size: .875rem;
line-height: 1.25rem;
padding: 14px 16px;
margin: unset;
}

.section.banner-carousel-wrapper .carousel-wrapper .carousel.block .button-container {
left: 16px;
bottom: 70px;
gap: 8px;
margin: 0;
}

.section.banner-carousel-wrapper .carousel-wrapper .carousel.block .button-container>button {
height: 5px;
width: 5px;
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text .cta {
margin-top: 24px;
}

.section.banner-carousel-wrapper .carousel-wrapper .carousel.block .button-container>button.selected {
width: 13px;
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six>.background .foreground .text .long-description {
margin-right: 0;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-six>.background .foreground .text .short-description>ul>li {
Expand All @@ -527,26 +516,59 @@
line-height: 1.25rem;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .foreground .text {
padding-top: 40px;
}

.section.banner-carousel-wrapper .carousel-wrapper .carousel.block .button-container {
left: 12px;
bottom: 40px;
gap: 8px;
}

.section.banner-carousel-wrapper .carousel-wrapper .carousel.block .button-container>button {
height: 5px;
width: 5px;
}

.section.banner-carousel-wrapper .carousel-wrapper .carousel.block .button-container>button.selected {
width: 13px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-two>.background .foreground .text .eyebrow {
font-size: 14px;
line-height: 20px;
font-size: .875rem;
line-height: 1rem;
margin-bottom: 12px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .front-picture img {
max-height: 170px;
max-width: 200px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block>.background .front-picture {
right: 16px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-two>.background .front-picture {
bottom: 0;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-seven>.background .foreground .cta-image-wrapper {
gap: 12px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-seven>.background .foreground .cta-image-wrapper>.cta-image>a img {
height: 30px;
width: 100px;
border-radius: 5px;
border-radius: 2px;
}

.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-one>.background .foreground .text .long-description>p{
margin-top: 20px;
}
.section.banner-carousel-wrapper .carousel-wrapper .panel-container .teaser.block.teaser-block-two>.background .front-picture {
bottom: 0;
.banner-carousel-wrapper .carousel-wrapper .carousel .panel-container .teaser.teaser-block-two .foreground {
width: 50%;
}
}

Expand Down
56 changes: 37 additions & 19 deletions blocks/footer/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,21 @@ color: #F58667;
.footer-section-first .columns > div {
display: flex;
flex-direction: row;
justify-content: space-between;
justify-content: start;
align-items: center;
}
.footer-section-first .columns > div div:first-child {
width: 50%;
}
.footer-section-first .columns > div div:nth-child(2) {
width: 50%;
}
.footer-section-first .columns > div > div p {
font-size: 12px;
width: 100%;
margin-left: auto;
padding: 0 0 0 60px;
text-align: left;
margin: 0;
}
.footer-section-second ul > li > p {
font-size: 0.875rem;
Expand Down Expand Up @@ -346,9 +354,6 @@ color: #F58667;
.footer-section-third .columns-2-cols > div > div p {
margin: 10px 0 0;
} */
.footer-section-first .columns > div > div:last-child {
margin-right: 20%;
}
.footer-section-second .columns-2-cols ul li p:first-child{
padding-bottom: unset;
}
Expand Down Expand Up @@ -401,9 +406,6 @@ color: #F58667;
.footer-section-first{
padding: 24px 0;
}
.footer-section-first .columns > div > div:last-child{
margin-right: 10%;
}
.footer-section-first .columns-wrapper p sup{
background-color: #41C672;
color: #fff;
Expand All @@ -421,6 +423,7 @@ color: #F58667;
text-align: center;
justify-content: center;
right: 77px;
left: 0;
}
header nav .nav-brand img {
width: 82px;
Expand All @@ -429,6 +432,21 @@ color: #F58667;
.header-wrapper .nav-wrapper nav .nav-brand .default-content-wrapper>p>picture>img {
padding: 0;
}
.footer-section-four.columns-container .default-content-wrapper p :last-child{
display: none;
}
.footer-section-second ul > li > ul{
display: flex;
flex-direction: column;
gap: 8px;
}
.footer-section-four .columns-wrapper .columns .columns-img-col picture img{
height: 25px;
width: 25px;
}
.footer-section-first .columns-wrapper p sup{
left: 0;
}
}

@media screen and (max-width: 1400px) {
Expand All @@ -442,19 +460,19 @@ color: #F58667;
max-width: 100% ;
padding: 0 16px;
}
.footer-section-four.columns-container .default-content-wrapper p :last-child{
display: none;
}
.footer-section-second ul > li > ul{
}

@media (min-width:768px) and (max-width:1024px) {
.footer-section-first .columns > div {
display: flex;
flex-direction: column;
gap: 8px;
flex-direction: row;
justify-content: start;
align-items: center;
}
.footer-section-four .columns-wrapper .columns .columns-img-col picture img{
height: 25px;
width: 25px;
.footer-section-first .columns > div div:first-child {
width: 50%;
}
.footer-section-first .columns-wrapper p sup{
right: 27%;
.footer-section-first .columns > div div:nth-child(2) {
width: 50%;
}
}
23 changes: 22 additions & 1 deletion blocks/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,28 @@ header nav .nav-sections .default-content-wrapper > ul > li > ul::before {
}
}

@media (min-width: 768px) and (max-width: 1024px) {
.header-wrapper .nav-wrapper nav .nav-sections .default-content-wrapper>ul {
display: none;
}
.header-wrapper .nav-wrapper .nav-hamburger {
position: absolute;
height: 12px;
width: 18px;
right: 1rem;
display: block;
visibility: visible;
top: 37%;
}
.login-button-wrapper .default-content-wrapper {
left: -35px;
top: 2px;
}
.header-wrapper .nav-wrapper {
height: 71px;
}
}

@media screen and (max-width:1366px) {
.header-wrapper .nav-wrapper nav .nav-sections .default-content-wrapper>ul>li>ul {
padding: 0 8% 0 13%
Expand All @@ -846,7 +868,6 @@ header nav .nav-sections .default-content-wrapper > ul > li > ul::before {

@media screen and (max-width: 1024px) {
.section.mobile-view-header {
/* display: block; */
display: none;
position: absolute;
top: 100%;
Expand Down
2 changes: 1 addition & 1 deletion styles/calculator/calculator.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
}
}

@media screen and (max-width:768px) {
@media screen and (max-width:767px) {
.section.calculator-section-wrapper .default-content-wrapper h2 {
font-size: 20px;
line-height: 28px;
Expand Down
Loading
Loading