Layover: add theme (#7890)

* Layover: add theme

* Layover: Fixing fonts and variations

* Layover: Cover image displays as a link

* Fix home image.

---------

Co-authored-by: Henrique 'Foca' Iamarino <henriquefoca@gmail.com>
Co-authored-by: jasmussen <joen@automattic.com>
This commit is contained in:
Henrique Iamarino 2024-08-13 12:15:32 +02:00 committed by GitHub
parent c53b2951ef
commit 4060e204e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 1495 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

60
layover/functions.php Normal file
View file

@ -0,0 +1,60 @@
<?php
/**
* Layover functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Layover
* @since Layover 1.0
*/
if ( ! function_exists( 'layover_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Layover 1.0
*
* @return void
*/
function layover_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'layover' );
}
endif;
add_action( 'after_setup_theme', 'layover_support' );
if ( ! function_exists( 'layover_styles' ) ) :
/**
* Enqueue styles.
*
* @since Layover 1.0
*
* @return void
*/
function layover_styles() {
// Register theme stylesheet.
wp_register_style(
'layover-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'layover-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'layover_styles' );

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"layover/footer"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"layover/header"} /-->

View file

31
layover/patterns/404.php Normal file
View file

@ -0,0 +1,31 @@
<?php
/**
* Title: 404
* Slug: layover/404
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem","top":"4rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:group -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":1,"align":"wide"} -->
<h1 class="wp-block-heading alignwide has-text-align-center" id="oops-that-page-can-t-be-found"><?php echo __('Oops!', 'layover');?></h1>
<!-- /wp:heading -->
<!-- wp:heading {"textAlign":"center","level":1,"align":"wide"} -->
<h1 class="wp-block-heading alignwide has-text-align-center" id="oops-that-page-can-t-be-found"><?php echo __('That page cant be found.', 'layover');?></h1>
<!-- /wp:heading --></div>
<!-- /wp:group -->
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
<p class="has-text-align-center has-medium-font-size"><?php echo __('It looks like nothing was found at this location.<br>Maybe try a search?', 'layover');?></p>
<!-- /wp:paragraph -->
<!-- wp:search {"showLabel":false,"placeholder":"SEARCH","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"width":"0px","style":"none"}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,52 @@
<?php
/**
* Title: Comments
* slug: layover/comments
* inserter: no
*/
?>
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop">
<!-- wp:comments-title {"level":3} /-->
<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} -->
<div class="wp-block-group">
<!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /-->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:comment-author-name /-->
<!-- wp:group {"layout":{"type":"flex"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->

View file

@ -0,0 +1,13 @@
<?php
/**
* Title: footer
* Slug: layover/footer
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem","top":"4rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center"><?php echo __('Designed with <a href="https://wordpress.org" rel="nofollow">WordPress</a>.', 'layover');?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,25 @@
<?php
/**
* Title: header
* Slug: layover/header
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:group {"style":{"spacing":{"padding":{"top":"4rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:4rem"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:site-logo {"width":24,"shouldSyncIcon":true,"style":{"color":[]}} /-->
<!-- wp:site-title {"style":{"spacing":{"blockGap":"2rem"}}} /--></div>
<!-- /wp:group -->
<!-- wp:group {"style":{"dimensions":{"minHeight":""}},"layout":{"type":"constrained","contentSize":"40px"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem","padding":{"top":"2px","right":"2px","bottom":"2px","left":"2px"}},"border":{"top":{"width":"1px"},"bottom":{"width":"1px"}},"dimensions":{"minHeight":""}},"layout":{"type":"constrained","contentSize":""}} -->
<div class="wp-block-group" style="border-top-width:1px;border-bottom-width:1px;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px"></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} -->
<p class="has-text-align-center has-foreground-color has-text-color has-link-color"><?php echo __('Shakespeare published 154 sonnets in his <em>quarto</em> in 1609. While the initial 126 are addressed to a young man, the final 28 are directed toward an enigmatic woman referred to as the <em>dark lady</em>.', 'layover');?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

View file

@ -0,0 +1,10 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: layover/hidden-no-results-content
* Inserter: no
*/
?>
<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'layover' ); ?></p>
<!-- /wp:paragraph -->

39
layover/patterns/home.php Normal file
View file

@ -0,0 +1,39 @@
<?php
/**
* Title: home
* Slug: layover/home
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/layover_background.jpg","hasParallax":true,"dimRatio":0,"customOverlayColor":"#212121","isUserOverlayColor":true,"contentPosition":"center center","style":{"spacing":{"margin":{"top":"0rem","bottom":"0rem"},"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-parallax" style="margin-top:0rem;margin-bottom:0rem;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#212121"></span><div class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/layover_background.jpg)"></div><div class="wp-block-cover__inner-container"><!-- wp:template-part {"slug":"header","align":"wide"} /-->
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"parents":[]},"tagName":"main","align":"wide","layout":{"type":"constrained"}} -->
<main class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"8rem"}},"layout":{"type":"default"}} -->
<!-- wp:post-title {"textAlign":"center","level":1,"isLink":true,"align":"wide","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"1rem","bottom":"1rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:1rem;padding-bottom:1rem"><!-- wp:post-excerpt {"textAlign":"center","moreText":"More.","showMoreOnNewLine":false,"excerptLength":23} /--></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:query-pagination-previous {"label":"Prev"} /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next {"label":"Next"} /-->
<!-- /wp:query-pagination -->
<!-- wp:query-no-results -->
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when a query returns no results."} -->
<p class="has-text-align-center"><?php echo __('There are no posts available. Try creating one.', 'layover');?></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></main>
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","align":"wide"} /--></div></div>
<!-- /wp:cover -->

58
layover/readme.txt Normal file
View file

@ -0,0 +1,58 @@
== Layover ==
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Layover displays large titles and excerpts that scroll over an image on the Homepage and neat single pages for users who want their blogging to be simple.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Layover WordPress Theme, (C) 2024 Automattic
Layover is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
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.
Layover is based on Overlay (), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
== Images ==
William II, Prince of Orange, and his Bride, Mary Stuart (1641) - Anthony van Dyck (Flemish, 1599-1641)
License: Public domain
File: https://artvee.com/dl/william-ii-prince-of-orange-and-his-bride-mary-stuart/
== Fonts ==
Manrope
Copyright 2019 The Manrope Project Authors (https://github.com/sharanda/manrope)
Source: http://gent.media
License: 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
DM Sans
Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
Source: https://www.colophon-foundry.org
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL

BIN
layover/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

75
layover/style.css Normal file
View file

@ -0,0 +1,75 @@
/*
Theme Name: Layover
Theme URI:
Author: Automattic
Author URI: https://wordpress.org
Description: Layover displays large titles and excerpts that scroll over an image on the Homepage and neat single pages for users who want their blogging to be simple.
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: layover
Tags: blog, one-column, wide-blocks, block-patterns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-site-editing, full-width-template, post-formats, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready
/* Progresive enhancement to reduce widows and orphans.
/* https://github.com/WordPress/gutenberg/issues/55190
*/
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption {
text-wrap: balance;
}
p {
text-wrap: pretty;
}
/**
* Currently table styles are only available with 'wp-block-styles'
* theme support (block css) thus the following needs to be included
* since 'wp-block-styles' aren't used for this theme.
* https://github.com/WordPress/gutenberg/issues/45065
*/
/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--secondary);
color: var(--wp--preset--color--background);
border-color: var(--wp--preset--color--secondary);
}
/**
* Currently table styles are only available with 'wp-block-styles'
* theme support (block css) thus the following needs to be included
* since 'wp-block-styles' aren't used for this theme.
* https://github.com/WordPress/gutenberg/issues/45065
*/
.wp-block-table thead {
border-bottom: 3px solid;
}
.wp-block-table tfoot {
border-top: 3px solid;
}
.wp-block-table td,
.wp-block-table th {
padding: var(--wp--preset--spacing--30);
border: 1px solid;
word-break: normal;
}
.wp-block-table figcaption {
font-size: var(--wp--preset--font-size--small);
text-align: center;
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}

View file

@ -0,0 +1,65 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#334D4D",
"name": "Primary",
"slug": "primary"
},
{
"color": "#94B8B8",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#D9F2F2",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#334D4D",
"name": "Background",
"slug": "background"
},
{
"color": "#D9F2F2",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--lacrosse-hi)"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--lacrosse)"
}
},
"core/site-logo": {
"filter": {
"duotone": "var(--wp--preset--duotone--lacrosse-hi)"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--cardo)"
}
},
"title": "Mermaid Green",
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -0,0 +1,68 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#4E4A31",
"name": "Primary",
"slug": "primary"
},
{
"color": "#b8b294",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f2eed9",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#4E4A31",
"name": "Background",
"slug": "background"
},
{
"color": "#f2eed9",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--olive-hi)"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--olive)"
}
},
"core/site-logo": {
"filter": {
"duotone": "var(--wp--preset--duotone--olive-hi)"
}
}
},
"elements": {
"h1": {
"typography": {
"lineHeight": "1.2"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--cardo)",
"textTransform": "none"
}
}
}
},
"title": "Olive Grey",
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -0,0 +1,82 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#4A3E63",
"name": "Primary",
"slug": "primary"
},
{
"color": "#9F94B8",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f3f0f9",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#4A3E63",
"name": "Background",
"slug": "background"
},
{
"color": "#f3f0f9",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--meteorite-hi)"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--meteorite-hi)"
}
},
"core/paragraph": {
"typography": {
"letterSpacing": "0.03rem"
}
},
"core/post-excerpt": {
"typography": {
"letterSpacing": "0.03rem"
}
},
"core/site-logo": {
"filter": {
"duotone": "var(--wp--preset--duotone--meteorite-hi)"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"letterSpacing": "-0.1rem"
}
},
"heading": {
"typography": {
"textTransform": "none"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"letterSpacing": "0.03rem"
}
},
"title": "Plummy White",
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"layover/404"} /-->

View file

@ -0,0 +1,31 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"},"margin":{"top":"4rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:4rem;padding-bottom:4rem"><!-- wp:query {"queryId":5,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","align":"wide","layout":{"type":"constrained"}} -->
<main class="wp-block-query alignwide"><!-- wp:query-title {"type":"archive","textAlign":"center","align":"wide"} /-->
<!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"8rem"}}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"2rem"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"40%"} /-->
<!-- wp:post-title {"textAlign":"center","isLink":true} /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"1rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:1rem"><!-- wp:post-excerpt {"textAlign":"center","excerptLength":25,"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"},"fontSize":"large"} -->
<!-- wp:query-pagination-previous {"label":"PREV"} /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next {"label":"NEX"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"layover/home"} /-->

View file

@ -0,0 +1,29 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"},"margin":{"top":"4rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:4rem;padding-bottom:4rem"><!-- wp:query {"queryId":5,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","align":"wide","layout":{"type":"constrained"}} -->
<main class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"8rem"}}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"2rem"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"40%"} /-->
<!-- wp:post-title {"textAlign":"center","isLink":true} /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"1rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:1rem"><!-- wp:post-excerpt {"textAlign":"center","excerptLength":25,"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"},"fontSize":"large"} -->
<!-- wp:query-pagination-previous {"label":"PREV"} /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next {"label":"NEX"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,7 @@
<!-- wp:template-part {"slug":"header","tagName":"header","align":"wide"} /-->
<!-- wp:group {"align":"wide","style":{"border":{"top":[],"right":{"width":"1rem","style":"solid"},"bottom":[],"left":{"width":"1rem","style":"solid"}},"spacing":{"padding":{"bottom":"4rem","top":"4rem"},"margin":{"top":"4rem","bottom":"0rem"}}},"backgroundColor":"foreground","textColor":"primary","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide has-primary-color has-foreground-background-color has-text-color has-background" style="border-right-style:solid;border-right-width:1rem;border-left-style:solid;border-left-width:1rem;margin-top:4rem;margin-bottom:0rem;padding-top:4rem;padding-bottom:4rem"><!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"wide","layout":{"type":"default"}} /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","align":"wide"} /-->

View file

@ -0,0 +1,35 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"},"margin":{"top":"4rem"},"blockGap":"4rem"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:4rem;padding-bottom:4rem"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:search {"showLabel":false,"placeholder":"SEARCH","width":100,"widthUnit":"%","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"width":"0px","style":"none"}}} /--></div>
<!-- /wp:group -->
<!-- wp:query {"queryId":5,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","align":"wide","layout":{"type":"constrained"}} -->
<main class="wp-block-query alignwide"><!-- wp:query-title {"type":"search","textAlign":"center","level":2} /-->
<!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"8rem"}}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"2rem"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"40%"} /-->
<!-- wp:post-title {"textAlign":"center","isLink":true} /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"1rem"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:1rem"><!-- wp:post-excerpt {"textAlign":"center","excerptLength":25,"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"},"fontSize":"large"} -->
<!-- wp:query-pagination-previous {"label":"PREV"} /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next {"label":"NEX"} /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,49 @@
<!-- wp:template-part {"slug":"header","tagName":"header","align":"wide"} /-->
<!-- wp:group {"align":"wide","style":{"border":{"top":[],"right":{"width":"1rem","style":"solid"},"bottom":[],"left":{"width":"1rem","style":"solid"}},"spacing":{"padding":{"bottom":"4rem"},"margin":{"top":"4rem","bottom":"0rem"}}},"backgroundColor":"foreground","textColor":"primary","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide has-primary-color has-foreground-background-color has-text-color has-background" style="border-right-style:solid;border-right-width:1rem;border-left-style:solid;border-left-width:1rem;margin-top:4rem;margin-bottom:0rem;padding-bottom:4rem"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"4rem","padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"},"margin":{"top":"0rem","bottom":"0rem"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignwide" style="margin-top:0rem;margin-bottom:0rem;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:post-featured-image /-->
<!-- wp:post-title {"textAlign":"center","level":1,"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->
<!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"wide","layout":{"type":"default"}} /--></div>
<!-- /wp:group -->
<!-- wp:comments {"align":"wide","className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments alignwide wp-block-comments-query-loop"><!-- wp:comments-title {"level":3} /-->
<!-- wp:comment-template {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"2rem"},"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:2rem;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:avatar {"size":40,"style":{"border":{"radius":"30px"},"color":[]}} /-->
<!-- wp:group -->
<div class="wp-block-group"><!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"1em"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
<!-- wp:comment-edit-link /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /--></div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination -->
<!-- wp:comments-pagination-previous {"label":"Prev"} /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next {"label":"Next"} /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form {"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /--></div>
<!-- /wp:comments --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","align":"wide"} /-->

762
layover/theme.json Normal file
View file

@ -0,0 +1,762 @@
{
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"defaultDuotone": false,
"duotone": [
{
"colors": [
"#702B1C",
"#C9A282"
],
"name": "Coffee",
"slug": "coffee"
},
{
"colors": [
"#702B1C",
"#ECDAC6"
],
"name": "Coffee Hi",
"slug": "coffee-hi"
},
{
"colors": [
"#4E4A31",
"#B8B294"
],
"name": "Olive",
"slug": "olive"
},
{
"colors": [
"#4E4A31",
"#F2EED9"
],
"name": "Olive Hi",
"slug": "olive-hi"
},
{
"colors": [
"#4A3E63",
"#9F94B8"
],
"name": "Meteorite",
"slug": "meteorite"
},
{
"colors": [
"#4A3E63",
"#E1D9F2"
],
"name": "Meteorite Hi",
"slug": "meteorite-hi"
},
{
"colors": [
"#334D4D",
"#94B8B8"
],
"name": "Lacrosse",
"slug": "lacrosse"
},
{
"colors": [
"#334D4D",
"#D9F2F2"
],
"name": "Lacrosse Hi",
"slug": "lacrosse-hi"
}
],
"palette": [
{
"color": "#702B1C",
"name": "Primary",
"slug": "primary"
},
{
"color": "#C9A282",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ECDAC6",
"name": "Foreground",
"slug": "foreground"
},
{
"color": "#702B1C",
"name": "Background",
"slug": "background"
},
{
"color": "#ECDAC6",
"name": "Tertiary",
"slug": "tertiary"
}
],
"text": true
},
"layout": {
"contentSize": "600px",
"wideSize": "900px"
},
"shadow": {
"defaultPresets": true,
"presets": []
},
"spacing": {
"customSpacingSize": true,
"defaultSpacingSizes": false,
"spacingSizes": [],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"defaultFontSizes": false,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [],
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/manrope/manrope_normal_400.ttf"
},
{
"fontFamily": "Manrope",
"fontStyle": "normal",
"fontWeight": "700",
"src": "file:./assets/fonts/manrope/manrope_normal_700.ttf"
},
{
"fontFamily": "Manrope",
"fontStyle": "italic",
"fontWeight": "400",
"src": "file:./assets/fonts/manrope/manrope_normal_400.ttf"
},
{
"fontFamily": "Manrope",
"fontStyle": "italic",
"fontWeight": "700",
"src": "file:./assets/fonts/manrope/manrope_normal_700.ttf"
}
],
"fontFamily": "Manrope, sans-serif",
"name": "Manrope",
"slug": "manrope"
},
{
"fontFace": [
{
"fontFamily": "Cardo",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/cardo/cardo_normal_400.woff2"
},
{
"fontFamily": "Cardo",
"fontStyle": "normal",
"fontWeight": "700",
"src": "file:./assets/fonts/cardo/cardo_normal_700.woff2"
},
{
"fontFamily": "Cardo",
"fontStyle": "italic",
"fontWeight": "400",
"src": "file:./assets/fonts/cardo/cardo_italic_400.ttf"
}
],
"fontFamily": "Cardo, serif",
"name": "Cardo",
"slug": "cardo"
},
{
"fontFace": [
{
"fontFamily": "Instrument Serif",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/instrument-serif/instrument-serif_normal_400.ttf"
},
{
"fontFamily": "Instrument Serif",
"fontStyle": "italic",
"fontWeight": "400",
"src": "file:./assets/fonts/instrument-serif/instrument-serif_italic_400.ttf"
}
],
"fontFamily": "Instrument Serif, serif",
"name": "Instrument Serif",
"slug": "instrument-serif"
},
{
"fontFace": [
{
"fontFamily": "Outward",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/outward/outward_normal_400.ttf"
},
{
"fontFamily": "Outward",
"fontStyle": "italic",
"fontWeight": "400",
"src": "file:./assets/fonts/outward/outward_italic_400.ttf"
}
],
"fontFamily": "Outward, sans-serif",
"name": "Outward",
"slug": "outward"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "4rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "4rem",
"slug": "x-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/avatar": {
"filter": {
"duotone": "var(--wp--preset--duotone--coffee-hi)"
}
},
"core/button": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontStyle": "normal",
"fontWeight": "700",
"textTransform": "uppercase"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "0.9rem",
"fontStyle": "normal",
"fontWeight": "600"
}
},
"core/comment-date": {
"typography": {
"fontSize": "0.9rem"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "0.9rem",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "0.9rem",
"fontStyle": "normal",
"fontWeight": "700"
}
},
"core/comments": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
},
"spacing": {
"padding": {
"bottom": "4rem",
"top": "4rem"
}
}
},
"core/comments-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "600",
"letterSpacing": "0.1rem",
"textTransform": "uppercase"
}
},
"core/comments-title": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"core/cover": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"filter": {
"duotone": "var(--wp--preset--duotone--coffee)"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/heading": {
"spacing": {
"padding": {
"bottom": "0rem",
"top": "0rem"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/paragraph": {
"typography": {
"letterSpacing": "0.01rem"
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-comments-form": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"elements": {
"heading": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"link": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
}
}
},
"core/post-content": {
"spacing": {
"blockGap": "1.5rem"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0rem",
"lineHeight": "1.5"
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--background)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--background)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-excerpt": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0px",
"left": "0px",
"right": "0px",
"top": "0px"
},
"padding": {
"bottom": "0rem",
"left": "0rem",
"right": "0rem",
"top": "0rem"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--foreground)",
"style": "solid",
"width": "1px 0"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "italic"
}
},
"core/query-no-results": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/query-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"core/query-title": {
"spacing": {
"margin": {
"bottom": "4rem"
}
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal",
"textTransform": "uppercase"
}
},
"core/search": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"core/site-logo": {
"filter": {
"duotone": "var(--wp--preset--duotone--olive-hi)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "400",
"letterSpacing": "0.05rem"
}
}
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--background)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--background)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--primary)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)",
"letterSpacing": "0rem",
"lineHeight": "1"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"letterSpacing": "0rem"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"letterSpacing": "0rem"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"letterSpacing": "0rem"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0rem"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0rem"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--foreground)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--manrope)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.125",
"textTransform": "uppercase"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--secondary)"
},
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"spacing": {
"blockGap": "1.5rem",
"padding": {
"bottom": "0rem",
"left": "1.5rem",
"right": "1.5rem",
"top": "0rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--manrope)",
"fontSize": "1rem",
"fontStyle": "normal",
"fontWeight": "400",
"letterSpacing": "0rem",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}