Creatio: Bulk fixes (#7237)

* Update style.css

Remove blockGap between header/sections/footer for Pattern Assembler.

* Update footer.php

Update footer pattern - remove the space at the bottom.

* Update index.html

Add top padding to content in index template (required after removing gaps between header/content/footer, but also it felt a bit tight).

* Update single.html

Change the layout setting on the post content to all full-width/wide blocks inside post/page content.

* Update style.css

Update the theme meta info.

* Update readme.txt

Update the theme meta info.
This commit is contained in:
alaczek 2023-07-14 11:27:02 +10:00 committed by GitHub
parent a3c0739e21
commit ce127931f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 30 deletions

View file

@ -27,8 +27,4 @@
</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:group -->

View file

@ -1,7 +1,7 @@
=== Creatio ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.2.3
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@ -12,10 +12,7 @@ Creatio is a simple, minimal theme that supports full-site editing and global st
== Changelog ==
= 0.0.2 =
* Update Creatio (#7229)
= 0.0.1 =
= 1.0.0 =
* Initial release
== Copyright ==
@ -34,8 +31,6 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
This theme bundles the following third-party resources:
Inter Font
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
@ -49,14 +44,3 @@ This Font Software is licensed under the SIL Open Font License, Version 1.1. Thi
License URL: http://scripts.sil.org/OFL
Source: https://github.com/googlefonts/literata
-- End of Literata Font credits --
Image by Thought Catalog
https://www.pexels.com/photo/three-assorted-colored-books-2228546/
Image by Victor Freitas
https://www.pexels.com/photo/person-in-black-shorts-and-pink-sneakers-lying-on-floor-2261486/
Image by Brando.ltd
https://www.pexels.com/photo/a-person-holding-black-smartphone-9878730/
Included in theme screenshot and in a front page template.

View file

@ -4,14 +4,14 @@ Theme URI: https://wordpress.com/theme/creatio
Author: Automattic
Author URI: https://automattic.com/
Description: Creatio is a simple, minimal theme that supports full-site editing and global styles. Use it to build something beautiful.
Requires at least: 6.0
Tested up to: 6.2.3
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.7
Version: 0.0.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creatio
Tags: blog, news, portfolio, one-column, three-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready, shawburn
Tags: blog, news, one-column, three-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready
*/
/*
@ -55,4 +55,21 @@ Tags: blog, news, portfolio, one-column, three-columns, wide-blocks, block-patte
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}
/**
* Remove blockGap between header/sections/footer for Pattern Assembler.
* See https://github.com/Automattic/wp-calypso/issues/78097 for reference.
*/
/* Remove the gap from the editor. */
.editor-styles-wrapper :where(.wp-site-blocks) > * {
margin-block-start: 0;
margin-block-end: 0;
}
/* Remove the gap from the front-end. */
:where(.wp-site-blocks) > * {
margin-block-start: 0;
margin-block-end: 0;
}

View file

@ -1,6 +1,9 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"4vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:4vw">
<!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","displayLayout":{"type":"flex","columns":3},"layout":{"type":"constrained","wideSize":"1200px"}} -->
<main class="wp-block-query"><!-- wp:post-template -->
<!-- wp:group -->
@ -33,6 +36,7 @@
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /-->

View file

@ -10,7 +10,7 @@
<!-- wp:post-featured-image /-->
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"40px","right":"40px","bottom":"40px","top":"40px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-top:40px;padding-right:40px;padding-bottom:40px;padding-left:40px"><!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"default"}} /--></div>
<div class="wp-block-group alignfull" style="padding-top:40px;padding-right:40px;padding-bottom:40px;padding-left:40px"><!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} /--></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"40px"} -->