diff --git a/alves/package-lock.json b/alves/package-lock.json index ae94dd8fe8..7eb5fc5ac5 100644 --- a/alves/package-lock.json +++ b/alves/package-lock.json @@ -1,6 +1,6 @@ { "name": "alves", - "version": "1.4.4", + "version": "1.4.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/alves/package.json b/alves/package.json index 325a9b9dc9..f1f69f8f84 100755 --- a/alves/package.json +++ b/alves/package.json @@ -1,6 +1,6 @@ { "name": "alves", - "version": "1.4.4", + "version": "1.4.5", "description": "Alves", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/alves/sass/style-child-theme.scss b/alves/sass/style-child-theme.scss index 489c079b27..a62f895a0d 100644 --- a/alves/sass/style-child-theme.scss +++ b/alves/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/alves/style-editor.css b/alves/style-editor.css index f7932c1152..f909033363 100644 --- a/alves/style-editor.css +++ b/alves/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #3E7D98; border-top-width: 4px; border-bottom-color: #3E7D98; border-bottom-width: 4px; color: #394d55; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Lora", Georgia, sans-serif; font-family: var(--font-headings, "Lora", Georgia, sans-serif); - font-size: 1.8em; + font-size: 1.8rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.8rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #4d6974; - font-size: 1.04167em; + font-size: 1.04167rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #3E7D98; color: #ffffff; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #3E7D98; } .wp-block-quote { diff --git a/alves/style-rtl.css b/alves/style-rtl.css index 76c2d5bb33..22042b0481 100644 --- a/alves/style-rtl.css +++ b/alves/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #3E7D98; border-top-width: 4px; border-bottom-color: #3E7D98; border-bottom-width: 4px; color: #394d55; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Lora", Georgia, sans-serif; font-family: var(--font-headings, "Lora", Georgia, sans-serif); font-size: 1.8rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.8rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #4d6974; font-size: 1.04167rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #ffffff; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #3E7D98; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #3E7D98; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/alves/style.css b/alves/style.css index 2615b8779a..f4acafba00 100644 --- a/alves/style.css +++ b/alves/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #3E7D98; border-top-width: 4px; border-bottom-color: #3E7D98; border-bottom-width: 4px; color: #394d55; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Lora", Georgia, sans-serif; font-family: var(--font-headings, "Lora", Georgia, sans-serif); font-size: 1.8rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.8rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #4d6974; font-size: 1.04167rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #ffffff; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #3E7D98; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #3E7D98; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/balasana/package-lock.json b/balasana/package-lock.json index a72274b368..45bceee555 100644 --- a/balasana/package-lock.json +++ b/balasana/package-lock.json @@ -1,6 +1,6 @@ { "name": "balasana", - "version": "1.2.5", + "version": "1.2.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/balasana/package.json b/balasana/package.json index ade90e37c5..f6f04d490b 100755 --- a/balasana/package.json +++ b/balasana/package.json @@ -1,6 +1,6 @@ { "name": "balasana", - "version": "1.2.5", + "version": "1.2.6", "description": "Balasana", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/balasana/sass/style-child-theme.scss b/balasana/sass/style-child-theme.scss index db55c2dad6..31a9fd59b0 100644 --- a/balasana/sass/style-child-theme.scss +++ b/balasana/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Balasana is a clean and minimalist business theme designed with health and wellness-focused sites in mind. Requires at least: WordPress 4.9.6 -Version: 1.2.5 +Version: 1.2.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/balasana/style-editor.css b/balasana/style-editor.css index a92cfde7b9..e36a1fdb98 100644 --- a/balasana/style-editor.css +++ b/balasana/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #D0D0D0; border-top-width: 4px; border-bottom-color: #D0D0D0; border-bottom-width: 4px; color: #303030; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); - font-size: 1.728em; + font-size: 1.728rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #505050; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #19744C; color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #19744C; } .wp-block-quote { diff --git a/balasana/style-rtl.css b/balasana/style-rtl.css index 70f007f0a2..01eef565a2 100644 --- a/balasana/style-rtl.css +++ b/balasana/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Balasana is a clean and minimalist business theme designed with health and wellness-focused sites in mind. Requires at least: WordPress 4.9.6 -Version: 1.2.5 +Version: 1.2.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #D0D0D0; border-top-width: 4px; border-bottom-color: #D0D0D0; border-bottom-width: 4px; color: #303030; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #505050; font-size: 0.83333rem; letter-spacing: normal; - display: block; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; -} - -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #19744C; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #19744C; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/balasana/style.css b/balasana/style.css index 2ebd86d2d4..3a6d1411a8 100644 --- a/balasana/style.css +++ b/balasana/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Balasana is a clean and minimalist business theme designed with health and wellness-focused sites in mind. Requires at least: WordPress 4.9.6 -Version: 1.2.5 +Version: 1.2.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #D0D0D0; border-top-width: 4px; border-bottom-color: #D0D0D0; border-bottom-width: 4px; color: #303030; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Roboto Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #505050; font-size: 0.83333rem; letter-spacing: normal; - display: block; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; -} - -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #19744C; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #19744C; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/barnsbury/package-lock.json b/barnsbury/package-lock.json index a03a832ec4..ae5a493a65 100644 --- a/barnsbury/package-lock.json +++ b/barnsbury/package-lock.json @@ -1,6 +1,6 @@ { "name": "barnsbury", - "version": "1.2.4", + "version": "1.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/barnsbury/package.json b/barnsbury/package.json index 8d6e32d45e..de4d108b0b 100755 --- a/barnsbury/package.json +++ b/barnsbury/package.json @@ -1,6 +1,6 @@ { "name": "barnsbury", - "version": "1.2.4", + "version": "1.2.5", "description": "Barnsbury", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/barnsbury/sass/style-child-theme.scss b/barnsbury/sass/style-child-theme.scss index 1771612a51..0702579229 100644 --- a/barnsbury/sass/style-child-theme.scss +++ b/barnsbury/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Barnsbury is an earthy and friendly theme design with farming and agriculture businesses in mind. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/barnsbury/style-editor.css b/barnsbury/style-editor.css index 38c95539c7..ff19963d46 100644 --- a/barnsbury/style-editor.css +++ b/barnsbury/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #3C2323; border-top-width: 4px; border-bottom-color: #3C2323; border-bottom-width: 4px; color: #3C2323; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; font-family: var(--font-headings, "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif); - font-size: 1.64303em; + font-size: 1.64303rem; letter-spacing: normal; line-height: 1.15; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.64303rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #844d4d; - font-size: 0.84746em; + font-size: 0.84746rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #20603C; color: #FFFDF6; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #20603C; } .wp-block-quote { diff --git a/barnsbury/style-rtl.css b/barnsbury/style-rtl.css index 376544692f..7123094055 100644 --- a/barnsbury/style-rtl.css +++ b/barnsbury/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Barnsbury is an earthy and friendly theme design with farming and agriculture businesses in mind. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #3C2323; border-top-width: 4px; border-bottom-color: #3C2323; border-bottom-width: 4px; color: #3C2323; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; font-family: var(--font-headings, "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif); font-size: 1.64303rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.15; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.64303rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #844d4d; font-size: 0.84746rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFDF6; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #20603C; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #20603C; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/barnsbury/style.css b/barnsbury/style.css index 3db81e3eab..13f4b77f80 100644 --- a/barnsbury/style.css +++ b/barnsbury/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Barnsbury is an earthy and friendly theme design with farming and agriculture businesses in mind. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #3C2323; border-top-width: 4px; border-bottom-color: #3C2323; border-bottom-width: 4px; color: #3C2323; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif; font-family: var(--font-headings, "Rubik", Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif); font-size: 1.64303rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.15; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.64303rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #844d4d; font-size: 0.84746rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFDF6; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #20603C; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #20603C; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/brompton/package-lock.json b/brompton/package-lock.json index 0ca9fc538f..de078ea112 100644 --- a/brompton/package-lock.json +++ b/brompton/package-lock.json @@ -1,6 +1,6 @@ { "name": "brompton", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/brompton/package.json b/brompton/package.json index 8582e3e056..a0720713eb 100755 --- a/brompton/package.json +++ b/brompton/package.json @@ -1,6 +1,6 @@ { "name": "brompton", - "version": "1.3.4", + "version": "1.3.5", "description": "Brompton", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/brompton/sass/style-child-theme.scss b/brompton/sass/style-child-theme.scss index 1911b7cd41..5a4fd6df03 100644 --- a/brompton/sass/style-child-theme.scss +++ b/brompton/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/brompton/style-editor.css b/brompton/style-editor.css index 615717dfd5..6e6c0574b6 100644 --- a/brompton/style-editor.css +++ b/brompton/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #B9B6B2; border-top-width: 5px; border-bottom-color: #B9B6B2; border-bottom-width: 5px; color: #252E36; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; font-family: var(--font-base, Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif); - font-size: 1.728em; + font-size: 1.728rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #666666; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #C04239; color: #E8E4DD; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #C04239; } .wp-block-quote { diff --git a/brompton/style-rtl.css b/brompton/style-rtl.css index 64a753cabd..a2ba5cbd83 100644 --- a/brompton/style-rtl.css +++ b/brompton/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #B9B6B2; border-top-width: 5px; border-bottom-color: #B9B6B2; border-bottom-width: 5px; color: #252E36; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; font-family: var(--font-base, Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #666666; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #E8E4DD; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #C04239; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #C04239; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/brompton/style.css b/brompton/style.css index e43297e0c8..9e358f067d 100644 --- a/brompton/style.css +++ b/brompton/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #B9B6B2; border-top-width: 5px; border-bottom-color: #B9B6B2; border-bottom-width: 5px; color: #252E36; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; font-family: var(--font-base, Lora, Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #666666; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #E8E4DD; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #C04239; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #C04239; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/coutoire/package-lock.json b/coutoire/package-lock.json index 8b1c5409df..cc21e39c45 100644 --- a/coutoire/package-lock.json +++ b/coutoire/package-lock.json @@ -1,6 +1,6 @@ { "name": "coutoire", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/coutoire/package.json b/coutoire/package.json index b36db655bb..1fd746c788 100755 --- a/coutoire/package.json +++ b/coutoire/package.json @@ -1,6 +1,6 @@ { "name": "coutoire", - "version": "1.3.4", + "version": "1.3.5", "description": "Coutoire", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/coutoire/sass/style-child-theme.scss b/coutoire/sass/style-child-theme.scss index 489b8d397d..e67619641d 100644 --- a/coutoire/sass/style-child-theme.scss +++ b/coutoire/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A design system for WordPress sites built with Gutenberg. Requires at least: WordPress 4.9.6 -Version: 1.3.5 +Version: 1.3.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/coutoire/style-editor.css b/coutoire/style-editor.css index 285cb9c922..c4aebe810f 100644 --- a/coutoire/style-editor.css +++ b/coutoire/style-editor.css @@ -834,32 +834,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "EB Garamond", serif; font-family: var(--font-headings, "EB Garamond", serif); - font-size: 1.728em; + font-size: 1.728rem; letter-spacing: normal; line-height: 1; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -868,42 +861,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #767676; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #000000; color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #000000; } .wp-block-quote { diff --git a/coutoire/style-rtl.css b/coutoire/style-rtl.css index faa2c67f22..32cad47dd2 100644 --- a/coutoire/style-rtl.css +++ b/coutoire/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A design system for WordPress sites built with Gutenberg. Requires at least: WordPress 4.9.6 -Version: 1.3.5 +Version: 1.3.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2080,21 +2080,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "EB Garamond", serif; font-family: var(--font-headings, "EB Garamond", serif); font-size: 1.728rem; @@ -2102,6 +2095,10 @@ p.has-background { line-height: 1; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2112,31 +2109,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2147,14 +2129,6 @@ p.has-background { background-color: #000000; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #000000; margin: 32px 0; @@ -3608,10 +3582,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3620,10 +3591,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3631,10 +3599,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3642,10 +3607,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3653,10 +3615,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3664,10 +3623,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/coutoire/style.css b/coutoire/style.css index 9cc09a4411..a93a98894f 100644 --- a/coutoire/style.css +++ b/coutoire/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A design system for WordPress sites built with Gutenberg. Requires at least: WordPress 4.9.6 -Version: 1.3.5 +Version: 1.3.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2080,21 +2080,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "EB Garamond", serif; font-family: var(--font-headings, "EB Garamond", serif); font-size: 1.728rem; @@ -2102,6 +2095,10 @@ p.has-background { line-height: 1; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2112,31 +2109,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2147,14 +2129,6 @@ p.has-background { background-color: #000000; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #000000; margin: 32px 0; @@ -3627,10 +3601,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3639,10 +3610,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3650,10 +3618,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3661,10 +3626,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3672,10 +3634,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3683,10 +3642,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/dalston/package-lock.json b/dalston/package-lock.json index 1ab07a49a4..cfe558a85c 100644 --- a/dalston/package-lock.json +++ b/dalston/package-lock.json @@ -1,6 +1,6 @@ { "name": "dalston", - "version": "1.2.4", + "version": "1.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/dalston/package.json b/dalston/package.json index 64238f7bb2..b18bc0ccd2 100755 --- a/dalston/package.json +++ b/dalston/package.json @@ -1,6 +1,6 @@ { "name": "dalston", - "version": "1.2.4", + "version": "1.2.5", "description": "Dalston", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/dalston/sass/style-child-theme.scss b/dalston/sass/style-child-theme.scss index bad4bb66e8..d136cd25da 100644 --- a/dalston/sass/style-child-theme.scss +++ b/dalston/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online portfolio impressively awesome with Dalston. With the ability to beautifully highlight your illustration and other projects, Dalston is also versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/dalston/style-editor.css b/dalston/style-editor.css index 5388cd974c..277cddf525 100644 --- a/dalston/style-editor.css +++ b/dalston/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: transparent; border-top-width: 4px; border-bottom-color: transparent; border-bottom-width: 4px; color: #1e1e1e; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif); - font-size: 1.52087em; + font-size: 1.52087rem; letter-spacing: normal; line-height: 1.2; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #767676; - font-size: 0.86957em; + font-size: 0.86957rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #0073AA; color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #0073AA; } .wp-block-quote { diff --git a/dalston/style-rtl.css b/dalston/style-rtl.css index 57659f420d..08f833c5a8 100644 --- a/dalston/style-rtl.css +++ b/dalston/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online portfolio impressively awesome with Dalston. With the ability to beautifully highlight your illustration and other projects, Dalston is also versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: transparent; border-top-width: 4px; border-bottom-color: transparent; border-bottom-width: 4px; color: #1e1e1e; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif); font-size: 1.52087rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.2; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.86957rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #0073AA; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #0073AA; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/dalston/style.css b/dalston/style.css index c6ebe54582..2c96fbb7be 100644 --- a/dalston/style.css +++ b/dalston/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online portfolio impressively awesome with Dalston. With the ability to beautifully highlight your illustration and other projects, Dalston is also versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: transparent; border-top-width: 4px; border-bottom-color: transparent; border-bottom-width: 4px; color: #1e1e1e; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; font-family: var(--font-headings, "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif); font-size: 1.52087rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.2; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.86957rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #0073AA; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #0073AA; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/exford/package-lock.json b/exford/package-lock.json index 2e037cfec1..1ad2f7b781 100644 --- a/exford/package-lock.json +++ b/exford/package-lock.json @@ -1,6 +1,6 @@ { "name": "exford", - "version": "1.4.5", + "version": "1.4.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/exford/package.json b/exford/package.json index ca731bd655..3aba346ba5 100755 --- a/exford/package.json +++ b/exford/package.json @@ -1,6 +1,6 @@ { "name": "exford", - "version": "1.4.5", + "version": "1.4.6", "description": "Exford", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/exford/sass/style-child-theme.scss b/exford/sass/style-child-theme.scss index 592ac7810d..7c56dc2216 100644 --- a/exford/sass/style-child-theme.scss +++ b/exford/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online presence as striking and stylish as your business with Exford. Requires at least: WordPress 4.9.6 -Version: 1.4.5 +Version: 1.4.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/exford/style-editor.css b/exford/style-editor.css index 2bb3019edb..5a2f201b49 100644 --- a/exford/style-editor.css +++ b/exford/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #CCCCCC; border-top-width: 4px; border-bottom-color: #CCCCCC; border-bottom-width: 4px; color: #111111; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); - font-size: 1.2em; + font-size: 1.2rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #6E6E6E; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #23883D; color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #23883D; } .wp-block-quote { diff --git a/exford/style-rtl.css b/exford/style-rtl.css index b6e8ef2762..bf8f1bc8d3 100644 --- a/exford/style-rtl.css +++ b/exford/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online presence as striking and stylish as your business with Exford. Requires at least: WordPress 4.9.6 -Version: 1.4.5 +Version: 1.4.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #CCCCCC; border-top-width: 4px; border-bottom-color: #CCCCCC; border-bottom-width: 4px; color: #111111; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #6E6E6E; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #23883D; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #23883D; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/exford/style.css b/exford/style.css index 756402cb73..2dfea5a0dc 100644 --- a/exford/style.css +++ b/exford/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online presence as striking and stylish as your business with Exford. Requires at least: WordPress 4.9.6 -Version: 1.4.5 +Version: 1.4.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #CCCCCC; border-top-width: 4px; border-bottom-color: #CCCCCC; border-bottom-width: 4px; color: #111111; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #6E6E6E; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #23883D; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #23883D; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/hever/package-lock.json b/hever/package-lock.json index 34bcb09bee..4abefa9b52 100644 --- a/hever/package-lock.json +++ b/hever/package-lock.json @@ -1,6 +1,6 @@ { "name": "hever", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/hever/package.json b/hever/package.json index b29cf60dec..3900e70927 100755 --- a/hever/package.json +++ b/hever/package.json @@ -1,6 +1,6 @@ { "name": "hever", - "version": "1.3.4", + "version": "1.3.5", "description": "Hever", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/hever/sass/style-child-theme.scss b/hever/sass/style-child-theme.scss index b7244d47f5..060a22d79a 100644 --- a/hever/sass/style-child-theme.scss +++ b/hever/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.4.5 +Version: 1.4.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/hever/style-editor.css b/hever/style-editor.css index 8dd64ddfa4..45082a2978 100644 --- a/hever/style-editor.css +++ b/hever/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #C5C5C5; border-top-width: 4px; border-bottom-color: #C5C5C5; border-bottom-width: 4px; color: #303030; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); - font-size: 1.52087em; + font-size: 1.52087rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #757575; - font-size: 0.86957em; + font-size: 0.86957rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #1279BE; color: white; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #1279BE; } .wp-block-quote { diff --git a/hever/style-rtl.css b/hever/style-rtl.css index f72b0a44ac..26106801bd 100644 --- a/hever/style-rtl.css +++ b/hever/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.4.5 +Version: 1.4.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #C5C5C5; border-top-width: 4px; border-bottom-color: #C5C5C5; border-bottom-width: 4px; color: #303030; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.52087rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #757575; font-size: 0.86957rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #1279BE; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #1279BE; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/hever/style.css b/hever/style.css index 90229e323a..5b5f6c4b82 100644 --- a/hever/style.css +++ b/hever/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A fully responsive theme, ideal for creating a strong — yet beautiful — online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.4.5 +Version: 1.4.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #C5C5C5; border-top-width: 4px; border-bottom-color: #C5C5C5; border-bottom-width: 4px; color: #303030; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.52087rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #757575; font-size: 0.86957rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #1279BE; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #1279BE; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/leven/package-lock.json b/leven/package-lock.json index d16b13529f..4d1ec68bfe 100644 --- a/leven/package-lock.json +++ b/leven/package-lock.json @@ -1,6 +1,6 @@ { "name": "leven", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/leven/package.json b/leven/package.json index 9d5a73a8f8..166dde788a 100755 --- a/leven/package.json +++ b/leven/package.json @@ -1,6 +1,6 @@ { "name": "leven", - "version": "1.3.4", + "version": "1.3.5", "description": "Leven", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/leven/sass/style-child-theme.scss b/leven/sass/style-child-theme.scss index b4a7dfe966..6560334558 100644 --- a/leven/sass/style-child-theme.scss +++ b/leven/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: the WordPress team Author URI: https://wordpress.org/ Description: A colorful, typography driven, Gutenberg-ready theme meant to grab the attention of potential customers and market or sell products to them. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/leven/style-editor.css b/leven/style-editor.css index 6b15cedf0b..42d56e5931 100644 --- a/leven/style-editor.css +++ b/leven/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); - font-size: 1.78256em; + font-size: 1.78256rem; letter-spacing: -0.02em; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.78256rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #767676; - font-size: 0.82474em; + font-size: 0.82474rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #ff302c; color: #f7f7f6; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #ff302c; } .wp-block-quote { diff --git a/leven/style-rtl.css b/leven/style-rtl.css index a73826daea..497a90c516 100644 --- a/leven/style-rtl.css +++ b/leven/style-rtl.css @@ -6,7 +6,7 @@ Author: the WordPress team Author URI: https://wordpress.org/ Description: A colorful, typography driven, Gutenberg-ready theme meant to grab the attention of potential customers and market or sell products to them. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.78256rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.78256rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.82474rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #f7f7f6; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #ff302c; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #ff302c; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/leven/style.css b/leven/style.css index be656b388e..22287b20f3 100644 --- a/leven/style.css +++ b/leven/style.css @@ -6,7 +6,7 @@ Author: the WordPress team Author URI: https://wordpress.org/ Description: A colorful, typography driven, Gutenberg-ready theme meant to grab the attention of potential customers and market or sell products to them. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.78256rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.78256rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.82474rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #f7f7f6; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #ff302c; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #ff302c; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/mayland/package-lock.json b/mayland/package-lock.json index e19a94026d..56dfb706e3 100644 --- a/mayland/package-lock.json +++ b/mayland/package-lock.json @@ -1,6 +1,6 @@ { "name": "mayland", - "version": "1.2.4", + "version": "1.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/mayland/package.json b/mayland/package.json index 06a6d39373..b875f795a9 100755 --- a/mayland/package.json +++ b/mayland/package.json @@ -1,6 +1,6 @@ { "name": "mayland", - "version": "1.2.4", + "version": "1.2.5", "description": "mayland", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/mayland/sass/style-child-theme.scss b/mayland/sass/style-child-theme.scss index 11408b4ebe..c18778a996 100644 --- a/mayland/sass/style-child-theme.scss +++ b/mayland/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online portfolio wonderfully uncluttered with Mayland. Gracefully highlight your photography and other projects. Mayland is versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/mayland/style-editor.css b/mayland/style-editor.css index ca4e002b39..f2ec4c623d 100644 --- a/mayland/style-editor.css +++ b/mayland/style-editor.css @@ -836,32 +836,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #e6e6e6; border-top-width: 4px; border-bottom-color: #e6e6e6; border-bottom-width: 4px; color: #010101; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Poppins, sans-serif; font-family: var(--font-headings, Poppins, sans-serif); - font-size: 1.2em; + font-size: 1.2rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -870,42 +863,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #666666; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #000000; color: #ffffff; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #000000; } .wp-block-quote { diff --git a/mayland/style-rtl.css b/mayland/style-rtl.css index 9f7add76b9..da4fabc710 100644 --- a/mayland/style-rtl.css +++ b/mayland/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online portfolio wonderfully uncluttered with Mayland. Gracefully highlight your photography and other projects. Mayland is versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2081,21 +2081,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #e6e6e6; border-top-width: 4px; border-bottom-color: #e6e6e6; border-bottom-width: 4px; color: #010101; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Poppins, sans-serif; font-family: var(--font-headings, Poppins, sans-serif); font-size: 1.2rem; @@ -2103,6 +2096,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2113,31 +2110,16 @@ p.has-background { color: #666666; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #ffffff; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2148,14 +2130,6 @@ p.has-background { background-color: #000000; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #000000; margin: 32px 0; @@ -3609,10 +3583,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3621,10 +3592,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3632,10 +3600,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3643,10 +3608,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3654,10 +3616,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3665,10 +3624,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/mayland/style.css b/mayland/style.css index 31c18f6d52..27e5435315 100644 --- a/mayland/style.css +++ b/mayland/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Make your online portfolio wonderfully uncluttered with Mayland. Gracefully highlight your photography and other projects. Mayland is versatile enough to be your personal site too. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2081,21 +2081,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #e6e6e6; border-top-width: 4px; border-bottom-color: #e6e6e6; border-bottom-width: 4px; color: #010101; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Poppins, sans-serif; font-family: var(--font-headings, Poppins, sans-serif); font-size: 1.2rem; @@ -2103,6 +2096,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2113,31 +2110,16 @@ p.has-background { color: #666666; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #ffffff; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2148,14 +2130,6 @@ p.has-background { background-color: #000000; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #000000; margin: 32px 0; @@ -3628,10 +3602,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3640,10 +3611,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3651,10 +3619,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3662,10 +3627,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3673,10 +3635,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3684,10 +3643,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/maywood/package-lock.json b/maywood/package-lock.json index a993ebfaac..17aeebf9e7 100644 --- a/maywood/package-lock.json +++ b/maywood/package-lock.json @@ -1,6 +1,6 @@ { "name": "maywood", - "version": "1.4.6", + "version": "1.4.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/maywood/package.json b/maywood/package.json index 71c042f255..2281338340 100755 --- a/maywood/package.json +++ b/maywood/package.json @@ -1,6 +1,6 @@ { "name": "maywood", - "version": "1.4.6", + "version": "1.4.7", "description": "Maywood", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/maywood/sass/style-child-theme.scss b/maywood/sass/style-child-theme.scss index 9abb2a0d60..e085da1ef0 100644 --- a/maywood/sass/style-child-theme.scss +++ b/maywood/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Maywood is a refined theme designed for restaurants and food-related businesses seeking a modern look. Requires at least: WordPress 4.9.6 -Version: 1.4.6 +Version: 1.4.7 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/maywood/style-editor.css b/maywood/style-editor.css index e583220207..9d8b39b769 100644 --- a/maywood/style-editor.css +++ b/maywood/style-editor.css @@ -852,32 +852,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #CCCCCC; border-top-width: 4px; border-bottom-color: #CCCCCC; border-bottom-width: 4px; color: #181818; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); - font-size: 1.2em; + font-size: 1.2rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -886,42 +879,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #686868; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #897248; color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #897248; } .wp-block-quote { diff --git a/maywood/style-rtl.css b/maywood/style-rtl.css index 3bc3dffab1..5d03fcf9a3 100644 --- a/maywood/style-rtl.css +++ b/maywood/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Maywood is a refined theme designed for restaurants and food-related businesses seeking a modern look. Requires at least: WordPress 4.9.6 -Version: 1.4.6 +Version: 1.4.7 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #CCCCCC; border-top-width: 4px; border-bottom-color: #CCCCCC; border-bottom-width: 4px; color: #181818; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #686868; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #897248; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #897248; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/maywood/style.css b/maywood/style.css index 25dcb8742d..c9c9606fdc 100644 --- a/maywood/style.css +++ b/maywood/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Maywood is a refined theme designed for restaurants and food-related businesses seeking a modern look. Requires at least: WordPress 4.9.6 -Version: 1.4.6 +Version: 1.4.7 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #CCCCCC; border-top-width: 4px; border-bottom-color: #CCCCCC; border-bottom-width: 4px; color: #181818; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #686868; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #897248; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #897248; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/morden/package-lock.json b/morden/package-lock.json index 116f036136..a762cc2b27 100644 --- a/morden/package-lock.json +++ b/morden/package-lock.json @@ -1,6 +1,6 @@ { "name": "morden", - "version": "1.5.4", + "version": "1.5.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/morden/package.json b/morden/package.json index e962b01ed6..a459c755d7 100755 --- a/morden/package.json +++ b/morden/package.json @@ -1,6 +1,6 @@ { "name": "morden", - "version": "1.5.4", + "version": "1.5.5", "description": "Morden", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/morden/sass/style-child-theme.scss b/morden/sass/style-child-theme.scss index 4835aad99d..c35d4a61dc 100644 --- a/morden/sass/style-child-theme.scss +++ b/morden/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Morden is a functional and responsive multi-purpose theme that is the perfect solution for your business's online presence. Requires at least: WordPress 4.9.6 -Version: 1.5.4 +Version: 1.5.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/morden/style-editor.css b/morden/style-editor.css index 7f3e10bebb..e3738fcde9 100644 --- a/morden/style-editor.css +++ b/morden/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #C5C5C5; border-top-width: 2px; border-bottom-color: #C5C5C5; border-bottom-width: 2px; color: #303030; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); - font-size: 1.52087em; + font-size: 1.52087rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #757575; - font-size: 0.86957em; + font-size: 0.86957rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #CD2220; color: white; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #CD2220; } .wp-block-quote { diff --git a/morden/style-rtl.css b/morden/style-rtl.css index ac0ec0f9e5..7a3d9eeb6e 100644 --- a/morden/style-rtl.css +++ b/morden/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Morden is a functional and responsive multi-purpose theme that is the perfect solution for your business's online presence. Requires at least: WordPress 4.9.6 -Version: 1.5.4 +Version: 1.5.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #C5C5C5; border-top-width: 2px; border-bottom-color: #C5C5C5; border-bottom-width: 2px; color: #303030; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.52087rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #757575; font-size: 0.86957rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #CD2220; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #CD2220; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/morden/style.css b/morden/style.css index b7896521d1..67ed64d2ce 100644 --- a/morden/style.css +++ b/morden/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Morden is a functional and responsive multi-purpose theme that is the perfect solution for your business's online presence. Requires at least: WordPress 4.9.6 -Version: 1.5.4 +Version: 1.5.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #C5C5C5; border-top-width: 2px; border-bottom-color: #C5C5C5; border-bottom-width: 2px; color: #303030; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.52087rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.52087rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #757575; font-size: 0.86957rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #CD2220; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #CD2220; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/redhill/package-lock.json b/redhill/package-lock.json index bf7d3adb58..2d9adc6f11 100644 --- a/redhill/package-lock.json +++ b/redhill/package-lock.json @@ -1,6 +1,6 @@ { "name": "redhill", - "version": "1.4.4", + "version": "1.4.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/redhill/package.json b/redhill/package.json index ae40011895..e791353c37 100755 --- a/redhill/package.json +++ b/redhill/package.json @@ -1,6 +1,6 @@ { "name": "redhill", - "version": "1.4.4", + "version": "1.4.5", "description": "redhill", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/redhill/sass/style-child-theme.scss b/redhill/sass/style-child-theme.scss index c6e6bb55ec..c1fd406fb8 100644 --- a/redhill/sass/style-child-theme.scss +++ b/redhill/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A simple theme with clean typography, created with entrepreneurs and small business owners in mind. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/redhill/style-editor.css b/redhill/style-editor.css index 9d828cf5ed..4b77766e95 100644 --- a/redhill/style-editor.css +++ b/redhill/style-editor.css @@ -849,32 +849,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #222222; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif; font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif); - font-size: 1.44em; + font-size: 1.44rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.44rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -883,42 +876,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #666666; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #CA2017; color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #CA2017; } .wp-block-quote { diff --git a/redhill/style-rtl.css b/redhill/style-rtl.css index 6544647d3b..f8ab110aad 100644 --- a/redhill/style-rtl.css +++ b/redhill/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A simple theme with clean typography, created with entrepreneurs and small business owners in mind. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #222222; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif; font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif); font-size: 1.44rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.44rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #666666; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #CA2017; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #CA2017; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 772px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 772px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 772px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 772px - 32px); diff --git a/redhill/style.css b/redhill/style.css index ea73ea1770..0317b708e0 100644 --- a/redhill/style.css +++ b/redhill/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A simple theme with clean typography, created with entrepreneurs and small business owners in mind. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #222222; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif; font-family: var(--font-headings, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Times, "Times New Roman", serif); font-size: 1.44rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.44rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #666666; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #FFFFFF; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #CA2017; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #CA2017; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 772px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 772px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 772px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 772px - 32px); diff --git a/rivington/package-lock.json b/rivington/package-lock.json index bb6704f636..63e9962425 100644 --- a/rivington/package-lock.json +++ b/rivington/package-lock.json @@ -1,6 +1,6 @@ { "name": "rivington", - "version": "1.2.4", + "version": "1.2.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/rivington/package.json b/rivington/package.json index 1672148c9f..91bc142f9f 100755 --- a/rivington/package.json +++ b/rivington/package.json @@ -1,6 +1,6 @@ { "name": "rivington", - "version": "1.2.4", + "version": "1.2.5", "description": "Rivington", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/rivington/sass/style-child-theme.scss b/rivington/sass/style-child-theme.scss index 8756e07410..d5d639849b 100644 --- a/rivington/sass/style-child-theme.scss +++ b/rivington/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Rivington is a robust theme designed for single property real estate. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/rivington/style-editor.css b/rivington/style-editor.css index 7ded567ff1..183d66575c 100644 --- a/rivington/style-editor.css +++ b/rivington/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #353a46; border-top-width: 4px; border-bottom-color: #353a46; border-bottom-width: 4px; color: #f2f2f2; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); - font-size: 1.25em; + font-size: 1.25rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.25rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: white; - font-size: 0.8em; + font-size: 0.8rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #CAAB57; color: #060f29; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #CAAB57; } .wp-block-quote { diff --git a/rivington/style-rtl.css b/rivington/style-rtl.css index cee5b52a3f..86e418d5a8 100644 --- a/rivington/style-rtl.css +++ b/rivington/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Rivington is a robust theme designed for single property real estate. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #353a46; border-top-width: 4px; border-bottom-color: #353a46; border-bottom-width: 4px; color: #f2f2f2; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.25rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.25rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: white; font-size: 0.8rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #060f29; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #CAAB57; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #CAAB57; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/rivington/style.css b/rivington/style.css index e0f5e9fea3..ff84fa6f91 100644 --- a/rivington/style.css +++ b/rivington/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Rivington is a robust theme designed for single property real estate. Requires at least: WordPress 4.9.6 -Version: 1.2.4 +Version: 1.2.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #353a46; border-top-width: 4px; border-bottom-color: #353a46; border-bottom-width: 4px; color: #f2f2f2; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: var(--font-headings, "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif); font-size: 1.25rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.25rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: white; font-size: 0.8rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: #060f29; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #CAAB57; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #CAAB57; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/rockfield/package-lock.json b/rockfield/package-lock.json index 5a2f8cffd3..e2bab22066 100644 --- a/rockfield/package-lock.json +++ b/rockfield/package-lock.json @@ -1,6 +1,6 @@ { "name": "rockfield", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/rockfield/package.json b/rockfield/package.json index fd683a51b3..1b94960ab4 100755 --- a/rockfield/package.json +++ b/rockfield/package.json @@ -1,6 +1,6 @@ { "name": "rockfield", - "version": "1.3.4", + "version": "1.3.5", "description": "Rockfield", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/rockfield/sass/style-child-theme.scss b/rockfield/sass/style-child-theme.scss index 4f7a766f86..3315725b5e 100644 --- a/rockfield/sass/style-child-theme.scss +++ b/rockfield/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Rockfield is a refined theme designed for restaurants and food-related businesses seeking a classic, elegant look. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/rockfield/style-editor.css b/rockfield/style-editor.css index 2ebfb06f4e..e9ca38fdd8 100644 --- a/rockfield/style-editor.css +++ b/rockfield/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #E0E0E0; border-top-width: 2px; border-bottom-color: #E0E0E0; border-bottom-width: 2px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Lora, Baskerville, Georgia, Times, serif; font-family: var(--font-headings, Lora, Baskerville, Georgia, Times, serif); - font-size: 1.728em; + font-size: 1.728rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #757575; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #222222; color: white; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #222222; } .wp-block-quote { diff --git a/rockfield/style-rtl.css b/rockfield/style-rtl.css index 9730298393..e0c2b8c40f 100644 --- a/rockfield/style-rtl.css +++ b/rockfield/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Rockfield is a refined theme designed for restaurants and food-related businesses seeking a classic, elegant look. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #E0E0E0; border-top-width: 2px; border-bottom-color: #E0E0E0; border-bottom-width: 2px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Lora, Baskerville, Georgia, Times, serif; font-family: var(--font-headings, Lora, Baskerville, Georgia, Times, serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #757575; font-size: 0.83333rem; letter-spacing: normal; - display: block; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; -} - -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #222222; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #222222; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/rockfield/style.css b/rockfield/style.css index e9edbbc064..bd3c4d0820 100644 --- a/rockfield/style.css +++ b/rockfield/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Rockfield is a refined theme designed for restaurants and food-related businesses seeking a classic, elegant look. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #E0E0E0; border-top-width: 2px; border-bottom-color: #E0E0E0; border-bottom-width: 2px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: Lora, Baskerville, Georgia, Times, serif; font-family: var(--font-headings, Lora, Baskerville, Georgia, Times, serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #757575; font-size: 0.83333rem; letter-spacing: normal; - display: block; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; -} - -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #222222; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #222222; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/shawburn/package-lock.json b/shawburn/package-lock.json index b046213226..5a8690099e 100644 --- a/shawburn/package-lock.json +++ b/shawburn/package-lock.json @@ -1,6 +1,6 @@ { "name": "shawburn", - "version": "1.3.5", + "version": "1.3.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/shawburn/package.json b/shawburn/package.json index 9f8e216649..d66f6f641c 100755 --- a/shawburn/package.json +++ b/shawburn/package.json @@ -1,6 +1,6 @@ { "name": "shawburn", - "version": "1.3.5", + "version": "1.3.6", "description": "Shawburn", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/shawburn/sass/style-child-theme.scss b/shawburn/sass/style-child-theme.scss index 1b9361d70c..66cfa4bcb0 100644 --- a/shawburn/sass/style-child-theme.scss +++ b/shawburn/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Shawburn is the ideal choice for creating an online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.3.5 +Version: 1.3.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/shawburn/style-editor.css b/shawburn/style-editor.css index d3fb6136f8..fb5bab0917 100644 --- a/shawburn/style-editor.css +++ b/shawburn/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #EAEAEA; border-top-width: 2px; border-bottom-color: #EAEAEA; border-bottom-width: 2px; color: #444444; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "PT Sans", Arial, sans-serif; font-family: var(--font-base, "PT Sans", Arial, sans-serif); - font-size: 1.2em; + font-size: 1.2rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #767676; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #0C80A1; color: white; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #0C80A1; } .wp-block-quote { diff --git a/shawburn/style-rtl.css b/shawburn/style-rtl.css index 320edeb98c..2dfdfd27ca 100644 --- a/shawburn/style-rtl.css +++ b/shawburn/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Shawburn is the ideal choice for creating an online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.3.5 +Version: 1.3.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #EAEAEA; border-top-width: 2px; border-bottom-color: #EAEAEA; border-bottom-width: 2px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "PT Sans", Arial, sans-serif; font-family: var(--font-base, "PT Sans", Arial, sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #0C80A1; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #0C80A1; margin: 32px 0; @@ -3609,10 +3583,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3621,10 +3592,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3632,10 +3600,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3643,10 +3608,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3654,10 +3616,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3665,10 +3624,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/shawburn/style.css b/shawburn/style.css index 8c672d2157..32e03e890c 100644 --- a/shawburn/style.css +++ b/shawburn/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Shawburn is the ideal choice for creating an online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.3.5 +Version: 1.3.6 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #EAEAEA; border-top-width: 2px; border-bottom-color: #EAEAEA; border-bottom-width: 2px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "PT Sans", Arial, sans-serif; font-family: var(--font-base, "PT Sans", Arial, sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #0C80A1; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #0C80A1; margin: 32px 0; @@ -3628,10 +3602,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3640,10 +3611,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3651,10 +3619,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3662,10 +3627,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3673,10 +3635,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3684,10 +3643,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/stow/package-lock.json b/stow/package-lock.json index 0e8e2fd077..299752f8f4 100644 --- a/stow/package-lock.json +++ b/stow/package-lock.json @@ -1,6 +1,6 @@ { "name": "stow", - "version": "1.4.4", + "version": "1.4.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/stow/package.json b/stow/package.json index ed10c15594..f63ba8d32a 100755 --- a/stow/package.json +++ b/stow/package.json @@ -1,6 +1,6 @@ { "name": "stow", - "version": "1.4.4", + "version": "1.4.5", "description": "Stow", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/stow/sass/style-child-theme.scss b/stow/sass/style-child-theme.scss index 4596bfc811..37b0fe4bb6 100644 --- a/stow/sass/style-child-theme.scss +++ b/stow/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A bold and clean theme - Stow is the ideal choice for creating an online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/stow/style-editor.css b/stow/style-editor.css index 694f7bd806..5f336e1cdc 100644 --- a/stow/style-editor.css +++ b/stow/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Source Sans Pro", Arial, sans-serif; font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif); - font-size: 1.2em; + font-size: 1.2rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #767676; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #404040; color: white; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #404040; } .wp-block-quote { diff --git a/stow/style-rtl.css b/stow/style-rtl.css index 23cb919205..c90fb242e4 100644 --- a/stow/style-rtl.css +++ b/stow/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A bold and clean theme - Stow is the ideal choice for creating an online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Source Sans Pro", Arial, sans-serif; font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #404040; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #404040; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/stow/style.css b/stow/style.css index 0cf6bca798..a0a30517c6 100644 --- a/stow/style.css +++ b/stow/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: A bold and clean theme - Stow is the ideal choice for creating an online presence for your business. Requires at least: WordPress 4.9.6 -Version: 1.4.4 +Version: 1.4.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Source Sans Pro", Arial, sans-serif; font-family: var(--font-base, "Source Sans Pro", Arial, sans-serif); font-size: 1.2rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.2rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #404040; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #404040; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/stratford/package-lock.json b/stratford/package-lock.json index 8c20d151f1..171a3507be 100644 --- a/stratford/package-lock.json +++ b/stratford/package-lock.json @@ -1,6 +1,6 @@ { "name": "stratford", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/stratford/package.json b/stratford/package.json index e70a5a7368..8f6231b1f7 100755 --- a/stratford/package.json +++ b/stratford/package.json @@ -1,6 +1,6 @@ { "name": "stratford", - "version": "1.3.4", + "version": "1.3.5", "description": "Stratford", "bugs": { "url": "https://github.com/Automattic/themes/issues" diff --git a/stratford/sass/style-child-theme.scss b/stratford/sass/style-child-theme.scss index 8470ae2af7..d1bd7bd345 100644 --- a/stratford/sass/style-child-theme.scss +++ b/stratford/sass/style-child-theme.scss @@ -5,7 +5,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Stratford is the perfect design for your business or educational institutes online presence. Highlight your products and services, Stratford is versatile enough to be your personal blog too. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia diff --git a/stratford/style-editor.css b/stratford/style-editor.css index ce6339341f..58e87eacc3 100644 --- a/stratford/style-editor.css +++ b/stratford/style-editor.css @@ -837,32 +837,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #74767e; - /** - * Block Options - */ } -.wp-block-pullquote blockquote { - padding-left: 0; -} - -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Poppins", sans-serif; font-family: var(--font-headings, "Poppins", sans-serif); - font-size: 1.728em; + font-size: 1.728rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -871,42 +864,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #767676; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: #2c313f; color: white; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: #2c313f; } .wp-block-quote { diff --git a/stratford/style-rtl.css b/stratford/style-rtl.css index ff948d7c16..0992d480f2 100644 --- a/stratford/style-rtl.css +++ b/stratford/style-rtl.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Stratford is the perfect design for your business or educational institutes online presence. Highlight your products and services, Stratford is versatile enough to be your personal blog too. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #74767e; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Poppins", sans-serif; font-family: var(--font-headings, "Poppins", sans-serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #2c313f; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: #2c313f; margin: 32px 0; @@ -3610,10 +3584,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3622,10 +3593,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3633,10 +3601,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3644,10 +3609,7 @@ img#wpstats { } @media only screen and (min-width: 932px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 932px - 32px); @@ -3655,10 +3617,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 932px - 32px); @@ -3666,10 +3625,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 932px - 32px); diff --git a/stratford/style.css b/stratford/style.css index 6c66206368..7c858e2f70 100644 --- a/stratford/style.css +++ b/stratford/style.css @@ -6,7 +6,7 @@ Author: Automattic Author URI: https://automattic.com/ Description: Stratford is the perfect design for your business or educational institutes online presence. Highlight your products and services, Stratford is versatile enough to be your personal blog too. Requires at least: WordPress 4.9.6 -Version: 1.3.4 +Version: 1.3.5 License: GNU General Public License v2 or later License URI: LICENSE Template: varia @@ -2082,21 +2082,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #74767e; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: "Poppins", sans-serif; font-family: var(--font-headings, "Poppins", sans-serif); font-size: 1.728rem; @@ -2104,6 +2097,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2114,31 +2111,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2149,14 +2131,6 @@ p.has-background { background-color: #2c313f; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: #2c313f; margin: 32px 0; @@ -3629,10 +3603,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3641,10 +3612,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3652,10 +3620,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3663,10 +3628,7 @@ img#wpstats { } @media only screen and (min-width: 932px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 932px - 32px); @@ -3674,10 +3636,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 932px - 32px); @@ -3685,10 +3644,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 932px - 32px); diff --git a/varia/sass/blocks/pullquote/_editor.scss b/varia/sass/blocks/pullquote/_editor.scss index 0ba2a43059..18d9f8e394 100644 --- a/varia/sass/blocks/pullquote/_editor.scss +++ b/varia/sass/blocks/pullquote/_editor.scss @@ -1,77 +1 @@ -.wp-block-pullquote { - padding: calc( 3 * #{map-deep-get($config-global, "spacing", "unit")} ) 0; - margin-left: 0; - margin-right: 0; - text-align: center; - // Theme? - border-top-color: #{map-deep-get($config-pullquote, "color", "border")}; - border-top-width: #{map-deep-get($config-pullquote, "border", "width")}; - border-bottom-color: #{map-deep-get($config-pullquote, "color", "border")}; - border-bottom-width: #{map-deep-get($config-pullquote, "border", "width")}; - color: #{map-deep-get($config-global, "color", "foreground", "default")}; - - blockquote { - padding-left: 0; - } - - p { - @include font-family( map-deep-get($config-pullquote, "font", "family") ); - font-size: (strip-unit(map-deep-get($config-heading, "font", "size", "h4")) + 0em); - letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")}; - line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")}; - } - - a { - color: currentColor; - } - - .wp-block-pullquote__citation, - cite, - footer { - color: #{map-deep-get($config-global, "color", "foreground", "light")}; - font-size: (strip-unit(map-deep-get($config-global, "font", "size", "sm")) + 0em); - letter-spacing: #{map-deep-get($config-global, "font", "letter-spacing", "sm")}; - } - - /** - * Block Options - */ - &:not(.is-style-solid-color) { - background: none; - } - - &.is-style-solid-color { - - background-color: #{map-deep-get($config-pullquote, "color", "background")}; - color: #{map-deep-get($config-global, "color", "background", "default")}; - - &:not(.alignleft):not(.alignright) blockquote { - // max-width: calc( var(--global--width-content) - (2 * calc( var(--global--width-content) / 12 )) ); - } - - &.alignleft blockquote, - &.alignright blockquote { - padding-left: #{map-deep-get($config-global, "spacing", "unit")}; - padding-right: #{map-deep-get($config-global, "spacing", "unit")}; - max-width: inherit; - } - - blockquote { - padding-left: 0; - } - - .wp-block-pullquote__citation, - cite, - footer { - color: currentColor; - } - } - - &.alignwide > p, - &.alignfull > p, - &.alignwide blockquote, - &.alignfull blockquote { - margin-left: auto; - margin-right: auto; - } -} +@import '_style.scss'; diff --git a/varia/sass/blocks/pullquote/_style.scss b/varia/sass/blocks/pullquote/_style.scss index b574720170..73bb9487c2 100644 --- a/varia/sass/blocks/pullquote/_style.scss +++ b/varia/sass/blocks/pullquote/_style.scss @@ -1,21 +1,21 @@ .wp-block-pullquote { - padding: calc( 3 * #{map-deep-get($config-global, "spacing", "unit")} ) 0; - margin-left: 0; - margin-right: 0; - text-align: center; - // Theme? border-top-color: #{map-deep-get($config-pullquote, "color", "border")}; border-top-width: #{map-deep-get($config-pullquote, "border", "width")}; border-bottom-color: #{map-deep-get($config-pullquote, "color", "border")}; border-bottom-width: #{map-deep-get($config-pullquote, "border", "width")}; color: #{map-deep-get($config-global, "color", "foreground", "default")}; - p { + blockquote p { @include font-family( map-deep-get($config-pullquote, "font", "family") ); font-size: #{map-deep-get($config-heading, "font", "size", "h4")}; letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")}; line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")}; } + &.is-style-solid-color { + blockquote p { + font-size: #{map-deep-get($config-heading, "font", "size", "h4")}; + } + } a { color: currentColor; @@ -27,44 +27,15 @@ color: #{map-deep-get($config-global, "color", "foreground", "light")}; font-size: #{map-deep-get($config-global, "font", "size", "sm")}; letter-spacing: #{map-deep-get($config-global, "font", "letter-spacing", "sm")}; - display: block; - } - - /** - * Block Options - */ - &:not(.is-style-solid-color) { - background: none; - - blockquote { - padding-left: 0; - } } - &.is-style-default { - &.alignleft, - &.aligncenter, - &.alignright { - blockquote > * { - text-align: center; - } - } + blockquote { + padding-left: 0; } &.is-style-solid-color { - color: #{map-deep-get($config-global, "color", "background", "default")}; - &:not(.alignleft):not(.alignright) blockquote { - @extend %responsive-aligndefault; - } - - blockquote { - padding-left: #{map-deep-get($config-global, "spacing", "unit")}; - padding-right: #{map-deep-get($config-global, "spacing", "unit")}; - max-width: inherit; - } - .wp-block-pullquote__citation, cite, footer { @@ -75,13 +46,4 @@ background-color: #{map-deep-get($config-pullquote, "color", "background")}; } } - - &.alignwide > p, - &.alignfull > p, - &.alignwide blockquote, - &.alignfull blockquote { - margin-left: auto; - margin-right: auto; - @extend %responsive-aligndefault; - } } diff --git a/varia/style-editor.css b/varia/style-editor.css index aca7812a40..e2379e09e5 100644 --- a/varia/style-editor.css +++ b/varia/style-editor.css @@ -843,32 +843,25 @@ p.has-background:not(.has-background-background-color) a { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ -} - -.wp-block-pullquote blockquote { - padding-left: 0; } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: sans-serif; font-family: var(--font-headings, sans-serif); - font-size: 1.728em; + font-size: 1.728rem; letter-spacing: normal; line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -877,42 +870,26 @@ p.has-background:not(.has-background-background-color) a { .wp-block-pullquote cite, .wp-block-pullquote footer { color: #767676; - font-size: 0.83333em; + font-size: 0.83333rem; letter-spacing: normal; } -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; +.wp-block-pullquote blockquote { + padding-left: 0; } .wp-block-pullquote.is-style-solid-color { - background-color: blue; color: white; } -.wp-block-pullquote.is-style-solid-color.alignleft blockquote, -.wp-block-pullquote.is-style-solid-color.alignright blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 0; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { color: currentColor; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; +.wp-block-pullquote.is-style-solid-color:not(.has-background) { + background-color: blue; } .wp-block-quote { diff --git a/varia/style-rtl.css b/varia/style-rtl.css index f34af6128e..13b712f196 100644 --- a/varia/style-rtl.css +++ b/varia/style-rtl.css @@ -2115,21 +2115,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-right: 0; - margin-left: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: sans-serif; font-family: var(--font-headings, sans-serif); font-size: 1.728rem; @@ -2137,6 +2130,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2147,31 +2144,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-right: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-right: 16px; - padding-left: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2182,14 +2164,6 @@ p.has-background { background-color: blue; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-right: auto; - margin-left: auto; -} - .wp-block-quote { border-right-color: blue; margin: 32px 0; @@ -3643,10 +3617,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3655,10 +3626,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3666,10 +3634,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3677,10 +3642,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3688,10 +3650,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3699,10 +3658,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); diff --git a/varia/style.css b/varia/style.css index a9de2edf9a..61fb0d1f01 100644 --- a/varia/style.css +++ b/varia/style.css @@ -2115,21 +2115,14 @@ p.has-background { } .wp-block-pullquote { - padding: calc( 3 * 16px) 0; - margin-left: 0; - margin-right: 0; - text-align: center; border-top-color: #DDDDDD; border-top-width: 4px; border-bottom-color: #DDDDDD; border-bottom-width: 4px; color: #444444; - /** - * Block Options - */ } -.wp-block-pullquote p { +.wp-block-pullquote blockquote p { font-family: sans-serif; font-family: var(--font-headings, sans-serif); font-size: 1.728rem; @@ -2137,6 +2130,10 @@ p.has-background { line-height: 1.125; } +.wp-block-pullquote.is-style-solid-color blockquote p { + font-size: 1.728rem; +} + .wp-block-pullquote a { color: currentColor; } @@ -2147,31 +2144,16 @@ p.has-background { color: #767676; font-size: 0.83333rem; letter-spacing: normal; - display: block; -} - -.wp-block-pullquote:not(.is-style-solid-color) { - background: none; } -.wp-block-pullquote:not(.is-style-solid-color) blockquote { +.wp-block-pullquote blockquote { padding-left: 0; } -.wp-block-pullquote.is-style-default.alignleft blockquote > *, .wp-block-pullquote.is-style-default.aligncenter blockquote > *, .wp-block-pullquote.is-style-default.alignright blockquote > * { - text-align: center; -} - .wp-block-pullquote.is-style-solid-color { color: white; } -.wp-block-pullquote.is-style-solid-color blockquote { - padding-left: 16px; - padding-right: 16px; - max-width: inherit; -} - .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation, .wp-block-pullquote.is-style-solid-color cite, .wp-block-pullquote.is-style-solid-color footer { @@ -2182,14 +2164,6 @@ p.has-background { background-color: blue; } -.wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote { - margin-left: auto; - margin-right: auto; -} - .wp-block-quote { border-left-color: blue; margin: 32px 0; @@ -3662,10 +3636,7 @@ img#wpstats { * Page Layout Styles & Repsonsive Styles */ /* Responsive width-content overrides */ -.responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, -.wp-block-pullquote.alignfull > p, -.wp-block-pullquote.alignwide blockquote, -.wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), +.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: 100%; @@ -3674,10 +3645,7 @@ img#wpstats { } @media only screen and (min-width: 560px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 560px - 32px); @@ -3685,10 +3653,7 @@ img#wpstats { } @media only screen and (min-width: 640px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 640px - 32px); @@ -3696,10 +3661,7 @@ img#wpstats { } @media only screen and (min-width: 782px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3707,10 +3669,7 @@ img#wpstats { } @media only screen and (min-width: 1024px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px); @@ -3718,10 +3677,7 @@ img#wpstats { } @media only screen and (min-width: 1280px) { - .responsive-max-width, .entry-content > .wp-block-button.aligncenter, .wp-block-pullquote.is-style-solid-color:not(.alignleft):not(.alignright) blockquote, .wp-block-pullquote.alignwide > p, - .wp-block-pullquote.alignfull > p, - .wp-block-pullquote.alignwide blockquote, - .wp-block-pullquote.alignfull blockquote, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), + .responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination { max-width: calc( 782px - 32px);