JinJang: add theme for review (#7105)
Co-authored-by: Jason Crist <jcrist@pbking.com>
This commit is contained in:
parent
97089b87ff
commit
8ca9e8d7ca
19 changed files with 1530 additions and 0 deletions
60
jinjang/functions.php
Normal file
60
jinjang/functions.php
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/**
|
||||
* jinjang functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package jinjang
|
||||
* @since jinjang 1.0
|
||||
*/
|
||||
|
||||
|
||||
if ( ! function_exists( 'jinjang_support' ) ) :
|
||||
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*
|
||||
* @since jinjang 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function jinjang_support() {
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'style.css' );
|
||||
|
||||
// Make theme available for translation.
|
||||
load_theme_textdomain( 'jinjang' );
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'after_setup_theme', 'jinjang_support' );
|
||||
|
||||
if ( ! function_exists( 'jinjang_styles' ) ) :
|
||||
|
||||
/**
|
||||
* Enqueue styles.
|
||||
*
|
||||
* @since jinjang 1.0
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function jinjang_styles() {
|
||||
|
||||
// Register theme stylesheet.
|
||||
wp_register_style(
|
||||
'jinjang-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
array(),
|
||||
wp_get_theme()->get( 'Version' )
|
||||
);
|
||||
|
||||
// Enqueue theme stylesheet.
|
||||
wp_enqueue_style( 'jinjang-style' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'jinjang_styles' );
|
1
jinjang/parts/footer.html
Normal file
1
jinjang/parts/footer.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"jinjang/footer"} /-->
|
1
jinjang/parts/header.html
Normal file
1
jinjang/parts/header.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"jinjang/header"} /-->
|
15
jinjang/patterns/404.php
Normal file
15
jinjang/patterns/404.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A 404 page
|
||||
* Slug: jinjang/404
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:heading {"level":1,"anchor":"nothing-found"} -->
|
||||
<h1 class="wp-block-heading" id="nothing-found"><?php echo esc_html_x( 'Oops! That page can’t be found.', 'jinjang' ); ?></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html_x( 'It looks like nothing was found at this location. Maybe try a search?', 'jinjang' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
54
jinjang/patterns/comments.php
Normal file
54
jinjang/patterns/comments.php
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
* Slug: jinjang/comments
|
||||
* inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- 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 {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
|
||||
<!-- 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 {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:avatar {"size":48,"style":{"border":{"radius":"50%"}}} /-->
|
||||
|
||||
<!-- 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":"small"} /-->
|
||||
|
||||
<!-- wp:comment-reply-link /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:comment-template -->
|
||||
|
||||
<!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:comments-pagination-previous /-->
|
||||
|
||||
<!-- wp:comments-pagination-next /-->
|
||||
<!-- /wp:comments-pagination -->
|
||||
|
||||
<!-- wp:post-comments-form {"style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:comments -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
30
jinjang/patterns/footer.php
Normal file
30
jinjang/patterns/footer.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default footer
|
||||
* Slug: jinjang/footer
|
||||
* Categories: footer
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-contrast-color has-text-color has-link-color">
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:paragraph {"fontSize":"x-small"} -->
|
||||
<p class="has-x-small-font-size"><a href="#"><?php echo esc_html__( 'Instagram', 'jinjang' ); ?></a>/<a href="#"><?php echo esc_html__( 'Twitter', 'jinjang' ); ?></a>/<a href="#"><?php echo esc_html__( 'LinkedIn', 'jinjang' ); ?></a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"x-small"} -->
|
||||
<p class="has-x-small-font-size"><?php
|
||||
/* Translators: WordPress link. */
|
||||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'jinjang' ) ) . '" rel="nofollow">WordPress</a>';
|
||||
echo sprintf(
|
||||
esc_html__( 'Designed with %1$s', 'jinjang' ),
|
||||
$wordpress_link
|
||||
);?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
16
jinjang/patterns/header.php
Normal file
16
jinjang/patterns/header.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default header
|
||||
* Slug: jinjang/header
|
||||
* Categories: header
|
||||
* Block Types: core/template-part/header
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"dimensions":{"minHeight":"100vh"},"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"backgroundColor":"contrast","textColor":"base","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group has-base-color has-contrast-background-color has-text-color has-background has-link-color" style="min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:site-title /-->
|
||||
|
||||
<!-- wp:navigation {"overlayMenu":"never","overlayBackgroundColor":"contrast","overlayTextColor":"base","layout":{"type":"flex","orientation":"vertical"}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
10
jinjang/patterns/no-results-content.php
Normal file
10
jinjang/patterns/no-results-content.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: No Results Content
|
||||
* Slug: jinjang/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', 'jinjang' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
9
jinjang/patterns/search.php
Normal file
9
jinjang/patterns/search.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Search
|
||||
* Slug: jinjang/search
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'jinjang' ); ?>","buttonText":"Search","buttonUseIcon":true} /-->
|
32
jinjang/readme.txt
Normal file
32
jinjang/readme.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
=== jinjang ===
|
||||
Contributors: Automattic
|
||||
Requires at least: 5.8
|
||||
Tested up to: 6.1.1
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
JinJang is a blog theme with a split, 50:50 layout like Yan Yang.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.0 =
|
||||
* Initial release
|
||||
|
||||
== Copyright ==
|
||||
|
||||
jinjang WordPress Theme, (C) 2023 Automattic
|
||||
jinjang is distributed under the terms of the GNU GPL.
|
||||
jinjang is based on Lineup (https://wordpress.com/theme/lineup/), (C) Automattic, [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.
|
BIN
jinjang/screenshot.png
Normal file
BIN
jinjang/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
63
jinjang/style.css
Normal file
63
jinjang/style.css
Normal file
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
Theme Name: jinjang
|
||||
Theme URI: https://wordpress.com/theme/jinjang/
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com/
|
||||
Description: JinJang is a blog theme with a split, 50:50 layout like Yan Yang.
|
||||
Requires at least: 5.8
|
||||
Tested up to: 5.9
|
||||
Requires PHP: 5.7
|
||||
Version: 0.0.1
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Template:
|
||||
Text Domain: jinjang
|
||||
Tags: blog, one-column, two-columns, wide-blocks, block-patterns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, template-editing, threaded-comments, translation-ready
|
||||
*//*
|
||||
* Link styles
|
||||
* https://github.com/WordPress/gutenberg/issues/42319
|
||||
*/
|
||||
a {
|
||||
text-decoration-thickness: 1.0px !important;
|
||||
text-underline-offset: 1.5px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Form field styles
|
||||
* https://github.com/WordPress/gutenberg/issues/42319
|
||||
*/
|
||||
::placeholder {
|
||||
color: var(--wp--preset--color--contrast);
|
||||
opacity: 1; /* Firefox */
|
||||
}
|
||||
|
||||
/*
|
||||
* Avatar Block
|
||||
* Fix border radius setting for the avatar block
|
||||
* https://github.com/WordPress/gutenberg/issues/48253
|
||||
*/
|
||||
.wp-block-avatar a,
|
||||
.wp-block-avatar img {
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
/*
|
||||
* Button Block
|
||||
* 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--contrast);
|
||||
color: var(--wp--preset--color--base);
|
||||
border-color: var(--wp--preset--color--contrast);
|
||||
}
|
||||
|
||||
/*
|
||||
* Pull quote Block
|
||||
* Reset the browser default margins for blockquote element
|
||||
* https://github.com/WordPress/gutenberg/issues/44129
|
||||
*/
|
||||
.wp-block-pullquote blockquote {
|
||||
margin: 0;
|
||||
}
|
35
jinjang/templates/404.html
Normal file
35
jinjang/templates/404.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"backgroundColor":"contrast","textColor":"base"} -->
|
||||
<div class="wp-block-column has-base-color has-contrast-background-color has-text-color has-background">
|
||||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:group {"tagName":"main","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<main class="wp-block-group" style="min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:spacer {"height":"0px"} -->
|
||||
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:pattern {"slug":"jinjang/404"} /-->
|
||||
|
||||
<!-- wp:pattern {"slug":"jinjang/search"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
61
jinjang/templates/archive.html
Normal file
61
jinjang/templates/archive.html
Normal file
|
@ -0,0 +1,61 @@
|
|||
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"backgroundColor":"contrast","textColor":"base"} -->
|
||||
<div class="wp-block-column has-base-color has-contrast-background-color has-text-color has-background">
|
||||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group" style="min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:query {"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":"default"}} -->
|
||||
<main class="wp-block-query">
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:query-title {"type":"archive","showPrefix":false} /-->
|
||||
|
||||
<!-- wp:term-description {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"left","orientation":"vertical"}} -->
|
||||
<!-- wp:query-pagination-previous {"label":"Previous"} /-->
|
||||
|
||||
<!-- wp:query-pagination-next {"label":"Next"} /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:query -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
53
jinjang/templates/index.html
Normal file
53
jinjang/templates/index.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"backgroundColor":"contrast","textColor":"base"} -->
|
||||
<div class="wp-block-column has-base-color has-contrast-background-color has-text-color has-background">
|
||||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group" style="min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:query {"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 {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"left","orientation":"vertical"}} -->
|
||||
<!-- wp:query-pagination-previous {"label":"Previous"} /-->
|
||||
|
||||
<!-- wp:query-pagination-next {"label":"Next"} /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:query -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
39
jinjang/templates/page.html
Normal file
39
jinjang/templates/page.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"backgroundColor":"contrast","textColor":"base"} -->
|
||||
<div class="wp-block-column has-base-color has-contrast-background-color has-text-color has-background">
|
||||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group" style="min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"type":"constrained","justifyContent":"center"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:post-featured-image /-->
|
||||
|
||||
<!-- wp:post-title /-->
|
||||
|
||||
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"constrained","justifyContent":"center"}} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"jinjang/comments"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
59
jinjang/templates/search.html
Normal file
59
jinjang/templates/search.html
Normal file
|
@ -0,0 +1,59 @@
|
|||
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"backgroundColor":"contrast","textColor":"base"} -->
|
||||
<div class="wp-block-column has-base-color has-contrast-background-color has-text-color has-background">
|
||||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group" style="min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:pattern {"slug":"jinjang/search"} /-->
|
||||
|
||||
<!-- wp:query {"queryId":1,"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":"default"}} -->
|
||||
<main class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"left","orientation":"vertical"}} -->
|
||||
<!-- wp:query-pagination-previous {"label":"Previous"} /-->
|
||||
|
||||
<!-- wp:query-pagination-next {"label":"Next"} /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query-no-results -->
|
||||
<!-- wp:pattern {"slug":"jinjang/no-results-content"} /-->
|
||||
<!-- /wp:query-no-results -->
|
||||
</main>
|
||||
<!-- /wp:query -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
57
jinjang/templates/single.html
Normal file
57
jinjang/templates/single.html
Normal file
|
@ -0,0 +1,57 @@
|
|||
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column {"backgroundColor":"contrast","textColor":"base"} -->
|
||||
<div class="wp-block-column has-base-color has-contrast-background-color has-text-color has-background">
|
||||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}},"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<main class="wp-block-group" style="min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-featured-image /-->
|
||||
|
||||
<!-- wp:post-title /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->
|
||||
|
||||
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"constrained","justifyContent":"center"}} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-author-name /-->
|
||||
|
||||
<!-- wp:post-terms {"term":"category"} /-->
|
||||
|
||||
<!-- wp:post-terms {"term":"post_tag"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"},"blockGap":"0px"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left","orientation":"vertical"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:post-navigation-link {"type":"previous"} /-->
|
||||
|
||||
<!-- wp:post-navigation-link /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
935
jinjang/theme.json
Normal file
935
jinjang/theme.json
Normal file
|
@ -0,0 +1,935 @@
|
|||
{
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#000000",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#dd00ad",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
}
|
||||
]
|
||||
},
|
||||
"layout": {
|
||||
"contentSize": "800px",
|
||||
"wideSize": "1200px"
|
||||
},
|
||||
"shadow": {
|
||||
"defaultPresets": true,
|
||||
"presets": []
|
||||
},
|
||||
"spacing": {
|
||||
"customSpacingSize": true,
|
||||
"spacingScale": {
|
||||
"increment": 1.5,
|
||||
"mediumStep": 1.5,
|
||||
"operator": "*",
|
||||
"steps": 7,
|
||||
"unit": "rem"
|
||||
},
|
||||
"spacingSizes": [
|
||||
{
|
||||
"name": "1",
|
||||
"size": "0.5rem",
|
||||
"slug": "30"
|
||||
},
|
||||
{
|
||||
"name": "2",
|
||||
"size": "clamp(1rem, 1.415vw, 1.5rem)",
|
||||
"slug": "40"
|
||||
},
|
||||
{
|
||||
"name": "3",
|
||||
"size": "clamp(1.6875rem, 1.958vw, 2.125rem)",
|
||||
"slug": "50"
|
||||
},
|
||||
{
|
||||
"name": "4",
|
||||
"size": "clamp(1.90625rem, 2.876vw, 3.25rem)",
|
||||
"slug": "60"
|
||||
},
|
||||
{
|
||||
"name": "5",
|
||||
"size": "clamp(2.125rem, 3.633vw, 4.25rem)",
|
||||
"slug": "70"
|
||||
},
|
||||
{
|
||||
"name": "6",
|
||||
"size": "clamp(3.25rem, 5.449vw, 6.375rem)",
|
||||
"slug": "80"
|
||||
}
|
||||
],
|
||||
"units": [
|
||||
"%",
|
||||
"px",
|
||||
"em",
|
||||
"rem",
|
||||
"vh",
|
||||
"vw"
|
||||
]
|
||||
},
|
||||
"typography": {
|
||||
"fluid": true,
|
||||
"fontFamilies": [
|
||||
{
|
||||
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
|
||||
"name": "System Font",
|
||||
"slug": "system-font"
|
||||
}
|
||||
],
|
||||
"fontSizes": [
|
||||
{
|
||||
"fluid": false,
|
||||
"name": "Extra Small",
|
||||
"size": "0.833rem",
|
||||
"slug": "x-small"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "1rem",
|
||||
"min": "0.833rem"
|
||||
},
|
||||
"name": "Small",
|
||||
"size": "1rem",
|
||||
"slug": "small"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "1.44rem",
|
||||
"min": "1rem"
|
||||
},
|
||||
"name": "Medium",
|
||||
"size": "1.44rem",
|
||||
"slug": "medium"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "2.074rem",
|
||||
"min": "1.44rem"
|
||||
},
|
||||
"name": "Large",
|
||||
"size": "2.074rem",
|
||||
"slug": "large"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "2.986rem",
|
||||
"min": "2.074rem"
|
||||
},
|
||||
"name": "Extra Large",
|
||||
"size": "2.986rem",
|
||||
"slug": "x-large"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "4.3rem",
|
||||
"min": "2.986rem"
|
||||
},
|
||||
"name": "Double Entra Large",
|
||||
"size": "4.3rem",
|
||||
"slug": "xx-large"
|
||||
},
|
||||
{
|
||||
"fluid": {
|
||||
"max": "6.192rem",
|
||||
"min": "3.583rem"
|
||||
},
|
||||
"name": "Huge",
|
||||
"size": "6.192rem",
|
||||
"slug": "huge"
|
||||
}
|
||||
]
|
||||
},
|
||||
"useRootPaddingAwareAlignments": true
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/archives": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/avatar": {
|
||||
"border": {
|
||||
"radius": "999px"
|
||||
},
|
||||
"typography": {
|
||||
"lineHeight": "0"
|
||||
}
|
||||
},
|
||||
"core/button": {
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "16px",
|
||||
"left": "32px",
|
||||
"right": "32px",
|
||||
"top": "16px"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1"
|
||||
},
|
||||
"variations": {
|
||||
"outline": {
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "14px",
|
||||
"left": "30px",
|
||||
"right": "30px",
|
||||
"top": "14px"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/buttons": {
|
||||
"spacing": {
|
||||
"blockGap": "var(--wp--preset--spacing--40)"
|
||||
}
|
||||
},
|
||||
"core/calendar": {
|
||||
"css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} .wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th {border-color: var(--wp--preset--color--contrast);}:where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--base);}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/categories": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/code": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"radius": "0px",
|
||||
"style": "solid",
|
||||
"width": "1px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "var(--wp--preset--spacing--40)",
|
||||
"left": "var(--wp--preset--spacing--40)",
|
||||
"right": "var(--wp--preset--spacing--40)",
|
||||
"top": "var(--wp--preset--spacing--40)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "monospace",
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.25"
|
||||
}
|
||||
},
|
||||
"core/comment-author-name": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/comment-content": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/comment-date": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/comment-edit-link": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/comment-reply-link": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"border": {
|
||||
"color": "var:preset|color|contrast"
|
||||
},
|
||||
"color": {
|
||||
"background": "var:preset|color|contrast",
|
||||
"text": "var:preset|color|base"
|
||||
}
|
||||
},
|
||||
"border": {
|
||||
"color": "var:preset|color|primary",
|
||||
"radius": "0",
|
||||
"style": "solid",
|
||||
"width": "1px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": "3.5px 12px"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.157407407"
|
||||
}
|
||||
},
|
||||
"core/comments-pagination": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/comments-title": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)"
|
||||
}
|
||||
},
|
||||
"core/cover": {
|
||||
"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)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/image": {
|
||||
"css": " .wp-element-caption{text-align:center;}"
|
||||
},
|
||||
"core/latest-comments": {
|
||||
"css": " .wp-block-latest-comments__comment-date {font-size: var(--wp--preset--font-size--x-small);}.wp-block-latest-comments__comment-excerpt p{font-size: var(--wp--preset--font-size--small);}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "0px"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/latest-posts": {
|
||||
"css": " .wp-block-latest-posts__post-author,.wp-block-latest-posts__post-date {font-size: var(--wp--preset--font-size--x-small);}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/list": {
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/navigation": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--base);} :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)), :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu a:not(.wp-element-button)), :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-submenu button.wp-block-navigation-item__content), :where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-pages-list__item button.wp-block-navigation-item__content) {padding:0.5em;} .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);} .wp-block-navigation__submenu-container.has-background {padding:0;}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": "0px"
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--huge)",
|
||||
"fontWeight": "700",
|
||||
"letterSpacing": "-0.02em",
|
||||
"lineHeight": "0.8",
|
||||
"textDecoration": "none",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
},
|
||||
"core/page-list": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/paragraph": {
|
||||
"typography": {
|
||||
"lineHeight": "calc(1em + 0.6875rem)"
|
||||
}
|
||||
},
|
||||
"core/post-author": {
|
||||
"css": ".wp-block-post-author .wp-block-post-author__byline, .wp-block-post-author .wp-block-post-author__bio {font-size:inherit;} .wp-block-post-author__avatar img {vertical-align:middle;} .wp-block-post-author__bio {margin:0;} .wp-block-post-author__avatar img {border-radius: 999px;}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/post-author-biography": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/post-author-name": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/post-comments-form": {
|
||||
"css": ".wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]), .wp-block-post-comments-form .comment-form textarea {line-height: inherit;} .wp-block-post-comments-form .form-submit {margin-bottom: 0;} .wp-block-post-comments-form input:not([type=submit]), .wp-block-post-comments-form textarea {background-color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--contrast);}",
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"core/post-date": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/post-navigation-link": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-large)",
|
||||
"fontWeight": "700",
|
||||
"letterSpacing": "-0.02em",
|
||||
"lineHeight": "1"
|
||||
}
|
||||
},
|
||||
"core/post-template": {
|
||||
"css": ".wp-block-post-template > * + * { margin-block-start: var(--wp--preset--spacing--70)}"
|
||||
},
|
||||
"core/post-terms": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/post-title": {
|
||||
"color": {
|
||||
"text": "var:preset|color|contrast"
|
||||
},
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"text": "var:preset|color|contrast"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var:preset|font-size|x-large",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
},
|
||||
"core/pullquote": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"style": "solid",
|
||||
"width": "1px 0"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": "var(--wp--preset--spacing--40)"
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
"core/query-pagination": {
|
||||
"css": ".wp-block-query-pagination>.wp-block-query-pagination-next, .wp-block-query-pagination>.wp-block-query-pagination-numbers, .wp-block-query-pagination>.wp-block-query-pagination-previous {margin: 0;}\n\n.wp-block-query-pagination.wp-block-query-pagination-is-layout-flex {gap:0;}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-large)",
|
||||
"fontWeight": "700",
|
||||
"letterSpacing": "-0.02em",
|
||||
"lineHeight": "1"
|
||||
}
|
||||
},
|
||||
"core/query-title": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-large)"
|
||||
}
|
||||
},
|
||||
"core/quote": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"style": "solid",
|
||||
"width": "0 0 0 1px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
"core/read-more": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-small)"
|
||||
}
|
||||
},
|
||||
"core/rss": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"border": {
|
||||
"radius": "0px"
|
||||
},
|
||||
"css": " .wp-block-search__input {border-color: var(--wp--preset--color--contrast);} .wp-block-search__button-inside .wp-block-search__inside-wrapper {padding: 2px;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {background-color: var(--wp--preset--color--base);border-color: var(--wp--preset--color--contrast);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {padding: 0 0 0 var(--wp--preset--spacing--40);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button {padding-right: var(--wp--preset--spacing--40);padding-left: var(--wp--preset--spacing--40);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button, :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button {background-color: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast);} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button:hover, :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-element-button:focus {background-color: var(--wp--preset--color--base); color: var(--wp--preset--color--primary);}",
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1"
|
||||
}
|
||||
},
|
||||
"core/separator": {
|
||||
"border": {
|
||||
"color": "currentColor",
|
||||
"style": "solid",
|
||||
"width": "0 0 1px 0"
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
}
|
||||
},
|
||||
"core/site-tagline": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
},
|
||||
"core/site-title": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"fontWeight": "700",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
},
|
||||
"core/social-links": {
|
||||
"spacing": {
|
||||
"blockGap": {
|
||||
"left": "var(--wp--preset--spacing--40)",
|
||||
"top": "var(--wp--preset--spacing--40)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/table": {
|
||||
"css": " + .wp-element-caption {font-size: var(--wp--preset--font-size--small); text-align:center;} .wp-block-table td,.wp-block-table th {padding: var(--wp--preset--spacing--30);} .wp-block-table thead {border-bottom: 3px solid;} .wp-block-table tfoot {border-top: 3px solid;}"
|
||||
},
|
||||
"core/table-of-contents": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/tag-cloud": {
|
||||
"css": ".wp-block-tag-cloud.is-style-outline a {border-radius: 999px; padding: 0 1rem;} .wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base); background-color: var(--wp--preset--color--contrast);}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/term-description": {
|
||||
"css": ".wp-block-term-description p:first-child {margin-top: 0;} .wp-block-term-description p:last-child {margin-bottom: 0;} p {line-height:inherit;}",
|
||||
"typography": {
|
||||
"fontSize": "var:preset|font-size|small",
|
||||
"lineHeight": "1.5"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--base)",
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"elements": {
|
||||
"button": {
|
||||
":active": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--contrast)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
":focus": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
":hover": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
"border": {
|
||||
"radius": "0"
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--contrast)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "18px",
|
||||
"left": "36px",
|
||||
"right": "36px",
|
||||
"top": "18px"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"fontWeight": "600",
|
||||
"lineHeight": "1"
|
||||
}
|
||||
},
|
||||
"caption": {
|
||||
"color": {
|
||||
"text": "var:preset|color|contrast"
|
||||
},
|
||||
"spacing": {
|
||||
"margin": {
|
||||
"bottom": "var(--wp--preset--spacing--50)",
|
||||
"top": "var(--wp--preset--spacing--30)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var:preset|font-size|x-small"
|
||||
}
|
||||
},
|
||||
"h1": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--xx-large)"
|
||||
}
|
||||
},
|
||||
"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": "var(--wp--preset--font-size--small)"
|
||||
}
|
||||
},
|
||||
"h6": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-small)"
|
||||
}
|
||||
},
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontWeight": "700",
|
||||
"letterSpacing": "-0.02em",
|
||||
"lineHeight": "1.05"
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": "var(--wp--preset--spacing--50)",
|
||||
"padding": {
|
||||
"bottom": "0",
|
||||
"left": "var(--wp--preset--spacing--70)",
|
||||
"right": "var(--wp--preset--spacing--70)",
|
||||
"top": "0"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--system-font)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"lineHeight": "1.47569"
|
||||
}
|
||||
},
|
||||
"templateParts": [
|
||||
{
|
||||
"area": "header",
|
||||
"name": "header"
|
||||
},
|
||||
{
|
||||
"area": "footer",
|
||||
"name": "footer"
|
||||
}
|
||||
],
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
Loading…
Reference in a new issue