Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions covr/parts/header.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","bottom":"0px","right":"4vw","left":"4vw"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:0px;padding-right:4vw;padding-bottom:0px;padding-left:4vw"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"20px","top":"20px","right":"0px","left":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"nowrap"}} -->
<div class="wp-block-group alignwide" style="padding-top:20px;padding-right:0px;padding-bottom:20px;padding-left:0px"><!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
<div class="wp-block-group alignwide" style="padding-top:20px;padding-right:0px;padding-bottom:20px;padding-left:0px"><!-- wp:group {"style":{"spacing":{"blockGap":"2em"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->

<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"}} /--></div>
<!-- /wp:group --></div>
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"horizontal"},"style":{"spacing":{"blockGap":"1.4em"}}} /--></div>
<!-- /wp:group -->

<!-- wp:search {"showLabel":false,"placeholder":"Search by painting","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"100px","top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}}} /--></div>
<!-- wp:search {"showLabel":false,"placeholder":"Search by painting","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"100px","top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}},"fontSize":"small","fontFamily":"manrope"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:group -->
49 changes: 49 additions & 0 deletions covr/patterns/archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
* Title: archive
* Slug: covr/archive
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"5vh","bottom":"0vh"},"blockGap":"1em"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:5vh;padding-right:4vw;padding-bottom:0vh;padding-left:4vw"><!-- wp:query-title {"type":"archive","align":"wide","fontSize":"large"} /-->

<!-- wp:term-description {"align":"wide"} /--></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"60px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:60px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":14,"query":{"perPage":20,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide"} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"style":{"spacing":{"blockGap":"2em"}},"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","align":"wide"} /-->

<!-- wp:group {"style":{"spacing":{"blockGap":"0.6em"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"},":hover":{"color":{"text":"var:preset|color|foreground"}}}}},"textColor":"primary"} /-->

<!-- wp:post-terms {"term":"category"} /--></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"20px"} -->
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template -->

<!-- wp:paragraph -->
<p><?php echo __('', 'covr');?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:query -->

<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:40px;padding-bottom:40px"><!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->

<!-- wp:query-pagination-numbers /-->

<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
13 changes: 13 additions & 0 deletions covr/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,16 @@ This program is distributed in the hope that it will be useful,
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:

Manrope Font
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is available with an FAQ at http://scripts.sil.org/OFL
License URL: http://scripts.sil.org/OFL
-- End of Manrope Font credits --

Image for theme screenshot, Credit Jan Brueghel The Elder, Flowers in a Wan-Li Vase (c. 1610 - 1615)
License: Public Domain
License URL: https://creativecommons.org/public-domain/pdm/
Source: https://artvee.com/dl/flowers-in-a-wan-li-vase-2#00
Binary file modified covr/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion covr/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: covr
Tags: blog, photography, portfolio, grid-layout, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready, fullwidth, photography, art
Tags: blog, photography, portfolio, grid-layout, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready
*/

/*
Expand Down
18 changes: 1 addition & 17 deletions covr/templates/archive.html
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"5vh","bottom":"0vh"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:5vh;padding-right:4vw;padding-bottom:0vh;padding-left:4vw"><!-- wp:query-title {"type":"archive","align":"wide","fontSize":"large"} /--></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"80px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:80px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":14,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide"} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto","align":"wide"} /-->

<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"},":hover":{"color":{"text":"var:preset|color|foreground"}}}}},"textColor":"primary"} /-->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
<!-- wp:pattern {"slug":"covr/archive"} /-->
32 changes: 25 additions & 7 deletions covr/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"80px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:80px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":14,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide"} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto","align":"wide"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"60px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:60px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":14,"query":{"perPage":20,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
<div class="wp-block-query alignwide"><!-- wp:post-template {"style":{"spacing":{"blockGap":"2em"}},"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","align":"wide"} /-->

<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"},":hover":{"color":{"text":"var:preset|color|foreground"}}}}},"textColor":"primary"} /-->
<!-- /wp:post-template --></div>
<!-- wp:group {"style":{"spacing":{"blockGap":"0.6em"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"},":hover":{"color":{"text":"var:preset|color|foreground"}}}}},"textColor":"primary"} /-->

<!-- wp:post-terms {"term":"category"} /--></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"20px"} -->
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template -->

<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:40px;padding-bottom:40px"><!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->

<!-- wp:query-pagination-numbers /-->

<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
12 changes: 7 additions & 5 deletions covr/templates/page.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"4vw","right":"4vw"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-right:4vw;padding-left:4vw"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"4vh","padding":{"top":"6vh","bottom":"6vh"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:6vh;padding-bottom:6vh"><!-- wp:post-featured-image /-->
<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"4vh","padding":{"top":"6vh","bottom":"3vh"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:6vh;padding-bottom:3vh"><!-- wp:post-featured-image /-->

<!-- wp:post-title {"fontSize":"x-large"} /--></div>
<!-- /wp:group -->

<!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /--></div>
<!-- wp:group {"lock":{"move":false,"remove":true},"align":"full","style":{"spacing":{"padding":{"right":"4vw","left":"4vw"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-right:4vw;padding-left:4vw"><!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
26 changes: 13 additions & 13 deletions covr/templates/search.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","right":"4vw","left":"4vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:80px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":22,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":{"top":"20px","left":"20px"},"padding":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"border":{"radius":"20px"}},"backgroundColor":"tertiary"} -->
<div class="wp-block-columns are-vertically-aligned-center has-tertiary-background-color has-background" style="border-radius:20px;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"><!-- wp:column {"verticalAlignment":"center","width":"10%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:10%"><!-- wp:post-featured-image {"aspectRatio":"1","height":""} /--></div>
<!-- /wp:column -->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"5vh","bottom":"0vh"},"blockGap":"1em"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:5vh;padding-right:4vw;padding-bottom:0vh;padding-left:4vw"><!-- wp:query-title {"type":"search","align":"wide"} /--></div>
<!-- /wp:group -->

<!-- wp:column {"verticalAlignment":"center","width":"90%"} -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","right":"4vw","left":"4vw"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-top:80px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":22,"query":{"perPage":20,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"0em"}}} -->
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":{"top":"30px","left":"30px"},"padding":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"border":{"radius":"20px"}},"backgroundColor":"tertiary"} -->
<div class="wp-block-columns are-vertically-aligned-center has-tertiary-background-color has-background" style="border-radius:20px;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"><!-- wp:column {"verticalAlignment":"center","width":"90%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:90%"><!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"small"} /-->

<!-- wp:post-terms {"term":"category"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"7%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:7%"><!-- wp:post-featured-image {"aspectRatio":"1","height":"80px"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

<!-- wp:spacer {"height":"10px"} -->
<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template -->

<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained"}} -->
Expand All @@ -34,4 +34,4 @@
<!-- /wp:query --></div>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
8 changes: 2 additions & 6 deletions covr/templates/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"20px","left":"20px","top":"80px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:80px;padding-right:20px;padding-left:20px"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"40px","left":"40px"}}}} -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px"},"blockGap":"20px"},"dimensions":{"minHeight":"0vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-background-background-color has-background" style="min-height:0vh;padding-top:80px"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"40px","left":"40px"}}}} -->
<div class="wp-block-columns alignwide"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:post-featured-image {"align":"wide"} /--></div>
<!-- /wp:column -->
Expand All @@ -26,8 +26,4 @@
<!-- /wp:columns --></div>
<!-- /wp:group -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
46 changes: 43 additions & 3 deletions covr/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,11 @@
"fontSize": "0.8rem"
}
},
"core/post-content": {
"spacing": {
"blockGap": "6px"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--foreground)"
Expand Down Expand Up @@ -342,13 +347,19 @@
}
},
"core/post-title": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
Expand Down Expand Up @@ -385,7 +396,17 @@
},
"width": "1px 0"
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"css": "text-align: left;",
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
Expand All @@ -401,6 +422,21 @@
"lineHeight": "1.5"
}
},
"core/query-title": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
Expand Down Expand Up @@ -558,8 +594,8 @@
"blockGap": "0px",
"padding": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"left": "4vw",
"right": "4vw",
"top": "0px"
}
},
Expand All @@ -580,5 +616,9 @@
}
],
"version": 2,
<<<<<<< HEAD
"$schema": "https://schemas.wp.org/wp/6.4/theme.json"
}
=======
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
>>>>>>> 2086a0af3de99a8f728439b2f1d5e711fd337971
}