Spiel: Add theme (#7531)
This commit is contained in:
parent
17d4fac6ea
commit
977b5b1a07
45 changed files with 2145 additions and 0 deletions
BIN
spiel/assets/fonts/manrope_italic_200.ttf
Normal file
BIN
spiel/assets/fonts/manrope_italic_200.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_italic_300.ttf
Normal file
BIN
spiel/assets/fonts/manrope_italic_300.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_italic_400.ttf
Normal file
BIN
spiel/assets/fonts/manrope_italic_400.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_italic_500.ttf
Normal file
BIN
spiel/assets/fonts/manrope_italic_500.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_italic_600.ttf
Normal file
BIN
spiel/assets/fonts/manrope_italic_600.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_italic_700.ttf
Normal file
BIN
spiel/assets/fonts/manrope_italic_700.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_italic_800.ttf
Normal file
BIN
spiel/assets/fonts/manrope_italic_800.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_normal_200.ttf
Normal file
BIN
spiel/assets/fonts/manrope_normal_200.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_normal_300.ttf
Normal file
BIN
spiel/assets/fonts/manrope_normal_300.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_normal_400.ttf
Normal file
BIN
spiel/assets/fonts/manrope_normal_400.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_normal_500.ttf
Normal file
BIN
spiel/assets/fonts/manrope_normal_500.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_normal_600.ttf
Normal file
BIN
spiel/assets/fonts/manrope_normal_600.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_normal_700.ttf
Normal file
BIN
spiel/assets/fonts/manrope_normal_700.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/manrope_normal_800.ttf
Normal file
BIN
spiel/assets/fonts/manrope_normal_800.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/orbitron_normal_400.ttf
Normal file
BIN
spiel/assets/fonts/orbitron_normal_400.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/orbitron_normal_500.ttf
Normal file
BIN
spiel/assets/fonts/orbitron_normal_500.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/orbitron_normal_600.ttf
Normal file
BIN
spiel/assets/fonts/orbitron_normal_600.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/orbitron_normal_700.ttf
Normal file
BIN
spiel/assets/fonts/orbitron_normal_700.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/orbitron_normal_800.ttf
Normal file
BIN
spiel/assets/fonts/orbitron_normal_800.ttf
Normal file
Binary file not shown.
BIN
spiel/assets/fonts/orbitron_normal_900.ttf
Normal file
BIN
spiel/assets/fonts/orbitron_normal_900.ttf
Normal file
Binary file not shown.
60
spiel/functions.php
Normal file
60
spiel/functions.php
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Spiel functions and definitions
|
||||||
|
*
|
||||||
|
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||||
|
*
|
||||||
|
* @package Spiel
|
||||||
|
* @since Spiel 1.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
if ( ! function_exists( 'spiel_support' ) ) :
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets up theme defaults and registers support for various WordPress features.
|
||||||
|
*
|
||||||
|
* @since Spiel 1.0
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
function spiel_support() {
|
||||||
|
|
||||||
|
// Enqueue editor styles.
|
||||||
|
add_editor_style( 'style.css' );
|
||||||
|
|
||||||
|
// Make theme available for translation.
|
||||||
|
load_theme_textdomain( 'spiel' );
|
||||||
|
}
|
||||||
|
|
||||||
|
endif;
|
||||||
|
|
||||||
|
add_action( 'after_setup_theme', 'spiel_support' );
|
||||||
|
|
||||||
|
if ( ! function_exists( 'spiel_styles' ) ) :
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enqueue styles.
|
||||||
|
*
|
||||||
|
* @since Spiel 1.0
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
function spiel_styles() {
|
||||||
|
|
||||||
|
// Register theme stylesheet.
|
||||||
|
wp_register_style(
|
||||||
|
'spiel-style',
|
||||||
|
get_stylesheet_directory_uri() . '/style.css',
|
||||||
|
array(),
|
||||||
|
wp_get_theme()->get( 'Version' )
|
||||||
|
);
|
||||||
|
|
||||||
|
// Enqueue theme stylesheet.
|
||||||
|
wp_enqueue_style( 'spiel-style' );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
endif;
|
||||||
|
|
||||||
|
add_action( 'wp_enqueue_scripts', 'spiel_styles' );
|
53
spiel/parts/comments.html
Normal file
53
spiel/parts/comments.html
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
<!-- wp:comments {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"className":"wp-block-comments-query-loop"} -->
|
||||||
|
<div class="wp-block-comments wp-block-comments-query-loop" style="margin-top:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:group {"layout":{"type":"constrained","contentSize":"650px"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:comments-title {"level":3} /-->
|
||||||
|
|
||||||
|
<!-- wp:comment-template {"style":{"spacing":{"padding":{"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":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:avatar {"size":48} /-->
|
||||||
|
|
||||||
|
<!-- wp:group -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:comment-author-name {"fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- 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","style":{"elements":{"link":{"color":[],":hover":{"color":{"text":"var:preset|color|primary"}}}},"color":[]},"textColor":"contrast"} /-->
|
||||||
|
|
||||||
|
<!-- wp:comment-edit-link {"style":{"elements":{"link":{"color":[],":hover":{"color":{"text":"var:preset|color|primary"}}}}}} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:comment-content {"fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:comment-reply-link {"fontSize":"small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:comment-template -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:comments-pagination {"style":{"typography":[]},"layout":{"type":"flex","justifyContent":"space-between"},"fontSize":"small"} -->
|
||||||
|
<!-- wp:comments-pagination-previous /-->
|
||||||
|
|
||||||
|
<!-- wp:comments-pagination-numbers /-->
|
||||||
|
|
||||||
|
<!-- wp:comments-pagination-next /-->
|
||||||
|
<!-- /wp:comments-pagination -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:post-comments-form /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:comments -->
|
1
spiel/parts/footer.html
Normal file
1
spiel/parts/footer.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<!-- wp:pattern {"slug":"spiel/footer"} /-->
|
1
spiel/parts/header.html
Normal file
1
spiel/parts/header.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<!-- wp:pattern {"slug":"spiel/header"} /-->
|
1
spiel/parts/sidebar.html
Normal file
1
spiel/parts/sidebar.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<!-- wp:pattern {"slug":"spiel/sidebar"} /-->
|
19
spiel/patterns/404.php
Normal file
19
spiel/patterns/404.php
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: A 404 page
|
||||||
|
* Slug: spiel/404
|
||||||
|
* Inserter: no
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":1,"align":"wide","fontSize":"xxx-large","anchor":"oops-that-page-can-t-be-found"} -->
|
||||||
|
<h1 class="wp-block-heading alignwide has-text-align-center has-xxx-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'spiel' ); ?></h1>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph -->
|
||||||
|
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'spiel' ); ?></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:pattern {"slug":"spiel/search"} /-->
|
65
spiel/patterns/category-links.php
Normal file
65
spiel/patterns/category-links.php
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Category Links
|
||||||
|
* Slug: spiel/category-links
|
||||||
|
* Categories: featured
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:group {"align":"wide","style":{"border":{"bottom":{"color":"var:preset|color|contrast","style":"solid","width":"3px"},"top":[],"right":[],"left":[]},"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:solid;border-bottom-width:3px;margin-bottom:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-medium-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Categories', 'spiel' ); ?></h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|30"},"typography":{"fontStyle":"normal","fontWeight":"600"}},"layout":{"type":"flex","flexWrap":"wrap"},"fontSize":"xxxx-large"} -->
|
||||||
|
<div class="wp-block-group alignwide has-xxxx-large-font-size" style="font-style:normal;font-weight:600">
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Reviews', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'News', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Guides', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Deals', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Videos', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Reader', 'spiel' ); ?> Poll</a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Features', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Staff Picks', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Game Culture', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"typography":{"lineHeight":"0.9"}},"textColor":"contrast"} -->
|
||||||
|
<p class="has-contrast-color has-text-color has-link-color" style="line-height:0.9"><a href="#"><?php echo esc_html__( 'Podcast', 'spiel' ); ?></a>.</p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
39
spiel/patterns/featured-posts.php
Normal file
39
spiel/patterns/featured-posts.php
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Trending Posts
|
||||||
|
* Slug: spiel/trending-posts
|
||||||
|
* Categories: featured
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:group {"align":"wide","style":{"border":{"bottom":{"color":"var:preset|color|contrast","style":"solid","width":"3px"}},"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:solid;border-bottom-width:3px;margin-bottom:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-medium-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Trending', 'spiel' ); ?></h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:query {"queryId":2,"query":{"perPage":"4","pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"align":"wide"} -->
|
||||||
|
<div class="wp-block-query alignwide">
|
||||||
|
<!-- wp:post-template {"layout":{"type":"grid","columnCount":4}} -->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0.25rem"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-terms {"term":"category"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"isLink":true,"fontSize":"medium"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"isLink":true} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
57
spiel/patterns/footer.php
Normal file
57
spiel/patterns/footer.php
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Default footer
|
||||||
|
* Slug: spiel/footer
|
||||||
|
* Categories: footer
|
||||||
|
* Block Types: core/template-part/footer
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"border":{"top":{"color":"var:preset|color|secondary","width":"1px"}}},"backgroundColor":"black","textColor":"base","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-color has-black-background-color has-text-color has-background has-link-color" style="border-top-color:var(--wp--preset--color--secondary);border-top-width:1px">
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70","right":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:paragraph {"align":"center"} -->
|
||||||
|
<p class="has-text-align-center"><?php echo esc_html__( 'At Spiel, every click is an adventure in the gaming world. Whether you’re a casual or hardcore gamer, we’re your go-to for the latest news, tips, and trends.', 'spiel' ); ?></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}}} -->
|
||||||
|
<p class="has-text-align-center" style="margin-top:var(--wp--preset--spacing--70)"><?php echo esc_html__( 'Subscribe to our newsletters. We’ll keep you in the loop.', 'spiel' ); ?></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:jetpack/subscriptions {"submitButtonText":"➔","buttonBackgroundColor":"contrast","textColor":"base","borderColor":"secondary","successMessage":"An email was just sent to confirm your subscription.","className":"is-style-compact","style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:social-links {"iconColor":"base","iconColorValue":"#ffffff","size":"has-small-icon-size","style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"center"}} -->
|
||||||
|
<ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only" style="margin-top:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:social-link {"url":"#","service":"facebook"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"instagram"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"tiktok"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"mastodon"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"youtube"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"x"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"twitch"} /-->
|
||||||
|
</ul>
|
||||||
|
<!-- /wp:social-links -->
|
||||||
|
|
||||||
|
<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","justifyContent":"center"}} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","right":"var:preset|spacing|50","left":"var:preset|spacing|50"},"margin":{"top":"0px"}},"border":{"top":{"color":"var:preset|color|secondary","style":"solid","width":"1px"}}}} -->
|
||||||
|
<div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--secondary);border-top-style:solid;border-top-width:1px;margin-top:0px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:paragraph {"align":"center","fontSize":"x-small"} -->
|
||||||
|
<p class="has-text-align-center has-x-small-font-size"><?php
|
||||||
|
/* Translators: WordPress link. */
|
||||||
|
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'spiel' ) ) . '" rel="nofollow">WordPress</a>';
|
||||||
|
echo sprintf(
|
||||||
|
esc_html__( 'Designed with %1$s', 'spiel' ),
|
||||||
|
$wordpress_link
|
||||||
|
);
|
||||||
|
?></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
58
spiel/patterns/header.php
Normal file
58
spiel/patterns/header.php
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Default header
|
||||||
|
* Slug: spiel/header
|
||||||
|
* Categories: header
|
||||||
|
* Block Types: core/template-part/header
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"padding":{"top":"var:preset|spacing|40"},"blockGap":"var:preset|spacing|40"}},"backgroundColor":"contrast","textColor":"base","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-color has-contrast-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--40)">
|
||||||
|
<!-- wp:group {"align":"full","layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-group alignfull">
|
||||||
|
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|30","left":"var:preset|spacing|30"}}}} -->
|
||||||
|
<div class="wp-block-columns are-vertically-aligned-center">
|
||||||
|
<!-- wp:column {"verticalAlignment":"center","width":"300px"} -->
|
||||||
|
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:300px">
|
||||||
|
<!-- wp:social-links {"iconColor":"base","iconColorValue":"#ffffff","size":"has-small-icon-size","className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"center"}} -->
|
||||||
|
<ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only">
|
||||||
|
<!-- wp:social-link {"url":"#","service":"facebook"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"instagram"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"tiktok"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"mastodon"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"youtube"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"x"} /-->
|
||||||
|
<!-- wp:social-link {"url":"#","service":"twitch"} /-->
|
||||||
|
</ul>
|
||||||
|
<!-- /wp:social-links -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"verticalAlignment":"center","width":""} -->
|
||||||
|
<div class="wp-block-column is-vertically-aligned-center"></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"verticalAlignment":"center","width":"300px"} -->
|
||||||
|
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:300px">
|
||||||
|
<!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"align":"center","style":{"border":{"top":{"color":"#4a4a4a","style":"solid","width":"1px"},"right":{"color":"#4a4a4a","style":"solid","width":"1px"},"bottom":{"color":"#4a4a4a","style":"solid","width":"1px"},"left":{"color":"#4a4a4a","style":"solid","width":"1px"},"radius":"0px"}},"backgroundColor":"contrast","textColor":"base","fontSize":"x-small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:site-logo {"width":64,"align":"center"} /-->
|
||||||
|
|
||||||
|
<!-- wp:site-title {"level":0,"textAlign":"center","align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|base"}}}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50"},"margin":{"top":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignfull" style="margin-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:navigation {"align":"wide","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}},"typography":[]},"fontSize":"small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
71
spiel/patterns/latest-posts.php
Normal file
71
spiel/patterns/latest-posts.php
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Latest Posts
|
||||||
|
* Slug: spiel/latest-posts
|
||||||
|
* Categories: featured
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:group {"align":"wide","style":{"border":{"bottom":{"color":"var:preset|color|contrast","style":"solid","width":"3px"},"top":[],"right":[],"left":[]},"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:solid;border-bottom-width:3px;margin-bottom:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:heading {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
|
||||||
|
<h2 class="wp-block-heading has-medium-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Latest', 'spiel' ); ?></h2>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:columns {"align":"wide"} -->
|
||||||
|
<div class="wp-block-columns alignwide">
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column">
|
||||||
|
<!-- wp:query {"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"only","inherit":false}} -->
|
||||||
|
<div class="wp-block-query">
|
||||||
|
<!-- wp:post-template {"layout":{"type":"default"}} -->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-terms {"term":"category","style":{"elements":{"link":{"color":[],":hover":{"color":{"text":"var:preset|color|primary"}}}},"color":[]},"textColor":"contrast"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"isLink":true,"style":{"spacing":[],"elements":{"link":{"color":[],":hover":{"color":{"text":"var:preset|color|primary"}}}},"color":[]},"textColor":"contrast","fontSize":"x-large"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-excerpt {"style":{"typography":{"lineHeight":"1.5"}},"fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"isLink":true} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column -->
|
||||||
|
<div class="wp-block-column">
|
||||||
|
<!-- wp:query {"query":{"perPage":"4","pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
|
||||||
|
<div class="wp-block-query">
|
||||||
|
<!-- wp:post-template {"layout":{"type":"grid","columnCount":2}} -->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0.25rem"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-terms {"term":"category"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"isLink":true,"fontSize":"medium"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"isLink":true,"fontSize":"x-small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
13
spiel/patterns/no-results-content.php
Normal file
13
spiel/patterns/no-results-content.php
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: No Results Content
|
||||||
|
* Slug: spiel/no-results-content
|
||||||
|
* Inserter: no
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- 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', 'spiel' ); ?></p>
|
||||||
|
<!-- /wp:paragraph -->
|
11
spiel/patterns/search.php
Normal file
11
spiel/patterns/search.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Search
|
||||||
|
* Slug: spiel/search
|
||||||
|
* Inserter: no
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:search {"showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'spiel' ); ?>","buttonPosition":"button-inside","buttonUseIcon":true} /-->
|
103
spiel/patterns/sidebar.php
Normal file
103
spiel/patterns/sidebar.php
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Title: Sidebar
|
||||||
|
* Slug: spiel/sidebar
|
||||||
|
* Categories: featured
|
||||||
|
*/
|
||||||
|
|
||||||
|
declare( strict_types = 1 );
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"constrained","contentSize":"300px"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:group {"style":{"border":{"color":null,"style":null,"width":null,"top":[],"right":[],"bottom":{"color":"var:preset|color|contrast","style":"solid","width":"3px"},"left":[]}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:solid;border-bottom-width:3px">
|
||||||
|
<!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||||
|
<h3 class="wp-block-heading has-small-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Author', 'spiel' ); ?></h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
|
||||||
|
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40)">
|
||||||
|
<!-- wp:avatar {"size":48} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.44"}},"fontSize":"x-small"} -->
|
||||||
|
<p class="has-x-small-font-size" style="line-height:1.44"><?php echo esc_html__( 'Written by', 'spiel' ); ?></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"lineHeight":"1.44"}},"textColor":"contrast","fontSize":"x-small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:post-author-biography {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"2rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
|
||||||
|
<div style="margin-top:0px;margin-bottom:0px;height:2rem" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:group {"style":{"border":{"color":null,"style":null,"width":null,"top":[],"right":[],"bottom":{"color":"var:preset|color|contrast","style":"solid","width":"3px"},"left":[]}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:solid;border-bottom-width:3px">
|
||||||
|
<!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||||
|
<h3 class="wp-block-heading has-small-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Recent Posts', 'spiel' ); ?></h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40)">
|
||||||
|
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||||
|
<div class="wp-block-query">
|
||||||
|
<!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"default"}} -->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0.25rem","margin":{"top":"0px"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="margin-top:0px">
|
||||||
|
<!-- wp:post-terms {"term":"category","style":{"typography":{"fontStyle":"normal","fontWeight":"400"}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"isLink":true,"fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"isLink":true,"fontSize":"x-small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"2rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
|
||||||
|
<div style="margin-top:0px;margin-bottom:0px;height:2rem" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:group {"style":{"border":{"color":null,"style":null,"width":null,"top":[],"right":[],"bottom":{"color":"var:preset|color|contrast","style":"solid","width":"3px"},"left":[]}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:solid;border-bottom-width:3px">
|
||||||
|
<!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||||
|
<h3 class="wp-block-heading has-small-font-size" style="text-transform:uppercase"><?php echo esc_html__( 'Categories', 'spiel' ); ?></h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:categories {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}},"fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:spacer {"height":"2rem","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
|
||||||
|
<div style="margin-top:0px;margin-bottom:0px;height:2rem" aria-hidden="true" class="wp-block-spacer"></div>
|
||||||
|
<!-- /wp:spacer -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
56
spiel/readme.txt
Normal file
56
spiel/readme.txt
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
=== Spiel ===
|
||||||
|
Contributors: Automattic
|
||||||
|
Requires at least: 6.0
|
||||||
|
Tested up to: 6.4
|
||||||
|
Requires PHP: 5.7
|
||||||
|
License: GPLv2 or later
|
||||||
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
== Description ==
|
||||||
|
|
||||||
|
Spiel is a game magazine theme.
|
||||||
|
|
||||||
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.0.0 =
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
== Copyright ==
|
||||||
|
|
||||||
|
Spiel is based on Tenku (https://wordpress.com/theme/tenku/), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
|
||||||
|
|
||||||
|
Tenku WordPress Theme, (C) 2023
|
||||||
|
Tenku is distributed under the terms of the GNU GPL.
|
||||||
|
Tenku is based on Tenku (), (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.
|
||||||
|
|
||||||
|
This theme bundles the following third-party resources:
|
||||||
|
|
||||||
|
Newsreader Font
|
||||||
|
Licensed under SIL Open Font License, 1.1 (http://scripts.sil.org/OFL)
|
||||||
|
Source: https://fonts.google.com/specimen/Newsreader
|
||||||
|
|
||||||
|
All the images seen on the screenshot.png is by Takashi Irie.
|
||||||
|
|
||||||
|
Orbitron Font
|
||||||
|
Copyright 2018 The Orbitron Project Authors (https://github.com/theleagueof/orbitron), with Reserved Font Name: "Orbitron".
|
||||||
|
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.theleagueofmoveabletype.com/
|
||||||
|
-- End of Orbitron Font credits --
|
||||||
|
|
||||||
|
Manrope Font
|
||||||
|
Copyright 2019 The Manrope Project Authors (https://github.com/cssobral2013/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 --
|
BIN
spiel/screenshot.png
Normal file
BIN
spiel/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 226 KiB |
37
spiel/style.css
Normal file
37
spiel/style.css
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
/*
|
||||||
|
Theme Name: Spiel
|
||||||
|
Theme URI: https://wordpress.com/theme/spiel
|
||||||
|
Author: Automattic
|
||||||
|
Author URI: https://automattic.com/
|
||||||
|
Description: Spiel is a game magazine theme.
|
||||||
|
Requires at least: 6.0
|
||||||
|
Tested up to: 6.4
|
||||||
|
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: spiel
|
||||||
|
Tags: blog, news, grid-layout, two-columns, right-sidebar, block-styles, featured-images, full-site-editing, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-patterns
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 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--primary);
|
||||||
|
color: var(--wp--preset--color--base);
|
||||||
|
border-color: var(--wp--preset--color--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Pull quote Block
|
||||||
|
* Reset the browser default margins for blockquote element
|
||||||
|
* https://github.com/WordPress/gutenberg/issues/44129
|
||||||
|
*/
|
||||||
|
.wp-block-pullquote blockquote,
|
||||||
|
.wp-block-pullquote p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
9
spiel/templates/404.html
Normal file
9
spiel/templates/404.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)">
|
||||||
|
<!-- wp:pattern {"slug":"spiel/404"} /-->
|
||||||
|
</main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
45
spiel/templates/archive.html
Normal file
45
spiel/templates/archive.html
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:query {"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"align":"wide"} -->
|
||||||
|
<div class="wp-block-query alignwide">
|
||||||
|
<!-- wp:group {"style":{"border":{"bottom":{"color":"var:preset|color|contrast","style":"solid","width":"3px"}},"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:solid;border-bottom-width:3px;margin-bottom:var(--wp--preset--spacing--50)">
|
||||||
|
<!-- wp:query-title {"type":"archive","showPrefix":false,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:post-template {"layout":{"type":"grid","columnCount":4}} -->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0.25rem"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-date {"style":{"elements":{"link":{"color":[],":hover":{"color":{"text":"var:preset|color|primary"}}}},"color":[]},"textColor":"contrast"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"isLink":true,"fontSize":"medium"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"isLink":true} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"border":{"top":{"color":"var:preset|color|contrast","style":"solid","width":"1px"}},"spacing":{"margin":{"top":"var:preset|spacing|50"},"padding":{"top":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="border-top-color:var(--wp--preset--color--contrast);border-top-style:solid;border-top-width:1px;margin-top:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--30)">
|
||||||
|
<!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||||
|
<!-- wp:query-pagination-previous /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-numbers /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-next /-->
|
||||||
|
<!-- /wp:query-pagination -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
|
||||||
|
<!-- wp:pattern {"slug":"spiel/category-links"} /-->
|
||||||
|
</main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
13
spiel/templates/front-page.html
Normal file
13
spiel/templates/front-page.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
|
||||||
|
<main class="wp-block-group">
|
||||||
|
<!-- wp:pattern {"slug":"spiel/latest-posts"} /-->
|
||||||
|
|
||||||
|
<!-- wp:pattern {"slug":"spiel/trending-posts"} /-->
|
||||||
|
|
||||||
|
<!-- wp:pattern {"slug":"spiel/category-links"} /-->
|
||||||
|
</main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
40
spiel/templates/index.html
Normal file
40
spiel/templates/index.html
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:query {"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"align":"wide"} -->
|
||||||
|
<div class="wp-block-query alignwide">
|
||||||
|
<!-- wp:post-template {"layout":{"type":"grid","columnCount":4}} -->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0.25rem"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-date /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"fontSize":"medium"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"isLink":true} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"border":{"top":{"color":"var:preset|color|contrast","style":"solid","width":"1px"}},"spacing":{"margin":{"top":"var:preset|spacing|50"},"padding":{"top":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="border-top-color:var(--wp--preset--color--contrast);border-top-style:solid;border-top-width:1px;margin-top:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--30)">
|
||||||
|
<!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||||
|
<!-- wp:query-pagination-previous /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-numbers /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-next /-->
|
||||||
|
<!-- /wp:query-pagination -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
|
||||||
|
<!-- wp:pattern {"slug":"spiel/category-links"} /-->
|
||||||
|
|
||||||
|
</main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
53
spiel/templates/page.html
Normal file
53
spiel/templates/page.html
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0px","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
|
||||||
|
<main class="wp-block-group" style="margin-top:0px;margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|60","bottom":"var:preset|spacing|70","left":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|50"}},"backgroundColor":"contrast","textColor":"base","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-color has-contrast-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--60)">
|
||||||
|
<!-- wp:post-featured-image {"aspectRatio":"3/2","align":"wide"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"textAlign":"center","align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"lineHeight":"1.2"},"spacing":{"margin":{"top":"var:preset|spacing|60"}}},"textColor":"base","fontSize":"xxx-large"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-author-name {"textAlign":"center","isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base","fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-date {"textAlign":"center","displayType":"modified","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base","fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-time-to-read {"textColor":"base"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"lock":{"move":false,"remove":false},"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained","contentSize":"1078px"}} -->
|
||||||
|
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"11.8%","left":"11.8%"}}}} -->
|
||||||
|
<div class="wp-block-columns alignwide">
|
||||||
|
<!-- wp:column {"width":"60.3%","layout":{"type":"constrained","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:60.3%">
|
||||||
|
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} /-->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"comments"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"width":"27.9%","layout":{"type":"constrained","contentSize":""}} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:27.9%">
|
||||||
|
<!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:pattern {"slug":"spiel/trending-posts"} /-->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
53
spiel/templates/search.html
Normal file
53
spiel/templates/search.html
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:pattern {"slug":"spiel/search"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide">
|
||||||
|
<!-- wp:query-title {"type":"search","align":"wide","style":{"typography":{"textTransform":"capitalize"}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:query {"query":{"perPage":8,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"align":"wide"} -->
|
||||||
|
<div class="wp-block-query alignwide">
|
||||||
|
<!-- wp:post-template {"layout":{"type":"grid","columnCount":4}} -->
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"0.25rem"}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-terms {"term":"category"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"fontSize":"medium"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-author-name {"isLink":true} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
|
||||||
|
<!-- wp:query-no-results -->
|
||||||
|
<!-- wp:pattern {"slug":"spiel/no-results-content"} /-->
|
||||||
|
<!-- /wp:query-no-results -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"border":{"top":{"color":"var:preset|color|contrast","style":"solid","width":"1px"}},"spacing":{"margin":{"top":"var:preset|spacing|50"},"padding":{"top":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="border-top-color:var(--wp--preset--color--contrast);border-top-style:solid;border-top-width:1px;margin-top:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--30)">
|
||||||
|
<!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||||
|
<!-- wp:query-pagination-previous /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-numbers /-->
|
||||||
|
|
||||||
|
<!-- wp:query-pagination-next /-->
|
||||||
|
<!-- /wp:query-pagination -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
67
spiel/templates/single.html
Normal file
67
spiel/templates/single.html
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0px","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
|
||||||
|
<main class="wp-block-group" style="margin-top:0px;margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|primary"}}}},"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|60","bottom":"var:preset|spacing|70","left":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|50"}},"backgroundColor":"contrast","textColor":"base","layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group has-base-color has-contrast-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--60)">
|
||||||
|
<!-- wp:post-featured-image {"aspectRatio":"3/2","align":"wide"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|20","margin":{"top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--60)">
|
||||||
|
<!-- wp:post-terms {"term":"category","textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"textColor":"base","fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-title {"textAlign":"center","align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"lineHeight":"1.2"}},"textColor":"base","fontSize":"xxx-large"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:post-excerpt {"textAlign":"center"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60)">
|
||||||
|
<!-- wp:post-author-name {"textAlign":"center","isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base","fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-date {"textAlign":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"textColor":"base","fontSize":"small"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-time-to-read {"textColor":"base","fontSize":"small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-group">
|
||||||
|
<!-- wp:post-terms {"term":"post_tag","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"textColor":"base","fontSize":"small"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:group {"lock":{"move":false,"remove":false},"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained","wideSize":"1078px","contentSize":"1078px"}} -->
|
||||||
|
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)">
|
||||||
|
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"11.8%"}}}} -->
|
||||||
|
<div class="wp-block-columns alignwide">
|
||||||
|
<!-- wp:column {"width":"60.3%","layout":{"type":"constrained","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:60.3%">
|
||||||
|
<!-- wp:post-content {"lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} /-->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"comments"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"width":"27.9%","layout":{"type":"constrained","contentSize":""}} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:27.9%">
|
||||||
|
<!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</main>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:pattern {"slug":"spiel/trending-posts"} /-->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
1220
spiel/theme.json
Normal file
1220
spiel/theme.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue