Skip to content

Commit

Permalink
Modern Business: Update quote block border styles, to work better wit…
Browse files Browse the repository at this point in the history
…h the new styles planned for Gutenberg 5.2. See #594.
  • Loading branch information
laurelfulford committed Feb 14, 2019
1 parent e426dc5 commit 2ed229f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion modern-business/sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@

&:not(.is-large),
&:not(.is-style-large) {
border-left: 2px solid $color__link;
border-color: $color__link;
border-width: 2px;
padding-top: 0;
padding-bottom: 0;
}
Expand Down
3 changes: 2 additions & 1 deletion modern-business/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ figcaption,

/** === Blockquote === */
.wp-block-quote:not(.is-large):not(.is-style-large) {
border-left: 2px solid #c43d80;
border-color: #c43d80;
border-width: 2px;
}

.wp-block-quote.is-large, .wp-block-quote.is-style-large {
Expand Down
3 changes: 2 additions & 1 deletion modern-business/style-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ figcaption,
.wp-block-quote {

&:not(.is-large):not(.is-style-large) {
border-left: 2px solid $color__link;
border-color: $color__link;
border-width: 2px;
}

&.is-large,
Expand Down
7 changes: 6 additions & 1 deletion modern-business/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3189,13 +3189,17 @@ body.page .main-navigation {
}

/* 404 & Not found */
.error-404.not-found .page-title,
.error-404.not-found .page-content,
.no-results.not-found .page-title,
.no-results.not-found .page-content {
margin: calc(3 * 1rem) 1rem;
}

@media only screen and (min-width: 768px) {
.error-404.not-found .page-title,
.error-404.not-found .page-content,
.no-results.not-found .page-title,
.no-results.not-found .page-content {
margin: calc(3 * 1rem) calc(10% + 60px) calc(1rem / 2);
}
Expand Down Expand Up @@ -4000,7 +4004,8 @@ body.page .main-navigation {
}

.entry .entry-content .wp-block-quote:not(.is-large), .entry .entry-content .wp-block-quote:not(.is-style-large) {
border-right: 2px solid #c43d80;
border-color: #c43d80;
border-width: 2px;
padding-top: 0;
padding-bottom: 0;
}
Expand Down
3 changes: 2 additions & 1 deletion modern-business/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ed229f

Please sign in to comment.