Skip to content

Commit

Permalink
Trellick: Submission Preps (#7570)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtakashi authored Dec 20, 2023
1 parent 46fb218 commit 7de21f4
Show file tree
Hide file tree
Showing 10 changed files with 154 additions and 85 deletions.
2 changes: 1 addition & 1 deletion trellick/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @package trellick
* @since trellick 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'trellick_support' ) ) :

Expand Down
2 changes: 2 additions & 0 deletions trellick/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* Slug: trellick/404
* Inserter: no
*/
declare( strict_types = 1 );
?>

<!-- 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__( 'Nothing found. Maybe try a search?', 'trellick' ); ?></h1>
<!-- /wp:heading -->
2 changes: 2 additions & 0 deletions trellick/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
* Block Types: core/template-part/footer
* Inserter: no
*/
declare( strict_types = 1 );
?>

<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"fontSize":"x-small"} -->
<p class="has-x-small-font-size" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><?php
/* Translators: WordPress link. */
Expand Down
2 changes: 2 additions & 0 deletions trellick/patterns/no-results-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
* Slug: trellick/no-results-content
* Inserter: no
*/
declare( strict_types = 1 );
?>

<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Nothing found. Try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'trellick' ); ?></p>
<!-- /wp:paragraph -->
1 change: 1 addition & 0 deletions trellick/patterns/post-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Slug: trellick/post-list
* Categories: featured
*/
declare( strict_types = 1 );
?>

<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"layout":{"type":"default"}} -->
Expand Down
1 change: 1 addition & 0 deletions trellick/patterns/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Slug: trellick/search
* Inserter: no
*/
declare( strict_types = 1 );
?>

<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'trellick' ); ?>","buttonText":"Search","buttonUseIcon":true} /-->
1 change: 1 addition & 0 deletions trellick/patterns/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Slug: trellick/sidebar
* Categories: featured
*/
declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"default"}} -->
Expand Down
38 changes: 35 additions & 3 deletions trellick/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Trellick ===
Contributors: Automattic
Requires at least: 5.8
Tested up to: 6.2
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
Expand Down Expand Up @@ -41,4 +41,36 @@ This theme bundles the following third-party resources:

Public Sans Font
Licensed under SIL Open Font License, 1.1 (http://scripts.sil.org/OFL)
Source: https://fonts.google.com/specimen/Public+Sans
Source: https://fonts.google.com/specimen/Public+Sans

"Bumblebee drawing, vintage insect illustration."
Public Domain
https://www.rawpixel.com/image/6327280/image-public-domain-vintage-illustrations-bee

"Plate (ca.1936) by Margaret Stottlemeyer. Original from The National Gallery of Art. Digitally enhanced by rawpixel."
Public Domain
https://www.rawpixel.com/image/3340417/free-illustration-image-vintage-antique-art

"Irises (1890–1900) by Kogyo Tsukioka. Original from The Rijksmuseum. Digitally enhanced by rawpixel."
Public Domain
https://www.rawpixel.com/image/3320287/free-illustration-image-artwork-public-domain-print-cc0

"Roman head with helmet (1876–1924) drawing in high resolution by Gerrit Willem Dijsselhof. Original from the Rijksmuseum. Digitally enhanced by rawpixel."
Public Domain
https://www.rawpixel.com/image/3077149/free-illustration-image-antique-drawing-sculpture

"Space story. Original public domain image from Wikimedia Commons"
Public Domain
https://www.rawpixel.com/image/3283859/free-photo-image-pattern-fractal-space

"Hand drawn rufous milkcap mushroom. Original from Biodiversity Heritage Library. Digitally enhanced by rawpixel."
Public Domain
https://www.rawpixel.com/image/2880233/free-illustration-image-mushroom-watercolor-vintage

"Menselijk oog met een afwijking (1836–1912) print in high resolution by Isaac Weissenbruch. Original from The Rijksmuseum. Digitally enhanced by rawpixel."
Public Domain
https://www.rawpixel.com/image/2742839/free-illustration-image-vintage-eye

"Edgar Degas's Orchestra Musicians (1872) famous painting. Original from Wikimedia Commons."
Public Domain
https://www.rawpixel.com/image/7726921/image-art-public-domain-edgar-degas
21 changes: 11 additions & 10 deletions trellick/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ Theme URI: https://wordpress.com/theme/trellick/
Author: Automattic
Author URI: https://automattic.com/
Description: Trellick is a raw, brutalist blog theme that strips away the polished veneer of the samey web design to show the untamed essence of the digital realm.
Requires at least: 5.8
Tested up to: 6.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trellick
Tags: blog, three-columns, wide-blocks, block-patterns, block-styles, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready, one-column, news
*//*
Tags: blog, three-columns, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, translation-ready, one-column, 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
Expand All @@ -33,13 +35,12 @@ a {
}

/*
* Avatar Block
* Fix border radius setting for the avatar block
* https://github.com/WordPress/gutenberg/issues/48253
* Navigation Block
* Reset the padding from List block
* https://github.com/WordPress/gutenberg/issues/50486
*/
.wp-block-avatar a,
.wp-block-avatar img {
border-radius: inherit;
.wp-block-navigation ul {
padding: unset;
}

/*
Expand Down
Loading

0 comments on commit 7de21f4

Please sign in to comment.