Nested: add theme (#7175)
* Initial commit. * Bump version and remove unused pattern. * Update footer and pattern references. * Fix markup. * Escape.
This commit is contained in:
parent
e98f1c544f
commit
7f5df1bec1
40 changed files with 1712 additions and 0 deletions
BIN
nested/assets/fonts/d-din_italic_400.ttf
Normal file
BIN
nested/assets/fonts/d-din_italic_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/d-din_normal_400.ttf
Normal file
BIN
nested/assets/fonts/d-din_normal_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/d-din_normal_700.ttf
Normal file
BIN
nested/assets/fonts/d-din_normal_700.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/hezaedrus_italic_400.ttf
Normal file
BIN
nested/assets/fonts/hezaedrus_italic_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/hezaedrus_normal_400.ttf
Normal file
BIN
nested/assets/fonts/hezaedrus_normal_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/inter_normal_400.ttf
Normal file
BIN
nested/assets/fonts/inter_normal_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/inter_normal_500.ttf
Normal file
BIN
nested/assets/fonts/inter_normal_500.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/inter_normal_600.ttf
Normal file
BIN
nested/assets/fonts/inter_normal_600.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/inter_normal_700.ttf
Normal file
BIN
nested/assets/fonts/inter_normal_700.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/manrope_normal_400.ttf
Normal file
BIN
nested/assets/fonts/manrope_normal_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/manrope_normal_600.ttf
Normal file
BIN
nested/assets/fonts/manrope_normal_600.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/plus-jakarta-sans_normal_400.ttf
Normal file
BIN
nested/assets/fonts/plus-jakarta-sans_normal_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/plus-jakarta-sans_normal_600.ttf
Normal file
BIN
nested/assets/fonts/plus-jakarta-sans_normal_600.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/plus-jakarta-sans_normal_700.ttf
Normal file
BIN
nested/assets/fonts/plus-jakarta-sans_normal_700.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/russisch-sans_italic_400.ttf
Normal file
BIN
nested/assets/fonts/russisch-sans_italic_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/russisch-sans_italic_500.ttf
Normal file
BIN
nested/assets/fonts/russisch-sans_italic_500.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/russisch-sans_italic_600.ttf
Normal file
BIN
nested/assets/fonts/russisch-sans_italic_600.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/russisch-sans_normal_400.ttf
Normal file
BIN
nested/assets/fonts/russisch-sans_normal_400.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/russisch-sans_normal_500.ttf
Normal file
BIN
nested/assets/fonts/russisch-sans_normal_500.ttf
Normal file
Binary file not shown.
BIN
nested/assets/fonts/russisch-sans_normal_600.ttf
Normal file
BIN
nested/assets/fonts/russisch-sans_normal_600.ttf
Normal file
Binary file not shown.
60
nested/functions.php
Normal file
60
nested/functions.php
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/**
|
||||
* Nested functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package Nested
|
||||
* @since Nested 1.0
|
||||
*/
|
||||
|
||||
|
||||
if ( ! function_exists( 'nested_support' ) ) :
|
||||
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*
|
||||
* @since Nested 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function nested_support() {
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'style.css' );
|
||||
|
||||
// Make theme available for translation.
|
||||
load_theme_textdomain( 'nested' );
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'after_setup_theme', 'nested_support' );
|
||||
|
||||
if ( ! function_exists( 'nested_styles' ) ) :
|
||||
|
||||
/**
|
||||
* Enqueue styles.
|
||||
*
|
||||
* @since Nested 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function nested_styles() {
|
||||
|
||||
// Register theme stylesheet.
|
||||
wp_register_style(
|
||||
'nested-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
array(),
|
||||
wp_get_theme()->get( 'Version' )
|
||||
);
|
||||
|
||||
// Enqueue theme stylesheet.
|
||||
wp_enqueue_style( 'nested-style' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'nested_styles' );
|
9
nested/parts/footer-minimal.html
Normal file
9
nested/parts/footer-minimal.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- wp:group {"style":{"dimensions":{"minHeight":""},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"padding":{"top":"15vh","bottom":"15vh"}}},"backgroundColor":"base","textColor":"contrast","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-contrast-color has-base-background-color has-text-color has-background has-link-color" style="padding-top:15vh;padding-bottom:15vh"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group" style="min-height:100%"><!-- wp:site-title {"style":{"typography":{"letterSpacing":"0px","fontStyle":"normal","fontWeight":"600","textTransform":"uppercase","lineHeight":"1","fontSize":"1.5rem"}}} /-->
|
||||
|
||||
<!-- wp:pattern {"slug":"nested/credit"} /-->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
11
nested/parts/footer-post.html
Normal file
11
nested/parts/footer-post.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:cover {"useFeaturedImage":true,"dimRatio":30,"minHeight":60,"minHeightUnit":"vh","isDark":false,"align":"full","style":{"color":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-cover alignfull is-light" style="min-height:60vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-30 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group has-base-color has-text-color has-link-color"><!-- wp:site-title {"style":{"typography":{"letterSpacing":"0px","fontStyle":"normal","fontWeight":"600","textTransform":"uppercase","lineHeight":"1","fontSize":"1.5rem"}}} /-->
|
||||
|
||||
<!-- wp:pattern {"slug":"nested/credit"} /-->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group -->
|
9
nested/parts/footer.html
Normal file
9
nested/parts/footer.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- wp:group {"style":{"dimensions":{"minHeight":""},"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"padding":{"top":"15vh","bottom":"15vh"}}},"backgroundColor":"primary","textColor":"base","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-base-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:15vh;padding-bottom:15vh"><!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"dimensions":{"minHeight":"100%"}},"textColor":"base","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group has-base-color has-text-color has-link-color" style="min-height:100%"><!-- wp:site-title {"style":{"typography":{"letterSpacing":"0px","fontStyle":"normal","fontWeight":"600","textTransform":"uppercase","lineHeight":"1","fontSize":"1.5rem"}}} /-->
|
||||
|
||||
<!-- wp:pattern {"slug":"nested/credit"} /-->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
17
nested/parts/header-single.html
Normal file
17
nested/parts/header-single.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:4rem;margin-bottom:4rem"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:site-title {"style":{"typography":{"letterSpacing":"0px","fontStyle":"normal","fontWeight":"600","textTransform":"uppercase","lineHeight":"1","fontSize":"1.5rem"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"primary","iconColorValue":"#000000","size":"has-small-icon-size","className":"is-style-logos-only"} -->
|
||||
<ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"wordpress.org","service":"tumblr"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"wordpress.org","service":"linkedin"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"wordpress.org","service":"github"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"8rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:8rem"><!-- wp:post-title {"level":1,"style":{"typography":{"textTransform":"none"}}} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
13
nested/parts/header.html
Normal file
13
nested/parts/header.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:4rem;margin-bottom:4rem"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:site-title {"style":{"typography":{"letterSpacing":"0px","fontStyle":"normal","fontWeight":"600","textTransform":"uppercase","lineHeight":"1","fontSize":"1.5rem"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} /-->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"primary","iconColorValue":"#000000","size":"has-small-icon-size","className":"is-style-logos-only"} -->
|
||||
<ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"wordpress.org","service":"tumblr"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"wordpress.org","service":"linkedin"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"wordpress.org","service":"github"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
9
nested/parts/post-meta.html
Normal file
9
nested/parts/post-meta.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:4rem;margin-bottom:4rem"><!-- wp:group {"layout":{"type":"flex"}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-author {"showAvatar":false} /-->
|
||||
|
||||
<!-- wp:post-date {"format":"M j, Y","isLink":true} /-->
|
||||
|
||||
<!-- wp:post-terms {"term":"category"} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
16
nested/patterns/404.php
Normal file
16
nested/patterns/404.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A 404 page
|
||||
* Slug: nested/404
|
||||
* Inserter: no
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","level":1,"anchor":"oops-that-page-can-t-be-found"} -->
|
||||
<h1 class="wp-block-heading has-text-align-left" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'nested' ); ?></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"fontSize":"1.5rem"}}} -->
|
||||
<p style="font-size:1.5rem"><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'nested' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
21
nested/patterns/credit.php
Normal file
21
nested/patterns/credit.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default footer
|
||||
* Slug: nested/credit
|
||||
* inserter: no
|
||||
* hidden: true
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:paragraph {"align":"right","style":{"typography":{"letterSpacing":"0px","fontStyle":"normal","fontWeight":"400","textTransform":"uppercase","lineHeight":"1","fontSize":"1.5rem"}}} -->
|
||||
<p class="has-text-align-right" style="font-size:1.5rem;font-style:normal;font-weight:400;letter-spacing:0px;line-height:1;text-transform:uppercase">
|
||||
<?php
|
||||
/* Translators: WordPress link. */
|
||||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'nested' ) ) . '" rel="nofollow">WordPress</a>';
|
||||
echo sprintf(
|
||||
esc_html__( 'Designed with %1$s', 'nested' ),
|
||||
$wordpress_link
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<!-- /wp:paragraph -->
|
62
nested/readme.txt
Normal file
62
nested/readme.txt
Normal file
|
@ -0,0 +1,62 @@
|
|||
=== Nested ===
|
||||
Contributors: the WordPress team
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.2.2
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
Nested is a blog design that displays posts overlapping featured images as a Matryoshka effect.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.0 =
|
||||
* Initial release
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Nested is based on K03 (), (C) , [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
|
||||
|
||||
K03 WordPress Theme, (C) 2023
|
||||
K03 is distributed under the terms of the GNU GPL.
|
||||
K03 is based on K02 (), (C) , [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
|
||||
|
||||
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.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Manrope Font
|
||||
Copyright 2019 The Manrope Project Authors (https://github.com/sharanda/manrope)
|
||||
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
|
||||
License URL: http://scripts.sil.org/OFL
|
||||
Source: http://gent.media
|
||||
-- End of Manrope Font credits --
|
||||
|
||||
|
||||
Plus Jakarta Sans Font
|
||||
Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans)
|
||||
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
|
||||
License URL: http://scripts.sil.org/OFL
|
||||
Source: https://www.tokotype.com
|
||||
-- End of Plus Jakarta Sans Font credits --
|
||||
|
||||
|
||||
Hezaedrus Font
|
||||
Copyright (c) 2015 by Hubert & Fischer. All rights reserved.
|
||||
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
|
||||
License URL: http://scripts.sil.org/OFL
|
||||
Source: www.google.com/fonts
|
||||
-- End of Hezaedrus Font credits --
|
||||
|
BIN
nested/screenshot.png
Normal file
BIN
nested/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 963 KiB |
35
nested/style.css
Normal file
35
nested/style.css
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
Theme Name: Nested
|
||||
Theme URI: https://github.com/wordpress/nested/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/themes/
|
||||
Description: Nested is a blog design that displays posts overlapping featured images as a Matryoshka effect.
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.2.2
|
||||
Requires PHP: 5.7
|
||||
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: nested
|
||||
Tags: blog, education, news, one-column, wide-blocks, block-patterns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, full-site-editing, post-formats, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready, blog-posts, posts, post-featured-image, articles, prose, poetry, nested-images, matryoshka, kokeshi, nesting
|
||||
*/
|
||||
|
||||
/*
|
||||
* 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--base);
|
||||
border-color: var(--wp--preset--color--secondary);
|
||||
}
|
||||
|
||||
/*
|
||||
* Link styles
|
||||
* https://github.com/WordPress/gutenberg/issues/42319
|
||||
*/
|
||||
a {
|
||||
text-decoration-thickness: .0625em !important;
|
||||
text-underline-offset: .15em;
|
||||
}
|
15
nested/templates/404.html
Normal file
15
nested/templates/404.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"4rem","bottom":"8rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group" style="margin-top:4rem;margin-bottom:8rem"><!-- wp:group {"style":{"spacing":{"padding":{"right":"20%","top":"0rem","bottom":"4rem","left":"0rem"},"blockGap":"1rem"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="padding-top:0rem;padding-right:20%;padding-bottom:4rem;padding-left:0rem">
|
||||
|
||||
<!-- wp:pattern {"slug":"nested/404"} /-->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:search {"label":"","showLabel":false,"buttonPosition":"button-inside","buttonUseIcon":true} /--></main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
35
nested/templates/archive.html
Normal file
35
nested/templates/archive.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="padding-bottom:4rem"><!-- wp:query {"queryId":3,"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:query-title {"type":"archive","style":{"spacing":{"margin":{"bottom":"4rem"}}}} /-->
|
||||
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt {"showMoreOnNewLine":false,"style":{"typography":{"fontSize":"1.5rem"}}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"4rem","bottom":"4rem"}},"typography":{"fontSize":"1.5rem"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:4rem;margin-bottom:4rem;font-size:1.5rem"><!-- wp:query-pagination -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
27
nested/templates/home.html
Normal file
27
nested/templates/home.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"}},"backgroundColor":"primary","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-primary-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":{"post_tag":[3]},"parents":[]},"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-query alignfull"><!-- wp:post-template {"align":"full"} -->
|
||||
<!-- wp:cover {"useFeaturedImage":true,"isRepeated":true,"dimRatio":50,"minHeight":100,"minHeightUnit":"vh","align":"full","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"},"color":[]},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull is-repeated" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:cover {"useFeaturedImage":true,"hasParallax":true,"dimRatio":50,"contentPosition":"center center","style":{"spacing":{"padding":{"top":"2rem","right":"2.5rem","bottom":"2.5rem","left":"2.5rem"}},"border":{"color":"#ffffff","radius":"4px"},"color":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-cover has-parallax has-border-color" style="border-color:#ffffff;border-radius:4px;padding-top:2rem;padding-right:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"}},"dimensions":{"minHeight":"45vh"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group" style="min-height:45vh;margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:group {"layout":{"type":"constrained","justifyContent":"right","contentSize":"40%"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-excerpt {"textAlign":"left","showMoreOnNewLine":false,"excerptLength":45,"style":{"layout":{"selfStretch":"fit","flexSize":null},"typography":{"fontSize":"1.25rem"}}} /-->
|
||||
|
||||
<!-- wp:read-more {"content":"+","style":{"typography":{"lineHeight":"1","fontSize":"1.5rem"}},"textColor":"base"} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:post-title {"level":1,"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"lineHeight":"1"}},"textColor":"base"} /--></div>
|
||||
<!-- /wp:group --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:spacer {"height":"5vh","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
|
||||
<div style="margin-top:0px;margin-bottom:0px;height:5vh" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div></div>
|
||||
<!-- /wp:cover -->
|
||||
<!-- /wp:post-template --></main>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
33
nested/templates/index.html
Normal file
33
nested/templates/index.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!-- wp:template-part {"slug":"header"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="padding-bottom:4rem"><!-- wp:query {"queryId":3,"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 -->
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt {"showMoreOnNewLine":false,"style":{"typography":{"fontSize":"1.5rem"}}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"4rem","bottom":"4rem"}},"typography":{"fontSize":"1.5rem"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:4rem;margin-bottom:4rem;font-size:1.5rem"><!-- wp:query-pagination -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
13
nested/templates/page.html
Normal file
13
nested/templates/page.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!-- wp:template-part {"slug":"header-single"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false}} -->
|
||||
<main class="wp-block-group"><!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
|
||||
<!-- 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 --></main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer-post"} /-->
|
37
nested/templates/search.html
Normal file
37
nested/templates/search.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
<!-- wp:template-part {"slug":"header"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="padding-bottom:4rem"><!-- wp:group {"style":{"spacing":{"padding":{"bottom":"2rem"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="padding-bottom:2rem"><!-- wp:search {"showLabel":false,"placeholder":"Search...","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"width":"0px","style":"none"}},"backgroundColor":"primary","textColor":"base"} /--></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"queryId":3,"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 -->
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt {"showMoreOnNewLine":false,"style":{"typography":{"fontSize":"1.5rem"}}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"4rem","bottom":"4rem"}},"typography":{"fontSize":"1.5rem"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:4rem;margin-bottom:4rem;font-size:1.5rem"><!-- wp:query-pagination -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
57
nested/templates/single.html
Normal file
57
nested/templates/single.html
Normal file
|
@ -0,0 +1,57 @@
|
|||
<!-- wp:template-part {"slug":"header-single"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false}} -->
|
||||
<main class="wp-block-group"><!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta"} /--></main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:spacer {"height":"4rem"} -->
|
||||
<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
|
||||
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:comments-title /-->
|
||||
|
||||
<!-- wp:comment-template {"style":{"spacing":{"margin":{"bottom":"4rem"}}}} -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0rem","bottom":"4rem"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:0rem;margin-bottom:4rem"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<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 {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"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 {"style":{"typography":{"fontSize":"1.5rem"}}} /-->
|
||||
|
||||
<!-- wp:comment-reply-link /--></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:comment-template -->
|
||||
|
||||
<!-- wp:comments-pagination {"style":{"typography":{"fontSize":"1.5rem"}}} -->
|
||||
<!-- wp:comments-pagination-previous /-->
|
||||
|
||||
<!-- wp:comments-pagination-numbers /-->
|
||||
|
||||
<!-- wp:comments-pagination-next /-->
|
||||
<!-- /wp:comments-pagination -->
|
||||
|
||||
<!-- wp:post-comments-form /--></div>
|
||||
<!-- /wp:comments --></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 --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer-post"} /-->
|
1233
nested/theme.json
Normal file
1233
nested/theme.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue