forked from WordPress/community-themes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes the two first tasks on issue WordPress#126
- Loading branch information
1 parent
49b35be
commit 0823a4a
Showing
10 changed files
with
969 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
<!-- wp:group {"style":{"border":{"top":{"color":"#f2f2f2","width":"1px"},"right":[],"bottom":[],"left":[]}},"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group" style="border-top-color:#f2f2f2;border-top-width:1px"><!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","bottom":"30px"}}}} --> | ||
<div class="wp-block-group" style="padding-top:80px;padding-bottom:30px"><!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
<!-- wp:group {"style":{"border":{"top":{"color":"var:preset|color|custom-gray-lightest","width":"var:custom|border|light"},"right":[],"bottom":[],"left":[]}},"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div | ||
class="wp-block-group" | ||
style=" | ||
border-top-color: var(--wp--preset--color--custom-gray-lightest); | ||
border-top-width: var(--wp--custom--border--light); | ||
" | ||
> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:custom|padding|80","bottom":"var:custom|padding|30"}}}} --> | ||
<div class="wp-block-group" style="padding-top: var(--wp--custom--padding--80); padding-bottom: var(--wp--custom--padding--30)"> | ||
<!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center"> | ||
Proudly Powered by | ||
<a href="https://wordpress.org" rel="nofollow">WordPress</a> | ||
</p> | ||
<!-- /wp:paragraph --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"},"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"bottom":{"style":"none","width":"0px"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="border-bottom-style:none;border-bottom-width:0px;margin-top:var(--wp--preset--spacing--40);padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} --> | ||
<div class="wp-block-group"><!-- wp:site-title /--> | ||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"},"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"bottom":{"style":"var:custom|border|style|none","width":"var:custom|spacing|none"}}},"layout":{"type":"constrained"}} --> | ||
<div | ||
class="wp-block-group" | ||
style=" | ||
border-bottom-style: var(--wp--custom--border--style--none); | ||
border-bottom-width: var(--wp--custom--spacing--none); | ||
margin-top: var(--wp--preset--spacing--40); | ||
padding-top: var(--wp--preset--spacing--40); | ||
padding-right: var(--wp--preset--spacing--40); | ||
padding-bottom: var(--wp--preset--spacing--40); | ||
padding-left: var(--wp--preset--spacing--40); | ||
" | ||
> | ||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:site-title /--> | ||
|
||
<!-- wp:site-tagline /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- wp:site-tagline /--> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:spacer {"height":"50px"} --> | ||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
<div style="height: 50px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
<!-- wp:group {"style":{"position":{"type":""},"layout":{"selfStretch":"fixed","flexSize":"25%"},"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search posts","widthUnit":"%","buttonText":"Search","buttonPosition":"no-button","style":{"layout":{"selfStretch":"fit","flexSize":null},"border":{"radius":"10px","width":"1px"}},"borderColor":"custom-gray-light"} /--> | ||
|
||
<!-- wp:tag-cloud {"showTagCounts":true} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:pattern {"slug":"purr/right-sidebar"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
<?php | ||
|
||
/** | ||
* Title: Left Sidebar | ||
* Slug: purr/left-sidebar | ||
* Categories: sidebar | ||
*/ | ||
?> | ||
<!-- wp:group {"style":{"position":{"type":""},"layout":{"selfStretch":"fixed","flexSize":"25%"},"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"0"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:0"><!-- wp:site-logo {"width":94,"className":"is-style-rounded"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:group {"style":{"layout":{"selfStretch":"fixed","flexSize":"var:preset|custom|sidebar|width"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40)"> | ||
<!-- wp:site-logo {"className":"is-style-rounded"} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:heading --> | ||
<h2 class="wp-block-heading"><?php esc_html_e( 'About', 'purr' ); ?></h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:heading --> | ||
<h2 class="wp-block-heading"><?php esc_html_e('About', 'purr'); ?></h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p><?php esc_html_e( 'Purr is a theme for status updates.', 'purr' ); ?></p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:paragraph --> | ||
<p><?php esc_html_e('Purr is a theme for status updates.', 'purr'); ?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:archives {"showPostCounts":true} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:archives {"showPostCounts":true} /--> | ||
</div> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
/** | ||
* Title: Right Sidebar | ||
* Slug: purr/right-sidebar | ||
* Categories: sidebar | ||
*/ | ||
?> | ||
<!-- wp:group {"style":{"position":{"type":""},"layout":{"selfStretch":"fixed","flexSize":"var:preset|custom|sidebar|width"}},"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search posts","widthUnit":"%","buttonText":"Search","buttonPosition":"no-button","style":{"layout":{"selfStretch":"fit","flexSize":null},"border":{"radius":"var(--wp--custom--border--radius--low-rounded)","width":"var(--wp--custom--border--light)"}},"borderColor":"var:preset|color|custom-gray-light"} /--> | ||
|
||
<!-- wp:tag-cloud {"showTagCounts":true} /--> | ||
</div> | ||
<!-- /wp:group --> |
Oops, something went wrong.