diff --git a/assets/css/blocks/block-library/_mixins.scss b/assets/css/blocks/block-library/_mixins.scss index bce11c94..0d602338 100644 --- a/assets/css/blocks/block-library/_mixins.scss +++ b/assets/css/blocks/block-library/_mixins.scss @@ -480,8 +480,12 @@ border-radius: $radius-round; &:checked::before { - margin: 3px 0 0 3px; + margin: 6px 0 0 6px; background-color: $white; + + @include break-medium() { + margin: 3px 0 0 3px; + } } } diff --git a/assets/css/blocks/block-library/_z-index.scss b/assets/css/blocks/block-library/_z-index.scss index 86ab07f3..3c8b921b 100644 --- a/assets/css/blocks/block-library/_z-index.scss +++ b/assets/css/blocks/block-library/_z-index.scss @@ -99,7 +99,11 @@ $z-layers: ( ".nux-dot-tip": 1000001, // Show tooltips above NUX tips, wp-admin menus, submenus, and sidebar: - ".components-tooltip": 1000002 + ".components-tooltip": 1000002, + + // Make sure corner handles are above side handles for ResizableBox component + ".components-resizable-box__side-handle": 1, + ".components-resizable-box__corner-handle": 2 ); @function z-index( $key ) { diff --git a/assets/css/blocks/block-library/columns/style.scss b/assets/css/blocks/block-library/columns/style.scss index e3774807..2cc0cf0e 100644 --- a/assets/css/blocks/block-library/columns/style.scss +++ b/assets/css/blocks/block-library/columns/style.scss @@ -10,6 +10,7 @@ } .wp-block-column { + margin-bottom: 1em; flex-grow: 1; // Responsiveness: Show at most one columns on mobile. @@ -44,14 +45,6 @@ } } -// Specificity overide to ensure margin is applied -// and preserved on last child to ensure that when columns -// are aligned to bottom they are are flush with each other -.wp-block-column, -.entry-content > .wp-block-columns .wp-block-column:last-child { - margin-bottom: 1em; -} - /** * All Columns Alignment */ diff --git a/assets/css/blocks/block-library/gallery/style.scss b/assets/css/blocks/block-library/gallery/style.scss index 2557f727..df60d6fd 100644 --- a/assets/css/blocks/block-library/gallery/style.scss +++ b/assets/css/blocks/block-library/gallery/style.scss @@ -126,14 +126,6 @@ margin-right: 0; } - // Make the "Add new Gallery item" button full-width (so it always appears - // below other items). - .blocks-gallery-item { - &.has-add-item-button { - width: 100%; - } - } - // Apply max-width to floated items that have no intrinsic width. &.alignleft, &.alignright { diff --git a/assets/css/blocks/block-library/readme.md b/assets/css/blocks/block-library/readme.md index ac88048b..5a9c50b3 100644 --- a/assets/css/blocks/block-library/readme.md +++ b/assets/css/blocks/block-library/readme.md @@ -1,5 +1,5 @@ This folder contains styles for editor blocks. These styles were copied from the Gutenberg project, and then tweaked to remove duplicates and optimize them for use in the Gridd theme. -Blocks styles copied from https://github.com/WordPress/gutenberg/tree/8260725431021238aa9ab50d6dbd821384dd6c51/packages/block-library/src -Variables, mixins etc copied from https://github.com/WordPress/gutenberg/tree/8260725431021238aa9ab50d6dbd821384dd6c51/assets/stylesheets +Blocks styles copied from https://github.com/WordPress/gutenberg/tree/a64a98d6ce5fc94edf6770e336a17314bff80dab/packages/block-library/src +Variables, mixins etc copied from https://github.com/WordPress/gutenberg/tree/a64a98d6ce5fc94edf6770e336a17314bff80dab/assets/stylesheets diff --git a/assets/css/blocks/block-library/rss/style.scss b/assets/css/blocks/block-library/rss/style.scss index a2ad8d40..14bae6e8 100644 --- a/assets/css/blocks/block-library/rss/style.scss +++ b/assets/css/blocks/block-library/rss/style.scss @@ -30,6 +30,7 @@ .wp-block-rss__item-publish-date, .wp-block-rss__item-author { + display: block; color: $dark-gray-300; font-size: $default-font-size; } diff --git a/assets/css/blocks/columns.css b/assets/css/blocks/columns.css index 40169dc2..ab728187 100644 --- a/assets/css/blocks/columns.css +++ b/assets/css/blocks/columns.css @@ -77,6 +77,7 @@ flex-wrap: nowrap; } } .wp-block-column { + margin-bottom: 1em; flex-grow: 1; flex-basis: 100%; min-width: 0; @@ -92,10 +93,6 @@ .wp-block-column:not(:first-child) { margin-left: 32px; } } -.wp-block-column, -.entry-content > .wp-block-columns .wp-block-column:last-child { - margin-bottom: 1em; } - /** * All Columns Alignment */ diff --git a/assets/css/blocks/columns.min.css b/assets/css/blocks/columns.min.css index bbadfe5c..d5c9791b 100644 --- a/assets/css/blocks/columns.min.css +++ b/assets/css/blocks/columns.min.css @@ -1 +1 @@ -.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{flex-grow:1;flex-basis:100%;min-width:0;word-break:break-word;word-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(even){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.entry-content>.wp-block-columns .wp-block-column:last-child,.wp-block-column{margin-bottom:1em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-columns.alignfull{padding-left:var(--gridd-content-padding-left);padding-right:var(--gridd-content-padding-right)}.wp-block-columns .wp-block-column{margin:0;padding:1em}.site-main .entry-content>.wp-block-columns:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright){max-width:calc(var(--gridd-content-max-width-calculated) + 2em)} \ No newline at end of file +.wp-block-columns{display:flex;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-column{margin-bottom:1em;flex-grow:1;flex-basis:100%;min-width:0;word-break:break-word;word-wrap:break-word}@media (min-width:600px){.wp-block-column{flex-basis:calc(50% - 16px);flex-grow:0}.wp-block-column:nth-child(even){margin-left:32px}}@media (min-width:782px){.wp-block-column:not(:first-child){margin-left:32px}}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-columns.alignfull{padding-left:var(--gridd-content-padding-left);padding-right:var(--gridd-content-padding-right)}.wp-block-columns .wp-block-column{margin:0;padding:1em}.site-main .entry-content>.wp-block-columns:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright){max-width:calc(var(--gridd-content-max-width-calculated) + 2em)} \ No newline at end of file diff --git a/assets/css/blocks/gallery.css b/assets/css/blocks/gallery.css index 9dd07109..a0449b24 100644 --- a/assets/css/blocks/gallery.css +++ b/assets/css/blocks/gallery.css @@ -194,8 +194,6 @@ .wp-block-gallery .blocks-gallery-image:last-child, .wp-block-gallery .blocks-gallery-item:last-child { margin-right: 0; } - .wp-block-gallery .blocks-gallery-item.has-add-item-button { - width: 100%; } .wp-block-gallery.alignleft, .wp-block-gallery.alignright { max-width: 305px; width: 100%; } diff --git a/assets/css/blocks/gallery.min.css b/assets/css/blocks/gallery.min.css index 652b9a4f..0bce9ea0 100644 --- a/assets/css/blocks/gallery.min.css +++ b/assets/css/blocks/gallery.min.css @@ -1 +1 @@ -.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:1em;background:linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,.3) 70%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc(50% - 8px)}.wp-block-gallery .blocks-gallery-image:nth-of-type(even),.wp-block-gallery .blocks-gallery-item:nth-of-type(even){margin-right:0}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - 10.66667px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - 11.66667px)}}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - 12px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - 13px)}}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - 12.8px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - 13.8px)}}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - 13.33333px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - 14.33333px)}}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - 13.71429px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - 14.71429px)}}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - 14px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - 15px)}}.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.wp-block-gallery .blocks-gallery-item.has-add-item-button{width:100%}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{padding:1.5em .5em;font-size:1em}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:calc(var(--gridd-content-max-width-calculated)/ 2)} \ No newline at end of file +.wp-block-gallery{display:flex;flex-wrap:wrap;list-style-type:none;padding:0}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{margin:0 16px 16px 0;display:flex;flex-grow:1;flex-direction:column;justify-content:center;position:relative}.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{margin:0;height:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image figure,.wp-block-gallery .blocks-gallery-item figure{display:flex;align-items:flex-end;justify-content:flex-start}}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{display:block;max-width:100%;height:auto}.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery .blocks-gallery-image img,.wp-block-gallery .blocks-gallery-item img{width:auto}}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{position:absolute;bottom:0;width:100%;max-height:100%;overflow:auto;padding:40px 10px 9px;color:#fff;text-align:center;font-size:1em;background:linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,.3) 70%,transparent)}.wp-block-gallery .blocks-gallery-image figcaption img,.wp-block-gallery .blocks-gallery-item figcaption img{display:inline}.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{width:100%}@supports ((position:-webkit-sticky) or (position:sticky)){.wp-block-gallery.is-cropped .blocks-gallery-image a,.wp-block-gallery.is-cropped .blocks-gallery-image img,.wp-block-gallery.is-cropped .blocks-gallery-item a,.wp-block-gallery.is-cropped .blocks-gallery-item img{height:100%;flex:1;-o-object-fit:cover;object-fit:cover}}.wp-block-gallery .blocks-gallery-image,.wp-block-gallery .blocks-gallery-item{width:calc(50% - 8px)}.wp-block-gallery .blocks-gallery-image:nth-of-type(even),.wp-block-gallery .blocks-gallery-item:nth-of-type(even){margin-right:0}.wp-block-gallery.columns-1 .blocks-gallery-image,.wp-block-gallery.columns-1 .blocks-gallery-item{width:100%;margin-right:0}@media (min-width:600px){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - 10.66667px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-3 .blocks-gallery-image,.wp-block-gallery.columns-3 .blocks-gallery-item{width:calc(33.33333% - 11.66667px)}}.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - 12px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-4 .blocks-gallery-image,.wp-block-gallery.columns-4 .blocks-gallery-item{width:calc(25% - 13px)}}.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - 12.8px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-5 .blocks-gallery-image,.wp-block-gallery.columns-5 .blocks-gallery-item{width:calc(20% - 13.8px)}}.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - 13.33333px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-6 .blocks-gallery-image,.wp-block-gallery.columns-6 .blocks-gallery-item{width:calc(16.66667% - 14.33333px)}}.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - 13.71429px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-7 .blocks-gallery-image,.wp-block-gallery.columns-7 .blocks-gallery-item{width:calc(14.28571% - 14.71429px)}}.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - 14px);margin-right:16px}@supports (-ms-ime-align:auto){.wp-block-gallery.columns-8 .blocks-gallery-image,.wp-block-gallery.columns-8 .blocks-gallery-item{width:calc(12.5% - 15px)}}.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.wp-block-gallery .blocks-gallery-image:last-child,.wp-block-gallery .blocks-gallery-item:last-child{margin-right:0}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:305px;width:100%}.wp-block-gallery.aligncenter,.wp-block-gallery.alignleft,.wp-block-gallery.alignright{display:flex}.wp-block-gallery.aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery .blocks-gallery-image figcaption,.wp-block-gallery .blocks-gallery-item figcaption{padding:1.5em .5em;font-size:1em}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{max-width:calc(var(--gridd-content-max-width-calculated)/ 2)} \ No newline at end of file diff --git a/assets/css/blocks/rss.css b/assets/css/blocks/rss.css index 4769385e..26fb922d 100644 --- a/assets/css/blocks/rss.css +++ b/assets/css/blocks/rss.css @@ -97,6 +97,7 @@ .wp-block-rss__item-publish-date, .wp-block-rss__item-author { + display: block; color: #6c7781; font-size: 1em; } diff --git a/assets/css/blocks/rss.min.css b/assets/css/blocks/rss.min.css index 66c8b27d..a646ddd7 100644 --- a/assets/css/blocks/rss.min.css +++ b/assets/css/blocks/rss.min.css @@ -1 +1 @@ -.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{color:#6c7781;font-size:1em}.wp-block-rss.is-grid li{margin:0 1em 1em 0}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 1em)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}.wp-block-rss.columns-4 li{width:calc(25% - 1em)}.wp-block-rss.columns-5 li{width:calc(20% - 1em)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{font-size:1em} \ No newline at end of file +.wp-block-rss.alignleft{margin-right:2em}.wp-block-rss.alignright{margin-left:2em}.wp-block-rss.is-grid{display:flex;flex-wrap:wrap;padding:0;list-style:none}.wp-block-rss.is-grid li{margin:0 16px 16px 0;width:100%}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 16px)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 16px)}.wp-block-rss.columns-4 li{width:calc(25% - 16px)}.wp-block-rss.columns-5 li{width:calc(20% - 16px)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 16px)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{display:block;color:#6c7781;font-size:1em}.wp-block-rss.is-grid li{margin:0 1em 1em 0}@media (min-width:600px){.wp-block-rss.columns-2 li{width:calc(50% - 1em)}.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}.wp-block-rss.columns-4 li{width:calc(25% - 1em)}.wp-block-rss.columns-5 li{width:calc(20% - 1em)}.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}}.wp-block-rss__item-author,.wp-block-rss__item-publish-date{font-size:1em} \ No newline at end of file diff --git a/languages/gridd.pot b/languages/gridd.pot index 4f563a8a..f312921c 100644 --- a/languages/gridd.pot +++ b/languages/gridd.pot @@ -2,9 +2,9 @@ # This file is distributed under the GNU General Public License v2.0 or later.=!> msgid "" msgstr "" -"Project-Id-Version: Gridd 1.0.7\n" +"Project-Id-Version: Gridd 1.0.8\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/gridd\n" -"POT-Creation-Date: 2019-03-23 14:52:35+00:00\n" +"POT-Creation-Date: 2019-04-02 19:51:31+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -169,7 +169,7 @@ msgstr "" #: grid-parts/customizer/header-social-media.php:95 #: grid-parts/customizer/navigation.php:112 #: grid-parts/customizer/reusable-block.php:80 -#: grid-parts/customizer/sidebar.php:128 +#: grid-parts/customizer/sidebar.php:129 msgid "Padding" msgstr "" @@ -233,7 +233,7 @@ msgstr "" #: grid-parts/customizer/header.php:109 #: grid-parts/customizer/navigation.php:124 #: grid-parts/customizer/reusable-block.php:92 -#: grid-parts/customizer/sidebar.php:68 +#: grid-parts/customizer/sidebar.php:69 #: inc/kirki/controls/php/class-kirki-control-background.php:48 msgid "Background Color" msgstr "" @@ -244,7 +244,7 @@ msgstr "" #: grid-parts/customizer/header-contact-info.php:68 #: grid-parts/customizer/header-search.php:82 #: grid-parts/customizer/reusable-block.php:113 -#: grid-parts/customizer/sidebar.php:88 inc/customizer/features.php:140 +#: grid-parts/customizer/sidebar.php:89 inc/customizer/features.php:140 #: inc/customizer/typography.php:114 msgid "Text Color" msgstr "" @@ -348,7 +348,7 @@ msgstr "" #: grid-parts/customizer/footer-sidebars.php:90 #: grid-parts/customizer/reusable-block.php:127 -#: grid-parts/customizer/sidebar.php:106 inc/customizer/typography.php:132 +#: grid-parts/customizer/sidebar.php:107 inc/customizer/typography.php:132 msgid "Links Color" msgstr "" @@ -936,7 +936,7 @@ msgid " Manage reusable blocks" msgstr "" #: grid-parts/customizer/reusable-block.php:114 -#: grid-parts/customizer/sidebar.php:89 inc/customizer/features.php:141 +#: grid-parts/customizer/sidebar.php:90 inc/customizer/features.php:141 #: inc/customizer/typography.php:115 msgid "" "Select the color used for your text. Please choose a color with sufficient " @@ -944,7 +944,7 @@ msgid "" msgstr "" #: grid-parts/customizer/reusable-block.php:128 -#: grid-parts/customizer/sidebar.php:107 +#: grid-parts/customizer/sidebar.php:108 msgid "" "Select the color used for your links. Please choose a color with sufficient " "contrast with the selected background-color." @@ -955,26 +955,32 @@ msgstr "" msgid "%s Advanced Options" msgstr "" -#: grid-parts/customizer/sidebar.php:60 +#: grid-parts/customizer/sidebar.php:44 +msgid "" +"Visibility Options: Choose specific post-IDs or category/tag/term IDs to " +"show this grid-part" +msgstr "" + +#: grid-parts/customizer/sidebar.php:61 msgid "Click here to edit your widgets" msgstr "" -#: grid-parts/customizer/sidebar.php:69 +#: grid-parts/customizer/sidebar.php:70 msgid "Select the background color for this area" msgstr "" -#: grid-parts/customizer/sidebar.php:129 +#: grid-parts/customizer/sidebar.php:130 msgid "" "The padding for this area. For details on how padding works, please refer " "to this article." msgstr "" -#: grid-parts/customizer/sidebar.php:142 +#: grid-parts/customizer/sidebar.php:143 msgid "Margin between widgets" msgstr "" -#: grid-parts/customizer/sidebar.php:143 +#: grid-parts/customizer/sidebar.php:144 msgid "Changes the spacing between widgets in this widget-area." msgstr "" @@ -995,7 +1001,7 @@ msgstr "" msgid "Please assign a menu to the \"Navigation %d\" menu." msgstr "" -#: header.php:33 +#: header.php:34 msgid "Skip to content" msgstr ""