Skip to content

Commit

Permalink
Condense intro CSS and remove un-used images (#79120)
Browse files Browse the repository at this point in the history
  • Loading branch information
simison authored and pull[bot] committed Dec 21, 2023
1 parent 9671bff commit 8600008
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@
@import "../../sensei-variables";

.intro {
&.free,
&.newsletter {
background-color: rgb(162 218 254);

.step-container {
background-image: url(calypso/assets/images/onboarding/newsletter-intro-bottom-mobile.webp);
background-color: var(--studio-gray-0);
background-image: url(calypso/assets/images/onboarding/newsletter-intro-bottom-neutral.webp);
background-repeat: no-repeat;
background-attachment: fixed;
background-position-x: center;
background-position-y: bottom;
background-size: contain;

@include break-medium {
background-image: url(calypso/assets/images/onboarding/newsletter-intro-bottom.webp);
}

@media screen and ( max-height: 512px ) and ( orientation: landscape ) {
background-size: cover;
background-position-y: 35vh;
Expand All @@ -29,24 +23,12 @@
background-position-y: 10vh;
}
}
.intro__description {
max-width: 450px;
margin: auto;
}
}

&.newsletter {
.step-container {
background-color: var(--studio-gray-0);
background-image: url(calypso/assets/images/onboarding/newsletter-intro-bottom-neutral.webp);

@include break-medium {
background-image: url(calypso/assets/images/onboarding/newsletter-intro-bottom-neutral.webp);
}
}
.intro__description {
max-width: 510px;
margin: auto;
}

.intro__button::before {
content: " ";
height: 16px;
Expand Down

0 comments on commit 8600008

Please sign in to comment.