Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c1f596c755 |
18 changed files with 864 additions and 0 deletions
58
club/functions.php
Normal file
58
club/functions.php
Normal file
|
@ -0,0 +1,58 @@
|
|||
<?php
|
||||
/**
|
||||
* Club functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package Club
|
||||
* @since Club 1.0
|
||||
*/
|
||||
|
||||
|
||||
if ( ! function_exists( 'block_canvas_support' ) ) :
|
||||
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*
|
||||
* @since Club 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function block_canvas_support() {
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'style.css' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'after_setup_theme', 'block_canvas_support' );
|
||||
|
||||
if ( ! function_exists( 'block_canvas_styles' ) ) :
|
||||
|
||||
/**
|
||||
* Enqueue styles.
|
||||
*
|
||||
* @since Club 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function block_canvas_styles() {
|
||||
|
||||
// Register theme stylesheet.
|
||||
wp_register_style(
|
||||
'block_canvas-style',
|
||||
get_template_directory_uri() . '/style.css',
|
||||
array(),
|
||||
wp_get_theme()->get( 'Version' )
|
||||
);
|
||||
|
||||
// Enqueue theme stylesheet.
|
||||
wp_enqueue_style( 'block_canvas-style' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'block_canvas_styles' );
|
2
club/index.php
Normal file
2
club/index.php
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?php
|
||||
# This page intentionally left blank
|
11
club/parts/footer.html
Normal file
11
club/parts/footer.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","bottom":"30px"}}}} -->
|
||||
<div class="wp-block-group" style="padding-top:80px;padding-bottom:30px">
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
29
club/parts/header.html
Normal file
29
club/parts/header.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!-- wp:group {"className":"gapless-group","layout":{"inherit":"true"}} -->
|
||||
<div class="wp-block-group gapless-group">
|
||||
<!-- wp:group {"align":"full","layout":{"type":"flex","justifyContent":"space-between"},"style":{"spacing":{"padding":{"bottom":"var(--wp--custom--gap--vertical)","top":"var(--wp--custom--gap--vertical)"}}}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-bottom:var(--wp--custom--gap--vertical);padding-top:var(--wp--custom--gap--vertical)">
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:site-logo {"width":64} /-->
|
||||
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:site-title /-->
|
||||
<!-- wp:site-tagline /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:navigation {"__unstableLocation":"primary","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /-->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:spacer {"height":50} -->
|
||||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
12
club/parts/post-meta.html
Normal file
12
club/parts/post-meta.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"layout":{"type":"flex"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-author {"showAvatar":false,"showBio":false,"style":{"typography":{"fontSize":"14px"}}} /-->
|
||||
<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"14px"}}} /-->
|
||||
<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"14px"}}} /-->
|
||||
<!-- wp:post-terms {"term": "post_tag","style":{"typography":{"fontSize":"14px"}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
16
club/patterns/404.php
Normal file
16
club/patterns/404.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A 404 page
|
||||
* Slug: club/404
|
||||
* Inserter: no
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"medium"} -->
|
||||
<h1 class="has-text-align-center has-medium-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'club' ); ?></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'club' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
61
club/patterns/comments.php
Normal file
61
club/patterns/comments.php
Normal file
|
@ -0,0 +1,61 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
* slug: club/comments
|
||||
* inserter: no
|
||||
*/
|
||||
|
||||
?>
|
||||
<!-- wp:comments-query-loop -->
|
||||
<div class="wp-block-comments-query-loop">
|
||||
<!-- wp:comments-title /-->
|
||||
|
||||
<!-- wp:comment-template -->
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"width":"40px"} -->
|
||||
<div class="wp-block-column" style="flex-basis:40px"></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"},"spacing":{"margin":{"top":"10px"}}}} /-->
|
||||
|
||||
<!-- 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 /-->
|
||||
|
||||
<!-- wp:comment-reply-link /-->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
<!-- /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-query-loop -->
|
116
club/style.css
Normal file
116
club/style.css
Normal file
|
@ -0,0 +1,116 @@
|
|||
/*
|
||||
Theme Name: Club
|
||||
Theme URI: https://github.com/Automattic/themes/tree/trunk/club
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com/
|
||||
Description: Club is a funky, bright theme with vibrant colors and a quirky aesthetic that speaks to a younger audience.
|
||||
Requires at least: 5.8
|
||||
Tested up to: 6.0
|
||||
Requires PHP: 5.7
|
||||
Version: 0.0.11
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: club
|
||||
Tags:
|
||||
|
||||
Club WordPress Theme, (C) 2021 Automattic, Inc.
|
||||
Club 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.
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
* Font smoothing
|
||||
*/
|
||||
|
||||
body {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
/*
|
||||
* Button hover styles.
|
||||
* Necessary until the following issue is resolved in Gutenberg:
|
||||
* https://github.com/WordPress/gutenberg/issues/27075
|
||||
*/
|
||||
|
||||
.wp-block-search__button:hover,
|
||||
.wp-block-file .wp-block-file__button:hover,
|
||||
.wp-block-button__link:hover {
|
||||
background-color: var(--wp--preset--color--secondary);
|
||||
}
|
||||
|
||||
/*
|
||||
* Alignment styles, borrowed from Twenty Twenty-Two.
|
||||
* These rules are temporary, and should not be relied on or
|
||||
* modified too heavily by themes or plugins that build on
|
||||
* Twenty Twenty-Two. These are meant to be a precursor to
|
||||
* a global solution provided by the Block Editor.
|
||||
*
|
||||
* Relevant issues:
|
||||
* https://github.com/WordPress/gutenberg/issues/35607
|
||||
* https://github.com/WordPress/gutenberg/issues/35884
|
||||
*/
|
||||
|
||||
.wp-site-blocks,
|
||||
body > .is-root-container,
|
||||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.wp-block-columns.alignfull.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
|
||||
padding-left: var(--wp--custom--gap--horizontal);
|
||||
padding-right: var(--wp--custom--gap--horizontal);
|
||||
}
|
||||
|
||||
.wp-site-blocks .alignfull,
|
||||
.wp-site-blocks > .wp-block-group.has-background,
|
||||
.wp-site-blocks > .wp-block-cover,
|
||||
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
|
||||
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
|
||||
body > .is-root-container > .wp-block-cover,
|
||||
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
|
||||
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
|
||||
.is-root-container .wp-block[data-align='full'] {
|
||||
margin-left: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
|
||||
margin-right: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
|
||||
max-width: unset;
|
||||
width: unset;
|
||||
}
|
||||
|
||||
/* Blocks inside columns don't have negative margins. */
|
||||
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
|
||||
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
|
||||
/* We also want to avoid stacking negative margins. */
|
||||
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
|
||||
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important;
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
/*
|
||||
* Responsive menu container padding.
|
||||
* This ensures the responsive container inherits the same
|
||||
* spacing defined above. This behavior may be built into
|
||||
* the Block Editor in the future.
|
||||
*/
|
||||
|
||||
.wp-block-navigation__responsive-container.is-menu-open {
|
||||
padding-top: var(--wp--custom--gap--horizontal);
|
||||
padding-bottom: var(--wp--custom--gap--vertical);
|
||||
padding-right: var(--wp--custom--gap--horizontal);
|
||||
padding-left: var(--wp--custom--gap--horizontal);
|
||||
}
|
12
club/templates/404.html
Normal file
12
club/templates/404.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","layout":{"inherit":true}} -->
|
||||
<main class="wp-block-group">
|
||||
|
||||
<!-- wp:pattern {"slug":"club/404"} /-->
|
||||
<!-- wp:search {"label":""} /-->
|
||||
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
33
club/templates/archive.html
Normal file
33
club/templates/archive.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
|
||||
<main class="wp-block-query">
|
||||
<!-- wp:query-title {"type":"archive","style":{"spacing":{"margin":{"bottom":"100px"}}}} /-->
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- wp:template-part {"slug":"post-meta","layout":{"inherit":true}} /-->
|
||||
<!-- wp:spacer {"height":40} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:query-pagination -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
1
club/templates/blank.html
Normal file
1
club/templates/blank.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:post-content {"layout":{"inherit":true}} /-->
|
3
club/templates/footer-only.html
Normal file
3
club/templates/footer-only.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<!-- wp:post-content {"layout":{"inherit":true}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
10
club/templates/header-footer-only.html
Normal file
10
club/templates/header-footer-only.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main"} -->
|
||||
<main class="wp-block-group">
|
||||
|
||||
<!-- wp:post-content {"layout":{"inherit":true}} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
33
club/templates/index.html
Normal file
33
club/templates/index.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
|
||||
<main class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
<!-- wp:spacer {"height":40} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:query-pagination -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
|
27
club/templates/page.html
Normal file
27
club/templates/page.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"tagName":"main"} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:post-featured-image {"align":"full"} /-->
|
||||
|
||||
<!-- wp:post-content {"layout":{"inherit":true}} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:spacer {"height":60} -->
|
||||
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
<!-- wp:pattern {"slug":"club/comments"} -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
47
club/templates/search.html
Normal file
47
club/templates/search.html
Normal file
|
@ -0,0 +1,47 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:search /-->
|
||||
|
||||
<!-- wp:spacer {"height":40} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"layout":{"inherit":true}} -->
|
||||
<main class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta","layout":{"inherit":true}} /-->
|
||||
|
||||
<!-- wp:spacer {"height":40} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:query-pagination -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
28
club/templates/single.html
Normal file
28
club/templates/single.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"tagName":"main"} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:post-featured-image {"align":"full"} /-->
|
||||
|
||||
<!-- wp:post-content {"layout":{"inherit":true}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"post-meta"} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:spacer {"height":60} -->
|
||||
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
<!-- wp:pattern {"slug":"club/comments"} -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
365
club/theme.json
Normal file
365
club/theme.json
Normal file
|
@ -0,0 +1,365 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||
"customTemplates": [
|
||||
{
|
||||
"name": "blank",
|
||||
"postTypes": [
|
||||
"page",
|
||||
"post"
|
||||
],
|
||||
"title": "Blank"
|
||||
},
|
||||
{
|
||||
"name": "header-footer-only",
|
||||
"postTypes": [
|
||||
"page",
|
||||
"post"
|
||||
],
|
||||
"title": "Header and Footer Only"
|
||||
},
|
||||
{
|
||||
"name": "footer-only",
|
||||
"postTypes": [
|
||||
"page",
|
||||
"post"
|
||||
],
|
||||
"title": "Footer Only"
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#007cba",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
},
|
||||
{
|
||||
"color": "#006ba1",
|
||||
"name": "Secondary",
|
||||
"slug": "secondary"
|
||||
},
|
||||
{
|
||||
"color": "#333333",
|
||||
"name": "Foreground",
|
||||
"slug": "foreground"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Background",
|
||||
"slug": "background"
|
||||
},
|
||||
{
|
||||
"color": "#F0F0F0",
|
||||
"name": "Tertiary",
|
||||
"slug": "tertiary"
|
||||
}
|
||||
]
|
||||
},
|
||||
"custom": {
|
||||
"gap": {
|
||||
"horizontal": "min(30px, 5vw)",
|
||||
"vertical": "min(30px, 5vw)"
|
||||
}
|
||||
},
|
||||
"layout": {
|
||||
"contentSize": "620px",
|
||||
"wideSize": "1000px"
|
||||
},
|
||||
"spacing": {
|
||||
"units": [
|
||||
"%",
|
||||
"px",
|
||||
"em",
|
||||
"rem",
|
||||
"vh",
|
||||
"vw"
|
||||
]
|
||||
},
|
||||
"typography": {
|
||||
"fontFamilies": [
|
||||
{
|
||||
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
|
||||
"name": "System Font",
|
||||
"slug": "system-font"
|
||||
}
|
||||
],
|
||||
"fontSizes": [
|
||||
{
|
||||
"name": "Small",
|
||||
"size": "1rem",
|
||||
"slug": "small"
|
||||
},
|
||||
{
|
||||
"name": "Medium",
|
||||
"size": "1.5rem",
|
||||
"slug": "medium"
|
||||
},
|
||||
{
|
||||
"name": "Large",
|
||||
"size": "1.75rem",
|
||||
"slug": "large"
|
||||
},
|
||||
{
|
||||
"name": "Extra Large",
|
||||
"size": "2rem",
|
||||
"slug": "x-large"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"border": {
|
||||
"radius": "4px"
|
||||
}
|
||||
},
|
||||
"core/code": {
|
||||
"border": {
|
||||
"color": "#CCCCCC",
|
||||
"radius": "0px",
|
||||
"style": "solid",
|
||||
"width": "2px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "var(--wp--custom--gap--vertical)",
|
||||
"left": "var(--wp--custom--gap--horizontal)",
|
||||
"right": "var(--wp--custom--gap--horizontal)",
|
||||
"top": "var(--wp--custom--gap--vertical)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "monospace"
|
||||
}
|
||||
},
|
||||
"core/comment-author-name": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-date": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-edit-link": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/comment-reply-link": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"core/comments-title": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)"
|
||||
}
|
||||
},
|
||||
"core/comment-content": {
|
||||
"typography": {
|
||||
"fontSize": "1.125rem",
|
||||
"lineHeight": "1.6"
|
||||
}
|
||||
},
|
||||
"core/gallery": {
|
||||
"spacing": {
|
||||
"margin": {
|
||||
"bottom": "var(--wp--custom--gap--vertical)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/heading": {
|
||||
"typography": {
|
||||
"fontWeight": "400",
|
||||
"lineHeight": "1.125"
|
||||
}
|
||||
},
|
||||
"core/list": {
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "calc( 2 * var(--wp--custom--gap--horizontal) )"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/navigation": {
|
||||
"typography": {
|
||||
"fontSize": "1.125rem"
|
||||
}
|
||||
},
|
||||
"core/post-date": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--foreground)"
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/post-title": {
|
||||
"spacing": {
|
||||
"margin": {
|
||||
"bottom": "0"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)",
|
||||
"lineHeight": "1.125"
|
||||
}
|
||||
},
|
||||
"core/pullquote": {
|
||||
"border": {
|
||||
"style": "solid",
|
||||
"width": "1px 0"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "var(--wp--custom--gap--horizontal)",
|
||||
"left": "var(--wp--custom--gap--horizontal)",
|
||||
"right": "var(--wp--custom--gap--horizontal)",
|
||||
"top": "var(--wp--custom--gap--horizontal)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)",
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
"core/quote": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--primary)",
|
||||
"style": "solid",
|
||||
"width": "0 0 0 1px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--custom--gap--horizontal)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "1.125rem",
|
||||
"fontStyle": "normal"
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"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-tagline": {
|
||||
"typography": {
|
||||
"fontSize": "0.825rem"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"typography": {
|
||||
"fontSize": "1.125rem",
|
||||
"fontWeight": "700",
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--background)",
|
||||
"text": "var(--wp--preset--color--foreground)"
|
||||
},
|
||||
"elements": {
|
||||
"button": {
|
||||
"border": {
|
||||
"radius": "0"
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"text": "var(--wp--preset--color--background)"
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--system-font)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"fontWeight": "normal",
|
||||
"lineHeight": "2",
|
||||
"textDecoration": "none"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"top": "calc(0.667em + 2px)",
|
||||
"bottom": "calc(0.667em + 2px)",
|
||||
"left": "calc(1.333em + 2px)",
|
||||
"right": "calc(1.333em + 2px)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"h1": {
|
||||
"typography": {
|
||||
"fontSize": "3rem"
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-large)"
|
||||
}
|
||||
},
|
||||
"h3": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)"
|
||||
}
|
||||
},
|
||||
"h4": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"h5": {
|
||||
"typography": {
|
||||
"fontSize": "1.125rem"
|
||||
}
|
||||
},
|
||||
"h6": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": "30px"
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--system-font)",
|
||||
"fontSize": "1.125rem",
|
||||
"lineHeight": "1.6"
|
||||
}
|
||||
},
|
||||
"templateParts": [
|
||||
{
|
||||
"area": "header",
|
||||
"name": "header"
|
||||
},
|
||||
{
|
||||
"area": "footer",
|
||||
"name": "footer"
|
||||
}
|
||||
],
|
||||
"version": 2
|
||||
}
|
Loading…
Add table
Reference in a new issue