Blockbase: refactor template part blocks (#5129)

* Update Blockbase template part blocks

* Update Arbutus template part blocks

* Update Geologist template part blocks

* Update Payton template part blocks

* Update Russell template part blocks

* Update Seedlet Blocks template part blocks

* Update Skatepark template part blocks

* Update Videomaker template part blocks

* Update Zoologist template part blocks

* Remove zero margin

* Remove reference to Blockbase

* Remove zero margin from all themes

* Move align setting to group block

* absorb group into the footer block

* remove layout from header footer only template

* remove wrappers from russell

* Move layout settings to footer template part for Seedlet Blocks

* Remove footer wrapper for Skatepark

* Remove wrapper from post-meta-icons

* Fix Mayland Blocks post meta icons spacing

* remmove space

Co-authored-by: Ben Dwyer <ben@scruffian.com>
This commit is contained in:
Sarah Norris 2021-12-06 15:20:15 +00:00 committed by GitHub
parent 1890979f74
commit 7f238fa11a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 104 additions and 84 deletions

View file

@ -7,4 +7,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":false},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -8,7 +8,7 @@
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-featured-image {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":40} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
@ -29,4 +29,4 @@
</main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":false},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -10,4 +10,4 @@
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container","layout":{"inherit":false}} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -9,7 +9,8 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /--></main>
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
</main>
<!-- /wp:group -->
<!-- wp:group {"layout":{"inherit":true}} -->
@ -20,4 +21,4 @@
<!-- wp:post-comments /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container","layout":{"inherit":false}} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,3 +1,5 @@
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","right":"0px","bottom":"30px","left":"0px"}}}} -->
<div class="wp-block-group" style="padding-top:80px;padding-right:0px;padding-bottom:30px;padding-left:0px">
<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} -->
@ -5,3 +7,5 @@
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -1,3 +1,5 @@
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:group {"className":"post-meta","layout":{"type":"flex"}} -->
<div class="wp-block-group post-meta">
<!-- wp:post-author {"showAvatar":false,"showBio":false,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}},"className":"is-style-post-author-icon"} /-->
@ -6,3 +8,5 @@
<!-- wp:post-terms {"term": "post_tag","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}},"className":"is-style-post-tag-icon"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -7,4 +7,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,3 +1,3 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -7,4 +7,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -8,7 +8,7 @@
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-featured-image {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":40} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -19,4 +19,4 @@
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -17,4 +17,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -12,7 +12,7 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
</main>
<!-- /wp:group -->
@ -25,4 +25,4 @@
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -8,7 +8,7 @@
<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"left", "style":{"spacing":{"margin":{"bottom":"calc(2 * var(--wp--style--block-gap))"}}}} /-->
<!-- wp:post-featured-image {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":120} -->
<div style="height:120px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -12,7 +12,7 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":150} -->
<div style="height:150px" aria-hidden="true" class="wp-block-spacer"></div>

View file

@ -10,8 +10,11 @@
<!-- wp:post-excerpt /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"20px"}}}} -->
<div class="wp-block-group" style="margin-top:20px;">
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
</div>
<!-- /wp:group -->
<!-- wp:spacer -->
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -7,4 +7,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -7,4 +7,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -8,7 +8,7 @@
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-featured-image {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":40} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
@ -29,4 +29,4 @@
</main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -19,4 +19,4 @@
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -17,4 +17,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -12,7 +12,7 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
</main>
<!-- /wp:group -->
@ -25,4 +25,4 @@
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,3 +1,5 @@
<!-- wp:group {"layout":{"inherit":true},"align":"full"} -->
<div class="wp-block-group">
<!-- wp:spacer {"height":30} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
@ -17,3 +19,5 @@
<!-- wp:spacer {"height":30} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</div>
<!-- /wp:group -->

View file

@ -9,7 +9,7 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":60} -->
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
@ -18,4 +18,4 @@
</main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container","align":"full"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -6,7 +6,7 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:group {"className":"author-bio","layout":{"inherit":true}} -->
<div class="wp-block-group author-bio"><!-- wp:post-author {"showAvatar":false,"showBio":true,"byline":"Published by","fontSize":"huge"} /-->
@ -37,4 +37,4 @@
<!-- /wp:columns --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,3 +1,5 @@
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:pattern {"slug":"skatepark/pre-footer"} /-->
<!-- wp:group {"className":"site-footer","style":{"spacing":{"padding":{"bottom":"30px"}}}} -->
@ -9,3 +11,5 @@
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -11,4 +11,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -31,4 +31,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -20,4 +20,4 @@
<div class="wp-block-group"><!-- wp:post-comments /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -24,4 +24,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -50,4 +50,4 @@
<!-- wp:pattern {"slug":"skatepark/post-navigation-labeled"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header"} /-->
<!-- wp:spacer {"height":170} -->
<div style="height:170px" aria-hidden="true" class="wp-block-spacer"></div>
@ -11,4 +11,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var(--wp--custom--gap--vertical)"}}}} -->
<main class="wp-block-group" style="margin-top: var(--wp--custom--gap--vertical)">
@ -7,4 +7,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header"} /-->
<!-- wp:spacer {"height":170} -->
<div style="height:170px" aria-hidden="true" class="wp-block-spacer"></div>
@ -39,4 +39,4 @@
</main>
<!-- /wp:query -->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header"} /-->
<!-- wp:spacer {"height":170} -->
<div style="height:170px" aria-hidden="true" class="wp-block-spacer"></div>
@ -39,4 +39,4 @@
</div>
<!-- /wp:group -->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header"} /-->
<!-- wp:spacer {"height":170} -->
<div style="height:170px" aria-hidden="true" class="wp-block-spacer"></div>
@ -21,4 +21,4 @@
</main>
<!-- /wp:group -->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,4 +1,4 @@
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header","layout":{"inherit":true}} /-->
<!-- wp:template-part {"area":"header","slug":"header","tagName":"header"} /-->
<!-- wp:spacer {"height":170} -->
<div style="height:170px" aria-hidden="true" class="wp-block-spacer"></div>
@ -51,4 +51,4 @@
</div>
<!-- /wp:group -->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","layout":{"inherit":true},"className":"site-footer-container"} /-->
<!-- wp:template-part {"area":"footer","slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -8,7 +8,7 @@
<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"left", "style":{"spacing":{"margin":{"bottom":"calc(2 * var(--wp--style--block-gap))"}}}} /-->
<!-- wp:post-featured-image {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":120} -->
<div style="height:120px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -12,7 +12,7 @@
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons","layout":{"inherit":true}} /-->
<!-- wp:template-part {"slug":"post-meta-icons"} /-->
<!-- wp:spacer {"height":150} -->
<div style="height:150px" aria-hidden="true" class="wp-block-spacer"></div>