Below is just about everything you'll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
width: min(100vw - 3rem, var(--container-max, 80ch) ); | |
margin-inline: auto; | |
} | |
/* https://moderncss.dev/contextual-spacing-for-intrinsic-web-design/ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: GPTBot | |
Disallow: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
--brandYellow: hsl(53.81 97% 58%); | |
background: var(--brandYellow); | |
} | |
@supports (color: oklch(0% 0 0)) { | |
html { | |
--brandYellow: oklch(91.91% 0.22 102.16); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Filter search results types | |
*/ | |
function filter_search_types( $query ) { | |
if ( $query->is_search ) { | |
$query->set( 'post_type', array( 'post', 'alarm', 'store' ) ); | |
} | |
return $query; | |
} | |
add_filter( 'pre_get_posts', 'filter_search_types' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" type="text/css" href="{{asset "css/dist/custom.css"}}" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hentry--masonry .entry-title, | |
.featured-post-title { | |
display: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Load parent theme styles | |
function sb_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'parent-style' ) ); | |
} | |
add_action( 'wp_enqueue_scripts', 'sb_enqueue_styles', 100 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Styled dropdowns | |
.styled-select { | |
width: 100%; | |
height: em(44); | |
overflow: hidden; | |
background: #fff image-url('bg-styled-select-arrow.png') no-repeat 96% 50%; | |
border: 1px solid #d3d3d3; | |
select { | |
background: transparent; |
NewerOlder