From 2ed229fb6ac983ba16c7868cdf23621f50fc3192 Mon Sep 17 00:00:00 2001 From: Laurel Fulford Date: Thu, 14 Feb 2019 13:25:37 -0800 Subject: [PATCH] Modern Business: Update quote block border styles, to work better with the new styles planned for Gutenberg 5.2. See #594. --- modern-business/sass/blocks/_blocks.scss | 3 ++- modern-business/style-editor.css | 3 ++- modern-business/style-editor.scss | 3 ++- modern-business/style-rtl.css | 7 ++++++- modern-business/style.css | 3 ++- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/modern-business/sass/blocks/_blocks.scss b/modern-business/sass/blocks/_blocks.scss index 0a2b0bffcf..d7f261c15b 100644 --- a/modern-business/sass/blocks/_blocks.scss +++ b/modern-business/sass/blocks/_blocks.scss @@ -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; } diff --git a/modern-business/style-editor.css b/modern-business/style-editor.css index c4cfe7b9c1..231f812b17 100644 --- a/modern-business/style-editor.css +++ b/modern-business/style-editor.css @@ -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 { diff --git a/modern-business/style-editor.scss b/modern-business/style-editor.scss index 9ec1fa1cac..8ca836af59 100644 --- a/modern-business/style-editor.scss +++ b/modern-business/style-editor.scss @@ -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, diff --git a/modern-business/style-rtl.css b/modern-business/style-rtl.css index 173fa10ebb..a6253f8c2e 100644 --- a/modern-business/style-rtl.css +++ b/modern-business/style-rtl.css @@ -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); } @@ -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; } diff --git a/modern-business/style.css b/modern-business/style.css index 6e2739614f..d4d9cae3ca 100644 --- a/modern-business/style.css +++ b/modern-business/style.css @@ -4016,7 +4016,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-left: 2px solid #c43d80; + border-color: #c43d80; + border-width: 2px; padding-top: 0; padding-bottom: 0; }