Skip to content
Merged
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
23 changes: 18 additions & 5 deletions scss/organisms/_banners.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@

.jp-connect-full__container-card {
padding: rem( 64px ) rem( 64px ) rem( 96px );
@include breakpoint(large-phone) {
padding: rem(32px) rem(32px);
};
background: white;
margin: 1em;

Expand Down Expand Up @@ -114,7 +117,11 @@
};

@include breakpoint(tablet) {
top: 46px;
top: 32px;
};

@include breakpoint(large-phone) {
top: 0px;
};

// hide the notice by default. Only display it when it is injected in the middle of the page.
Expand All @@ -125,6 +132,11 @@
&.toplevel_page_jetpack .jp-jetpack-connect__container {
.jp-connect-full__container {
display: block;
.jp-connect-full__step-header h2 {
@include breakpoint(large-phone) {
margin: 0;
};
}
}
}
}
Expand All @@ -143,6 +155,10 @@
.jp-connect-full__step-header {
max-width: 700px;
margin: 0 auto 40px auto;
@include breakpoint(large-phone) {
margin-bottom: rem( 24px );
};

line-height: 1.5;

h2 {
Expand All @@ -152,7 +168,7 @@
color: black;

@include breakpoint(large-phone) {
margin: rem( 24px ) 0 0;
margin-top: rem( 16px );
};
}

Expand Down Expand Up @@ -261,9 +277,6 @@
margin: 2em 0;
max-width: 100%;
}
.jetpack-disconnected .jp-connect-full__container .jp-connect-full__container-card {
padding: rem(48px) rem(32px);
}
}


Expand Down