Freddie: Add theme (#7133)
* Freddie: Add theme * Bump version on stylesheet --------- Co-authored-by: Vicente Canales <vicente.canales@automattic.com>
This commit is contained in:
parent
34e83ee8e3
commit
fdef3c84c3
29 changed files with 1501 additions and 0 deletions
Binary file not shown.
After Width: | Height: | Size: 697 KiB |
60
freddie/functions.php
Normal file
60
freddie/functions.php
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/**
|
||||
* freddie functions and definitions
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package freddie
|
||||
* @since freddie 1.0
|
||||
*/
|
||||
|
||||
|
||||
if ( ! function_exists( 'freddie_support' ) ) :
|
||||
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress feafreddieres.
|
||||
*
|
||||
* @since freddie 1.0
|
||||
*
|
||||
* @refreddiern void
|
||||
*/
|
||||
function freddie_support() {
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'style.css' );
|
||||
|
||||
// Make theme available for translation.
|
||||
load_theme_textdomain( 'freddie' );
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'after_sefreddiep_theme', 'freddie_support' );
|
||||
|
||||
if ( ! function_exists( 'freddie_styles' ) ) :
|
||||
|
||||
/**
|
||||
* Enqueue styles.
|
||||
*
|
||||
* @since freddie 1.0
|
||||
*
|
||||
* @refreddiern void
|
||||
*/
|
||||
function freddie_styles() {
|
||||
|
||||
// Register theme stylesheet.
|
||||
wp_register_style(
|
||||
'freddie-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
array(),
|
||||
wp_get_theme()->get( 'Version' )
|
||||
);
|
||||
|
||||
// Enqueue theme stylesheet.
|
||||
wp_enqueue_style( 'freddie-style' );
|
||||
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'freddie_styles' );
|
1
freddie/parts/comments.html
Normal file
1
freddie/parts/comments.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/comments"} /-->
|
2
freddie/parts/footer.html
Normal file
2
freddie/parts/footer.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
|
1
freddie/parts/header.html
Normal file
1
freddie/parts/header.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
44
freddie/patterns/404.php
Normal file
44
freddie/patterns/404.php
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A 404 page
|
||||
* Slug: freddie/404
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"bottom"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:heading {"level":1,"fontSize":"medium","anchor":"oops-that-page-can-t-be-found"} -->
|
||||
<h1 class="wp-block-heading has-medium-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'freddie' ); ?></h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'freddie' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:search {"label":"","showLabel":false,"placeholder":"Search...","width":100,"widthUnit":"%","buttonText":"Search","buttonUseIcon":true} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
70
freddie/patterns/archive.php
Normal file
70
freddie/patterns/archive.php
Normal file
|
@ -0,0 +1,70 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: An archive page
|
||||
* Slug: freddie/archive
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"bottom","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:query-title {"type":"archive","showPrefix":false,"style":{"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} /-->
|
||||
|
||||
<!-- wp:term-description {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
58
freddie/patterns/comments.php
Normal file
58
freddie/patterns/comments.php
Normal file
|
@ -0,0 +1,58 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Comments
|
||||
* Slug: freddie/comments
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
|
||||
<div class="wp-block-comments wp-block-comments-query-loop">
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:comments-title {"level":3} /-->
|
||||
|
||||
<!-- wp:comment-template {"style":{"spacing":{"padding":{"left":"0px"}}}} -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|60"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--60)">
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:avatar {"size":40,"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 /-->
|
||||
|
||||
<!-- wp:comment-reply-link /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:comment-template -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:comments-pagination-previous /-->
|
||||
|
||||
<!-- wp:comments-pagination-next /-->
|
||||
<!-- /wp:comments-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:post-comments-form {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:comments -->
|
25
freddie/patterns/footer.php
Normal file
25
freddie/patterns/footer.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default footer
|
||||
* Slug: freddie/footer
|
||||
* Categories: featured, footer
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignwide">
|
||||
<!-- wp:paragraph {"align":"left","fontSize":"small"} -->
|
||||
<p class="has-text-align-left has-small-font-size"><?php
|
||||
/* Translators: WordPress link. */
|
||||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'freddie' ) ) . '" rel="nofollow">WordPress</a>';
|
||||
echo sprintf(
|
||||
esc_html__( 'Designed with %1$s', 'freddie' ),
|
||||
$wordpress_link
|
||||
);?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
38
freddie/patterns/front-page-alt.php
Normal file
38
freddie/patterns/front-page-alt.php
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Front page (alt)
|
||||
* Slug: freddie/front-page-alt
|
||||
* Categories: featured
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
|
||||
<!-- wp:group {"align":"full","layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"bottom","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull">
|
||||
<!-- wp:group {"tagName":"main","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'Freddie Mercury (born Farrokh Bulsara; 5 September 1946 – 24 November 1991) was a British singer and songwriter, who achieved worldwide fame as the lead vocalist of the rock band Queen. Regarded as one of the greatest singers in the history of rock music, he was known for his flamboyant stage persona and four-octave vocal range. Mercury defied the conventions of a rock frontman with his theatrical style, influencing the artistic direction of Queen.', 'freddie' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
50
freddie/patterns/front-page.php
Normal file
50
freddie/patterns/front-page.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A front page
|
||||
* Slug: freddie/front-page
|
||||
* Categories: featured
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"18px","selfStretch":"fixed"}}} -->
|
||||
<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:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-columns alignwide">
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'Freddie Mercury (born Farrokh Bulsara; 5 September 1946 – 24 November 1991) was a British singer and songwriter, who achieved worldwide fame as the lead vocalist of the rock band Queen. Regarded as one of the greatest singers in the history of rock music, he was known for his flamboyant stage persona and four-octave vocal range. Mercury defied the conventions of a rock frontman with his theatrical style, influencing the artistic direction of Queen.', 'freddie' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
17
freddie/patterns/header.php
Normal file
17
freddie/patterns/header.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Default Header
|
||||
* Slug: freddie/header
|
||||
* Categories: featured, header
|
||||
* Block Types: core/template-part/header
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px","right":"0px","left":"0px"}}}} /-->
|
||||
|
||||
<!-- wp:verse -->
|
||||
<pre class="wp-block-verse"><?php echo wp_kses_post( __( 'It’s a beautiful day.<br>The sun is shining.<br>I feel good.<br>And no one’s gonna stop me now.', 'freddie' ) ); ?></pre>
|
||||
<!-- /wp:verse -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
62
freddie/patterns/index.php
Normal file
62
freddie/patterns/index.php
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: An index page
|
||||
* Slug: freddie/index
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"bottom","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:query {"queryId":12,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
10
freddie/patterns/no-results-content.php
Normal file
10
freddie/patterns/no-results-content.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: No Results Content
|
||||
* Slug: freddie/no-results-content
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:paragraph {"style":{"spacing":{"margin":{"bottom":"0px"}}}} -->
|
||||
<p style="margin-bottom:0px"><?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', 'freddie' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
50
freddie/patterns/page.php
Normal file
50
freddie/patterns/page.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: A page
|
||||
* Slug: freddie/page
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"bottom","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main","layout":{"type":"default"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title /-->
|
||||
|
||||
<!-- wp:post-featured-image /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-content {"layout":{"type":"constrained","justifyContent":"left"}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/comments"} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
74
freddie/patterns/search.php
Normal file
74
freddie/patterns/search.php
Normal file
|
@ -0,0 +1,74 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Search
|
||||
* Slug: freddie/search
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
|
||||
<!-- wp:group {"align":"full","layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"bottom","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull">
|
||||
<!-- wp:group {"tagName":"main","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'freddie' ); ?>","buttonText":"Search","buttonUseIcon":true} /-->
|
||||
|
||||
<!-- wp:query-title {"type":"search"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"queryId":6,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query-no-results -->
|
||||
<!-- wp:pattern {"slug":"freddie/no-results-content"} /-->
|
||||
<!-- /wp:query-no-results -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
68
freddie/patterns/single.php
Normal file
68
freddie/patterns/single.php
Normal file
|
@ -0,0 +1,68 @@
|
|||
<?php
|
||||
/**
|
||||
* Title: Post
|
||||
* Slug: freddie/single
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-cover alignfull has-parallax" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span>
|
||||
<div role="img" class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg)"></div>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
<!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
|
||||
<div class="wp-block-group alignfull" style="min-height:100vh;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:pattern {"slug":"freddie/header"} /-->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"bottom","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"tagName":"main"} -->
|
||||
<main class="wp-block-group">
|
||||
<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}}} /-->
|
||||
|
||||
<!-- wp:post-featured-image /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-content {"layout":{"type":"constrained","justifyContent":"left"}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80)">
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-navigation-link {"type":"previous","label":"Previous Post","arrow":"arrow"} /-->
|
||||
|
||||
<!-- wp:post-navigation-link {"textAlign":"right","label":"Next Post","arrow":"arrow"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/comments"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:pattern {"slug":"freddie/footer"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /wp:cover -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
39
freddie/readme.txt
Normal file
39
freddie/readme.txt
Normal file
|
@ -0,0 +1,39 @@
|
|||
=== Freddie ===
|
||||
Contributors: Automattic
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.2.2
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
Freddie is a theme using a full-screen background image to captivate the viewer with a brief, immersive moment.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.0 =
|
||||
* Initial release
|
||||
|
||||
== Copyright ==
|
||||
|
||||
Freddie WordPress Theme, (C) 2023 Automattic
|
||||
Freddie is distributed under the terms of the GNU GPL.
|
||||
Freddie is based on Tomoni (https://wordpress.com/theme/tomoni/), (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.
|
||||
|
||||
This theme bundles the following third-party resources:
|
||||
|
||||
Included in theme screenshot and in a front page template.
|
||||
|
||||
CC0 Public Domain Image
|
||||
https://pxhere.com/en/photo/1253514
|
BIN
freddie/screenshot.png
Normal file
BIN
freddie/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 MiB |
54
freddie/style.css
Normal file
54
freddie/style.css
Normal file
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
Theme Name: Freddie
|
||||
Theme URI: https://wordpress.com/theme/freddie
|
||||
Author: Automattic
|
||||
Author URI: https://automattic.com/
|
||||
Description: Freddie is a theme using a full-screen background image to captivate the viewer with a brief, immersive moment.
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.2.2
|
||||
Requires PHP: 5.7
|
||||
Version: 1.0.0
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: freddie
|
||||
Tags: blog, portfolio, one-column, two-columns, wide-blocks, block-patterns, block-styles, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, threaded-comments, translation-ready, custom-background, custom-colors, custom-logo, custom-menu, theme-options, news
|
||||
*/
|
||||
|
||||
/*
|
||||
* 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);
|
||||
border-color: var(--wp--preset--color--primary);
|
||||
color: var(--wp--preset--color--base);
|
||||
}
|
||||
|
||||
/*
|
||||
* Link styles
|
||||
* https://github.com/WordPress/gutenberg/issues/42319
|
||||
*/
|
||||
a {
|
||||
text-decoration-thickness: 0.5px !important;
|
||||
text-underline-offset: .2em;
|
||||
}
|
||||
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
|
||||
/*
|
||||
* Pull quote Block
|
||||
* Reset the browser default margins for blockquote element
|
||||
* https://github.com/WordPress/gutenberg/issues/44129
|
||||
*/
|
||||
.wp-block-pullquote blockquote {
|
||||
margin: 0;
|
||||
}
|
26
freddie/styles/snow.json
Normal file
26
freddie/styles/snow.json
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json",
|
||||
"version": 2,
|
||||
"title": "Snow",
|
||||
"settings": {
|
||||
"color": {
|
||||
"palette": [
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#000000",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#000000",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
freddie/templates/404.html
Normal file
1
freddie/templates/404.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/404"} /-->
|
1
freddie/templates/archive.html
Normal file
1
freddie/templates/archive.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/archive"} /-->
|
1
freddie/templates/front-page.html
Normal file
1
freddie/templates/front-page.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/front-page"} /-->
|
1
freddie/templates/index.html
Normal file
1
freddie/templates/index.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/index"} /-->
|
1
freddie/templates/page.html
Normal file
1
freddie/templates/page.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/page"} /-->
|
1
freddie/templates/search.html
Normal file
1
freddie/templates/search.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/search"} /-->
|
1
freddie/templates/single.html
Normal file
1
freddie/templates/single.html
Normal file
|
@ -0,0 +1 @@
|
|||
<!-- wp:pattern {"slug":"freddie/single"} /-->
|
745
freddie/theme.json
Normal file
745
freddie/theme.json
Normal file
|
@ -0,0 +1,745 @@
|
|||
{
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"color": {
|
||||
"background": true,
|
||||
"custom": true,
|
||||
"customDuotone": true,
|
||||
"customGradient": true,
|
||||
"defaultDuotone": true,
|
||||
"defaultGradients": true,
|
||||
"defaultPalette": true,
|
||||
"duotone": [],
|
||||
"gradients": [],
|
||||
"palette": [
|
||||
{
|
||||
"color": "#000000",
|
||||
"name": "Base",
|
||||
"slug": "base"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Contrast",
|
||||
"slug": "contrast"
|
||||
},
|
||||
{
|
||||
"color": "#ffffff",
|
||||
"name": "Primary",
|
||||
"slug": "primary"
|
||||
}
|
||||
],
|
||||
"text": true
|
||||
},
|
||||
"layout": {
|
||||
"contentSize": "640px",
|
||||
"wideSize": "1360px"
|
||||
},
|
||||
"shadow": {
|
||||
"defaultPresets": true,
|
||||
"presets": []
|
||||
},
|
||||
"spacing": {
|
||||
"customSpacingSize": true,
|
||||
"spacingScale": {
|
||||
"increment": 1.5,
|
||||
"mediumStep": 1.5,
|
||||
"operator": "*",
|
||||
"steps": 0,
|
||||
"unit": "rem"
|
||||
},
|
||||
"spacingSizes": [
|
||||
{
|
||||
"name": "1",
|
||||
"size": "0.25rem",
|
||||
"slug": "30"
|
||||
},
|
||||
{
|
||||
"name": "2",
|
||||
"size": "0.75rem",
|
||||
"slug": "40"
|
||||
},
|
||||
{
|
||||
"name": "3",
|
||||
"size": "1.25rem",
|
||||
"slug": "50"
|
||||
},
|
||||
{
|
||||
"name": "4",
|
||||
"size": "clamp(1.25rem, 2.45vw, 2.5rem)",
|
||||
"slug": "60"
|
||||
},
|
||||
{
|
||||
"name": "5",
|
||||
"size": "clamp(1.25rem, 3.5vw, 3.75rem)",
|
||||
"slug": "70"
|
||||
},
|
||||
{
|
||||
"name": "6",
|
||||
"size": "clamp(1.25rem, 5vw, 5.0rem)",
|
||||
"slug": "80"
|
||||
}
|
||||
],
|
||||
"units": [
|
||||
"%",
|
||||
"px",
|
||||
"em",
|
||||
"rem",
|
||||
"vh",
|
||||
"vw"
|
||||
]
|
||||
},
|
||||
"typography": {
|
||||
"customFontSize": true,
|
||||
"dropCap": true,
|
||||
"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.694rem",
|
||||
"slug": "x-small"
|
||||
},
|
||||
{
|
||||
"fluid": true,
|
||||
"name": "Small",
|
||||
"size": "0.833rem",
|
||||
"slug": "small"
|
||||
},
|
||||
{
|
||||
"fluid": true,
|
||||
"name": "Medium",
|
||||
"size": "1rem",
|
||||
"slug": "medium"
|
||||
},
|
||||
{
|
||||
"fluid": true,
|
||||
"name": "Large",
|
||||
"size": "1.2rem",
|
||||
"slug": "large"
|
||||
},
|
||||
{
|
||||
"fluid": true,
|
||||
"name": "Extra Large",
|
||||
"size": "1.44rem",
|
||||
"slug": "x-large"
|
||||
},
|
||||
{
|
||||
"fluid": true,
|
||||
"name": "Double Extra Large",
|
||||
"size": "1.728rem",
|
||||
"slug": "xx-large"
|
||||
}
|
||||
],
|
||||
"fontStyle": true,
|
||||
"fontWeight": true,
|
||||
"letterSpacing": true,
|
||||
"textDecoration": true,
|
||||
"textTransform": true
|
||||
},
|
||||
"useRootPaddingAwareAlignments": true
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/archives": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--40)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/avatar": {
|
||||
"border": {
|
||||
"radius": "999px"
|
||||
},
|
||||
"typography": {
|
||||
"lineHeight": "0"
|
||||
}
|
||||
},
|
||||
"core/button": {
|
||||
"variations": {
|
||||
"outline": {
|
||||
"border": {
|
||||
"width": "2px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "11px",
|
||||
"left": "22px",
|
||||
"right": "22px",
|
||||
"top": "11px"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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);}"
|
||||
},
|
||||
"core/categories": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--40)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/code": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"radius": "0",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"core/comment-author-name": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/comment-date": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/comment-edit-link": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/comment-reply-link": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--contrast)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"radius": "2px",
|
||||
"style": "solid",
|
||||
"width": "1px"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": "4px 8px"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
},
|
||||
"core/comments-pagination": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/comments-title": {
|
||||
"spacing": {
|
||||
"margin": {
|
||||
"bottom": "var(--wp--preset--spacing--50)",
|
||||
"top": "0px"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"core/cover": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"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--medium);}.wp-block-latest-comments__comment-excerpt p{font-size: var(--wp--preset--font-size--medium);} :where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:inherit;} .wp-block-latest-comments__comment-excerpt p{margin:0;}",
|
||||
"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--medium);}.wp-block-latest-posts__post-excerpt{margin:var(--wp--preset--spacing--50) 0;}"
|
||||
},
|
||||
"core/list": {
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--40)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/navigation": {
|
||||
"css": ".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;} .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container{padding-top:0;} .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {padding-left: var(--wp--preset--spacing--80); padding-right: var(--wp--preset--spacing--80);}}"
|
||||
},
|
||||
"core/page-list": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/paragraph": {
|
||||
"typography": {
|
||||
"lineHeight": "calc(1em + 0.25rem)"
|
||||
}
|
||||
},
|
||||
"core/post-author": {
|
||||
"css": ".wp-block-post-author .wp-block-post-author__byline{font-size:0.7em;} .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: 50%;}"
|
||||
},
|
||||
"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;}"
|
||||
},
|
||||
"core/post-excerpt": {
|
||||
"css": ".wp-block-post-excerpt .wp-block-post-excerpt__excerpt{line-height: inherit;}"
|
||||
},
|
||||
"core/post-navigation-link": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/post-title": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"core/pullquote": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"style": "solid",
|
||||
"width": "1px 0"
|
||||
},
|
||||
"css": ".wp-block-pullquote cite {display:block;margin-top: var(--wp--preset--spacing--50)} .wp-block-pullquote p{margin: 0;}",
|
||||
"spacing": {
|
||||
"padding": "var(--wp--preset--spacing--50)"
|
||||
},
|
||||
"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-previous, .wp-block-query-pagination .wp-block-query-pagination-numbers {margin-bottom:0;}",
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline solid"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/query-title": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--mediums)",
|
||||
"lineHeight": "calc(1em + 0.25rem)"
|
||||
}
|
||||
},
|
||||
"core/quote": {
|
||||
"border": {
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
"style": "solid",
|
||||
"width": "0 0 0 2px"
|
||||
},
|
||||
"css": ".wp-block-quote p {margin-top:var(--wp--preset--spacing--50); margin-bottom:0;}.wp-block-quote p:first-of-type {margin-top: 0;} .wp-block-quote p:last-of-type {margin-bottom: 0;} .wp-block-quote cite {display:block;margin-top: var(--wp--preset--spacing--50)}",
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontStyle": "italic"
|
||||
},
|
||||
"variations": {
|
||||
"plain": {
|
||||
"border": {
|
||||
"width": "0"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"left": "0"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontStyle": "normal"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/rss": {
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/search": {
|
||||
"css": ".wp-block-search__button-inside .wp-block-search__inside-wrapper {padding: 0;} :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {background-color: var(--wp--preset--color--contrast); border-color: #949494;} :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--contrast); color: var(--wp--preset--color--base);} :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--contrast);}",
|
||||
"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-title": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"elements": {
|
||||
"link": {
|
||||
":hover": {
|
||||
"typography": {
|
||||
"textDecoration": "underline"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"fontStyle": "normal",
|
||||
"lineHeight": "calc(1em + 0.25rem)"
|
||||
}
|
||||
},
|
||||
"core/social-links": {
|
||||
"spacing": {
|
||||
"blockGap": {
|
||||
"left": "var(--wp--preset--spacing--40)",
|
||||
"top": "var(--wp--preset--spacing--40)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/table": {
|
||||
"css": " + .wp-element-caption {text-align:center;} .wp-block-table thead{border-bottom-width: 1px;} .wp-block-table tfoot{border-top-width: 1px;} .wp-block-table .wp-element-caption{text-align:center;}"
|
||||
},
|
||||
"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);}"
|
||||
},
|
||||
"core/term-description": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--color--medium)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--base)",
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"elements": {
|
||||
"button": {
|
||||
":active": {
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"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": "2px"
|
||||
},
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--contrast)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"bottom": "13px",
|
||||
"left": "24px",
|
||||
"right": "24px",
|
||||
"top": "13px"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"fontWeight": "700",
|
||||
"lineHeight": "1",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
},
|
||||
"caption": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
},
|
||||
"spacing": {
|
||||
"margin": {
|
||||
"bottom": "var(--wp--preset--spacing--50)",
|
||||
"top": "var(--wp--preset--spacing--30)"
|
||||
},
|
||||
"padding": {
|
||||
"left": "var(--wp--preset--spacing--50)",
|
||||
"right": "var(--wp--preset--spacing--50)"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)"
|
||||
}
|
||||
},
|
||||
"h1": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--xx-large)",
|
||||
"lineHeight": "1.157407407"
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--x-large)",
|
||||
"lineHeight": "1.215277778"
|
||||
}
|
||||
},
|
||||
"h3": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--large)",
|
||||
"lineHeight": "1.25"
|
||||
}
|
||||
},
|
||||
"h4": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"lineHeight": "calc(1em + 0.5rem)"
|
||||
}
|
||||
},
|
||||
"h5": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "calc(1em + 0.5rem)",
|
||||
"textTransform": "uppercase"
|
||||
}
|
||||
},
|
||||
"h6": {
|
||||
"typography": {
|
||||
"fontSize": "var(--wp--preset--font-size--small)",
|
||||
"lineHeight": "calc(1em + 0.5rem)"
|
||||
}
|
||||
},
|
||||
"heading": {
|
||||
"typography": {
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "600",
|
||||
"lineHeight": "1.2"
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
":hover": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
},
|
||||
"typography": {
|
||||
"textDecoration": "none"
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": "var(--wp--preset--spacing--50)",
|
||||
"padding": {
|
||||
"bottom": "0",
|
||||
"left": "0",
|
||||
"right": "0",
|
||||
"top": "0"
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontFamily": "var(--wp--preset--font-family--system-font)",
|
||||
"fontSize": "var(--wp--preset--font-size--medium)",
|
||||
"fontWeight": "600",
|
||||
"lineHeight": "1.25"
|
||||
}
|
||||
},
|
||||
"templateParts": [
|
||||
{
|
||||
"area": "comments",
|
||||
"name": "comments"
|
||||
},
|
||||
{
|
||||
"area": "header",
|
||||
"name": "header"
|
||||
},
|
||||
{
|
||||
"area": "footer",
|
||||
"name": "footer"
|
||||
}
|
||||
],
|
||||
"version": 2,
|
||||
"$schema": "https://schemas.wp.org/trunk/theme.json"
|
||||
}
|
Loading…
Add table
Reference in a new issue