Changeset 52430
- Timestamp:
- 01/03/2022 08:24:59 PM (17 months ago)
- Location:
- trunk/src/wp-content/themes/twentytwentytwo
- Files:
-
- 3 deleted
- 47 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php
r52375 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"6rem"}}},"backgroundColor":"secondary","layout":{"inherit":true}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"6rem"}}},"backgroundColor":"secondary","layout":{"inherit":true}} --> 10 11 <div class="wp-block-group alignfull has-secondary-background-color has-background" style="padding-top:8rem;padding-bottom:6rem"><!-- wp:columns {"align":"wide"} --> 11 12 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33%"} --> … … 29 30 <!-- /wp:column --></div> 30 31 <!-- /wp:columns --></div> 32 <!-- /wp:group --></div> 31 33 <!-- /wp:group -->', 32 34 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php
r52375 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem"}}},"layout":{"inherit":true}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem"}}},"layout":{"inherit":true}} --> 10 11 <div class="wp-block-group alignfull" style="padding-top:8rem;padding-bottom:8rem"><!-- wp:columns {"align":"wide"} --> 11 12 <div class="wp-block-columns alignwide"><!-- wp:column --> … … 52 53 <!-- /wp:paragraph --></div> 53 54 <!-- /wp:group --></div> 55 <!-- /wp:group --></div> 54 56 <!-- /wp:group -->', 55 57 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php
r52375 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide"><!-- wp:site-title {"level":0} /--> 12 13 … … 20 21 <!-- /wp:paragraph --></div> 21 22 <!-- /wp:group --></div> 23 <!-- /wp:group --></div> 22 24 <!-- /wp:group -->', 23 25 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-default.php
r52375 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:site-title /--> 11 12 … … 18 19 ) . '</p> 19 20 <!-- /wp:paragraph --></div> 21 <!-- /wp:group --></div> 20 22 <!-- /wp:group -->', 21 23 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-logo.php
r52375 r52430 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 11 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:site-logo {"width":60} /--> … … 20 21 <!-- /wp:paragraph --></div> 21 22 <!-- /wp:group --></div> 23 <!-- /wp:group --></div> 22 24 <!-- /wp:group -->', 23 25 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-navigation-copyright.php
r52375 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center"}} --> 11 12 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /--> … … 19 20 <p class="has-text-align-center" style="font-size:16px">' . esc_html__( '© Site Title', 'twentytwentytwo' ) . '</p> 20 21 <!-- /wp:paragraph --></div> 22 <!-- /wp:group --></div> 21 23 <!-- /wp:group -->', 22 24 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-navigation.php
r52375 r52430 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 11 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:navigation --> … … 22 23 <!-- /wp:paragraph --></div> 23 24 <!-- /wp:group --></div> 25 <!-- /wp:group --></div> 24 26 <!-- /wp:group -->', 25 27 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-images-title-citation.php
r52392 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 10 11 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} --> 11 12 <div class="wp-block-query alignwide"><!-- wp:post-template --> … … 38 39 <!-- /wp:group --></div> 39 40 <!-- /wp:group --></div> 41 <!-- /wp:group --></div> 40 42 <!-- /wp:group -->', 41 43 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-title-citation.php
r52392 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 10 11 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} --> 11 12 <div class="wp-block-query alignwide"><!-- wp:post-template --> … … 36 37 <!-- /wp:group --></div> 37 38 <!-- /wp:group --></div> 39 <!-- /wp:group --></div> 38 40 <!-- /wp:group -->', 39 41 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-social-copyright.php
r52375 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:social-links {"iconColor":"foreground","iconColorValue":"var(--wp--preset--color--foreground)","iconBackgroundColor":"background","iconBackgroundColorValue":"var(--wp--preset--color--background)","layout":{"type":"flex","justifyContent":"center"}} --> 11 12 <ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"#","service":"facebook"} /--> … … 23 24 <p class="has-text-align-center" style="font-size:16px">' . esc_html__( '© Site Title', 'twentytwentytwo' ) . '</p> 24 25 <!-- /wp:paragraph --></div> 26 <!-- /wp:group --></div> 25 27 <!-- /wp:group -->', 26 28 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-title-tagline-social.php
r52375 r52430 7 7 'categories' => array( 'footer' ), 8 8 'blockTypes' => array( 'core/template-part/footer' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 10 11 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:group --> … … 23 24 <!-- /wp:social-links --></div> 24 25 <!-- /wp:group --></div> 26 <!-- /wp:group --></div> 25 27 <!-- /wp:group -->', 26 28 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-image-with-caption.php
r52375 r52430 6 6 'title' => __( 'Image with caption', 'twentytwentytwo' ), 7 7 'categories' => array( 'featured', 'columns', 'gallery' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"6rem"," right":"max(1.25rem, 5vw)","bottom":"6rem","left":"max(1.25rem, 5vw)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding- right:max(1.25rem, 5vw);padding-bottom:6rem;padding-left:max(1.25rem, 5vw)"><!-- wp:media-text {"mediaId":202,"mediaLink":"' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-gray.jpg","mediaType":"image","verticalAlignment":"bottom","imageFill":false} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"6rem","bottom":"6rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding-bottom:6rem"><!-- wp:media-text {"mediaId":202,"mediaLink":"' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-gray.jpg","mediaType":"image","verticalAlignment":"bottom","imageFill":false} --> 10 10 <div class="wp-block-media-text alignwide is-stacked-on-mobile is-vertically-aligned-bottom"><figure class="wp-block-media-text__media"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-gray.jpg" alt="' . esc_attr__( 'Hummingbird illustration', 'twentytwentytwo' ) . '" class="wp-image-202 size-full"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph --> 11 11 <p><strong>' . esc_html__( 'Hummingbird', 'twentytwentytwo' ) . '</strong></p> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-large-list-names.php
r52392 r52430 6 6 'title' => __( 'Large list of names', 'twentytwentytwo' ), 7 7 'categories' => array( 'featured', 'text' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"6rem"," right":"max(1.25rem, 5vw)","bottom":"6rem","left":"max(1.25rem, 5vw)"}},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"backgroundColor":"tertiary","textColor":"primary","layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull has-primary-color has-tertiary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding- right:max(1.25rem, 5vw);padding-bottom:6rem;padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide"} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"6rem","bottom":"6rem"}},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"backgroundColor":"tertiary","textColor":"primary","layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull has-primary-color has-tertiary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding-bottom:6rem"><!-- wp:group {"align":"wide"} --> 10 10 <div class="wp-block-group alignwide"><!-- wp:image {"width":175,"height":82,"sizeSlug":"full","linkDestination":"none"} --> 11 11 <figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/icon-binoculars.png" alt="' . esc_attr__( 'An icon representing binoculars.', 'twentytwentytwo' ) . '" width="175" height="82"/></figure> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-list-events.php
r52392 r52430 6 6 'title' => __( 'List of events', 'twentytwentytwo' ), 7 7 'categories' => array( 'featured', 'text' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem" ,"left":"0px","right":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background"} -->9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:8rem;padding- right:0px;padding-bottom:8rem;padding-left:0px"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->10 <div class="wp-block-group alignfull" style="padding-right:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(3.25rem, 8vw, 6.25rem)","lineHeight":"1.15"},"spacing":{"margin":{"bottom":"2rem"}}}} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background"} --> 9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:8rem;padding-bottom:8rem"><!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(3.25rem, 8vw, 6.25rem)","lineHeight":"1.15"},"spacing":{"margin":{"bottom":"2rem"}}}} --> 11 11 <h2 class="alignwide" style="font-size:clamp(3.25rem, 8vw, 6.25rem);line-height:1.15;margin-bottom:2rem"><em>' . esc_html__( 'Speaker Series', 'twentytwentytwo' ) . '</em></h2> 12 12 <!-- /wp:heading --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-video-header-details.php
r52375 r52430 6 6 'title' => __( 'Video with header and details', 'twentytwentytwo' ), 7 7 'categories' => array( 'featured', 'columns' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem" ,"left":"0px","right":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"backgroundColor":"foreground","textColor":"secondary"} -->9 <div class="wp-block-group alignfull has-secondary-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:8rem;padding- right:0px;padding-bottom:8rem;padding-left:0px"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->10 <div class="wp-block-group alignfull" style="padding-right:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem"}},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"backgroundColor":"foreground","textColor":"secondary"} --> 9 <div class="wp-block-group alignfull has-secondary-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:8rem;padding-bottom:8rem"><!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} --> 11 11 <h1 class="alignwide" id="warble-a-film-about-hobbyist-bird-watchers-1" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post( __( '<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo' ) ) . '</h1> 12 12 <!-- /wp:heading --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-video-trailer.php
r52392 r52430 6 6 'title' => __( 'Video trailer', 'twentytwentytwo' ), 7 7 'categories' => array( 'featured', 'columns' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"6rem"," right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","bottom":"4rem"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull has-foreground-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding- right:max(1.25rem, 5vw);padding-bottom:4rem;padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide"} -->8 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"6rem","bottom":"4rem"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull has-foreground-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding-bottom:4rem"><!-- wp:columns {"align":"wide"} --> 10 10 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.33%"} --> 11 11 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":"x-large"} --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo-black-background.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"max(1.25rem, 5vw)","top":"max(1.25rem, 5vw)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"flex","justifyContent":"center"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"max(1.25rem, 5vw)","top":"max(1.25rem, 5vw)"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"flex","justifyContent":"center"}} --> 10 11 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} --> 11 12 <!-- wp:navigation-link {"isTopLevelLink":true} /--> … … 19 20 <!-- wp:navigation-link {"isTopLevelLink":true} /--> 20 21 <!-- /wp:navigation --></div> 22 <!-- /wp:group --></div> 21 23 <!-- /wp:group -->', 22 24 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-logo.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"verticalAlignment":"center","align":"wide"} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);"><!-- wp:columns {"verticalAlignment":"center","align":"wide"} --> 11 12 <div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} --> 12 13 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"uppercase"}}} /--></div> … … 23 24 <!-- /wp:column --></div> 24 25 <!-- /wp:columns --></div> 26 <!-- /wp:group --></div> 25 27 <!-- /wp:group -->', 26 28 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-centered-title-navigation-social.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"secondary","textColor":"primary","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-primary-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"verticalAlignment":"center","align":"wide"} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"secondary","textColor":"primary","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-primary-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);"><!-- wp:columns {"verticalAlignment":"center","align":"wide"} --> 11 12 <div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} --> 12 13 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left"}} --> … … 27 28 <!-- /wp:column --></div> 28 29 <!-- /wp:columns --></div> 30 <!-- /wp:group --></div> 29 31 <!-- /wp:group -->', 30 32 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-default.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:group {"layout":{"type":"flex"}} --> 11 12 <div class="wp-block-group"> … … 18 19 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /--> 19 20 <!-- /wp:navigation --></div> 21 <!-- /wp:group --></div> 20 22 <!-- /wp:group -->', 21 23 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-image-background-overlay.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/assets/images/ducks.jpg","dimRatio":90,"overlayColor":"primary","focalPoint":{"x":"0.26","y":"0.34"},"minHeight":100,"minHeightUnit":"px","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}},"color":{"duotone":["#000000","#ffffff"]}}} --> 10 <div class="wp-block-cover alignfull" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw);min-height:100px"><span aria-hidden="true" class="has-primary-background-color has-background-dim-90 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="' . esc_attr__( 'Painting of ducks in the water.', 'twentytwentytwo' ) . '" src="' . esc_url( get_template_directory_uri() ) . '/assets/images/ducks.jpg" style="object-position:26% 34%" data-object-fit="cover" data-object-position="26% 34%"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/assets/images/ducks.jpg","dimRatio":90,"overlayColor":"primary","focalPoint":{"x":"0.26","y":"0.34"},"minHeight":100,"minHeightUnit":"px","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}},"color":{"duotone":["#000000","#ffffff"]}}} --> 11 <div class="wp-block-cover alignfull" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);min-height:100px"><span aria-hidden="true" class="has-primary-background-color has-background-dim-90 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="' . esc_attr__( 'Painting of ducks in the water.', 'twentytwentytwo' ) . '" src="' . esc_url( get_template_directory_uri() ) . '/assets/images/ducks.jpg" style="object-position:26% 34%" data-object-fit="cover" data-object-position="26% 34%"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide has-background-color has-text-color has-link-color" style="padding-top:0px;padding-right:0px;padding-bottom:0rem;padding-left:0px"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}}} /--> 12 13 … … 15 16 <!-- /wp:navigation --></div> 16 17 <!-- /wp:group --></div></div> 17 <!-- /wp:cover -->', 18 <!-- /wp:cover --></div> 19 <!-- /wp:group -->', 18 20 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-image-background.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-c.jpg","dimRatio":0,"focalPoint":{"x":"0.58","y":"0.58"},"minHeight":400,"contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)","bottom":"8rem","left":"max(1.25rem, 5vw)"}},"color":{}}} --> 10 <div class="wp-block-cover alignfull" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:8rem;padding-left:max(1.25rem, 5vw);min-height:400px"><span aria-hidden="true" class="has-background-dim-0 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="' . esc_attr__( 'Illustration of a flying bird', 'twentytwentytwo' ) . '" src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-c.jpg" style="object-position:58% 58%" data-object-fit="cover" data-object-position="58% 58%"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-c.jpg","dimRatio":0,"focalPoint":{"x":"0.58","y":"0.58"},"minHeight":400,"contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"8rem"}},"color":{}}} --> 11 <div class="wp-block-cover alignfull" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem;min-height:400px"><span aria-hidden="true" class="has-background-dim-0 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="' . esc_attr__( 'Illustration of a flying bird', 'twentytwentytwo' ) . '" src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-c.jpg" style="object-position:58% 58%" data-object-fit="cover" data-object-position="58% 58%"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide has-foreground-color has-text-color has-link-color" style="padding-top:0px;padding-right:0px;padding-bottom:0rem;padding-left:0px"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}}} /--> 12 13 … … 19 20 <div style="height:500px" aria-hidden="true" class="wp-block-spacer"></div> 20 21 <!-- /wp:spacer --></div></div> 21 <!-- /wp:cover -->', 22 <!-- /wp:cover --></div> 23 <!-- /wp:group -->', 22 24 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-large-dark.php
r52392 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"8rem","right":"0px","left":"0px"},"margin":{"bottom":"8rem"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="margin-bottom:8rem;padding-top:0px;padding-right:0px;padding-bottom:8rem;padding-left:0px"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull" style="padding-top:0px;padding-right:max(1.25rem, 5vw);padding-bottom:0px;padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"8rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"8rem"},"margin":{"bottom":"8rem"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="margin-bottom:8rem;padding-top:0px;padding-bottom:8rem;"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} --> 12 <div class="wp-block-group alignfull" style="padding-top:0px;padding-bottom:0px;"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"8rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 12 13 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:group {"layout":{"type":"flex"}} --> 13 14 <div class="wp-block-group"><!-- wp:site-logo {"width":64} /--> … … 29 30 <figure class="wp-block-image alignfull size-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-c.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure> 30 31 <!-- /wp:image --></div> 32 <!-- /wp:group --></div> 31 33 <!-- /wp:group -->', 32 34 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-gray-background.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-foreground-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"tertiary","textColor":"foreground","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-foreground-color has-tertiary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide" style="padding-top:0px;padding-right:0px;padding-bottom:0rem;padding-left:0px"><!-- wp:site-logo {"width":64} /--> 12 13 … … 15 16 <!-- /wp:navigation --></div> 16 17 <!-- /wp:group --></div> 18 <!-- /wp:group --></div> 17 19 <!-- /wp:group -->', 18 20 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-offset-tagline.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem"}}}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem"}}}} --> 10 11 <div class="wp-block-group alignwide" style="padding-bottom:8rem"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw)"><!-- wp:site-logo {"width":64} /--> … … 25 26 <!-- /wp:column --></div> 26 27 <!-- /wp:columns --></div> 28 <!-- /wp:group --></div> 27 29 <!-- /wp:group -->', 28 30 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-logo-navigation-social-black-background.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"tertiary","textColor":"foreground","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-foreground-color has-tertiary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide" style="padding-top:0px;padding-right:0px;padding-bottom:0rem;padding-left:0px"><!-- wp:site-logo {"width":64} /--> 12 13 … … 14 15 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /--> 15 16 16 <!-- wp:social-links {"iconColor":" foreground","iconColorValue":"var(--wp--preset--color--foreground)","className":"is-style-logos-only"} -->17 <!-- wp:social-links {"iconColor":"background","iconColorValue":"var(--wp--preset--color--background)","className":"is-style-logos-only"} --> 17 18 <ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"instagram"} /--> 18 19 … … 21 22 <!-- /wp:navigation --></div> 22 23 <!-- /wp:group --></div> 24 <!-- /wp:group --></div> 23 25 <!-- /wp:group -->', 24 26 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-small-dark.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"0px","right":"0px","left":"0px"},"margin":{"bottom":"8rem"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="margin-bottom:8rem;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull" style="padding-top:0px;padding-right:max(1.25rem, 5vw);padding-bottom:0px;padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"8rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"0px","bottom":"0px"},"margin":{"bottom":"8rem"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="margin-bottom:8rem;padding-top:0px;padding-bottom:0px;"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} --> 12 <div class="wp-block-group alignfull" style="padding-top:0px;padding-bottom:0px;"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"8rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 12 13 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:group {"layout":{"type":"flex"}} --> 13 14 <div class="wp-block-group"><!-- wp:site-logo {"width":64} /--> … … 25 26 <figure class="wp-block-image alignwide size-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure> 26 27 <!-- /wp:image --></div> 28 <!-- /wp:group --></div> 27 29 <!-- /wp:group -->', 28 30 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-stacked.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:site-logo {"align":"center","width":128} /--> 11 12 … … 23 24 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /--> 24 25 <!-- /wp:navigation --></div> 26 <!-- /wp:group --></div> 25 27 <!-- /wp:group -->', 26 28 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-green-background.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide"><!-- wp:group --> 12 13 <div class="wp-block-group"><!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontStyle":"normal","fontWeight":"700"}}} /--> … … 19 20 <!-- /wp:navigation --></div> 20 21 <!-- /wp:group --></div> 22 <!-- /wp:group --></div> 21 23 <!-- /wp:group -->', 22 24 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-salmon-background.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-foreground-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"secondary","textColor":"foreground","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-foreground-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide"><!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontStyle":"normal","fontWeight":"700"}}} /--> 12 13 … … 15 16 <!-- /wp:navigation --></div> 16 17 <!-- /wp:group --></div> 18 <!-- /wp:group --></div> 17 19 <!-- /wp:group -->', 18 20 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-text-only-with-tagline-black-background.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"backgroundColor":"foreground","textColor":"secondary","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-secondary-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"backgroundColor":"foreground","textColor":"secondary","layout":{"inherit":true}} --> 11 <div class="wp-block-group alignfull has-secondary-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 11 12 <div class="wp-block-group alignwide" style="padding-top:0px;padding-right:0px;padding-bottom:0rem;padding-left:0px"><!-- wp:group {"layout":{"type":"flex","justifyContent":"left"}} --> 12 13 <div class="wp-block-group"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}}} /--> … … 19 20 <!-- /wp:navigation --></div> 20 21 <!-- /wp:group --></div> 22 <!-- /wp:group --></div> 21 23 <!-- /wp:group -->', 22 24 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-and-button.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontStyle":"normal","fontWeight":"700"}}} /--> 11 12 … … 13 14 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /--> 14 15 <!-- /wp:navigation --></div> 16 <!-- /wp:group --></div> 15 17 <!-- /wp:group -->', 16 18 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-title-navigation-social.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:site-title {"style":{"typography":{"fontStyle":"italic","fontWeight":"400"}}} /--> 11 12 … … 19 20 <!-- /wp:social-links --> 20 21 <!-- /wp:navigation --></div> 22 <!-- /wp:group --></div> 21 23 <!-- /wp:group -->', 22 24 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-with-tagline.php
r52375 r52430 7 7 'categories' => array( 'header' ), 8 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 9 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 10 11 <div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:group {"layout":{"type":"flex"}} --> 11 12 <div class="wp-block-group"><!-- wp:site-logo {"width":64} /--> … … 21 22 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /--> 22 23 <!-- /wp:navigation --></div> 24 <!-- /wp:group --></div> 23 25 <!-- /wp:group -->', 24 26 ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/hidden-heading-and-bird.php
r52392 r52430 10 10 'title' => __( 'Heading and bird image', 'twentytwentytwo' ), 11 11 'inserter' => false, 12 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{" right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} -->13 <div class="wp-block-group alignfull" style="padding-top:0px;padding- right:max(1.25rem, 5vw);padding-bottom:0px;padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--colossal, clamp(3.25rem, 8vw, 6.25rem))","lineHeight":"1.15"}}} -->12 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} --> 13 <div class="wp-block-group alignfull" style="padding-top:0px;padding-bottom:0px;"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--colossal, clamp(3.25rem, 8vw, 6.25rem))","lineHeight":"1.15"}}} --> 14 14 <h2 class="alignwide" style="font-size:var(--wp--custom--typography--font-size--colossal, clamp(3.25rem, 8vw, 6.25rem));line-height:1.15">' . wp_kses_post( __( '<em>The Hatchery</em>: a blog about my adventures in bird watching', 'twentytwentytwo' ) ) . '</h2> 15 15 <!-- /wp:heading --></div> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-large-image-and-buttons.php
r52375 r52430 6 6 'title' => __( 'About page with large image and buttons', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages', 'buttons' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)"," right":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding- right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:image {"align":"full","sizeSlug":"full","linkDestination":"none"} -->10 <figure class="wp-block-image align fullsize-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-b.jpg" alt=""/></figure>8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:image {"align":"wide","sizeSlug":"full","linkDestination":"none"} --> 10 <figure class="wp-block-image alignwide size-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-b.jpg" alt=""/></figure> 11 11 <!-- /wp:image --> 12 12 13 <!-- wp:columns {"align":" full"} -->14 <div class="wp-block-columns align full"><!-- wp:column -->13 <!-- wp:columns {"align":"wide"} --> 14 <div class="wp-block-columns alignwide"><!-- wp:column --> 15 15 <div class="wp-block-column"><!-- wp:buttons --> 16 16 <div class="wp-block-buttons"><!-- wp:button {"width":100} --> … … 37 37 <!-- /wp:columns --> 38 38 39 <!-- wp:columns {"align":" full"} -->40 <div class="wp-block-columns align full"><!-- wp:column -->39 <!-- wp:columns {"align":"wide"} --> 40 <div class="wp-block-columns alignwide"><!-- wp:column --> 41 41 <div class="wp-block-column"><!-- wp:buttons --> 42 42 <div class="wp-block-buttons"><!-- wp:button {"width":100} --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links-dark.php
r52392 r52430 6 6 'title' => __( 'About page links (dark)', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages', 'buttons' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"10rem"," right":"max(1.25rem, 5vw)","bottom":"10rem","left":"max(1.25rem, 5vw)"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":false,"contentSize":"400px"}} -->9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:10rem;padding- right:max(1.25rem, 5vw);padding-bottom:10rem;padding-left:max(1.25rem, 5vw)"><!-- wp:group -->8 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"10rem","bottom":"10rem"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":false,"contentSize":"400px"}} --> 9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:10rem;padding-bottom:10rem;"><!-- wp:group --> 10 10 <div class="wp-block-group"> 11 11 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links.php
r52392 r52430 6 6 'title' => __( 'About page links', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages', 'buttons' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"10rem"," right":"max(1.25rem, 5vw)","bottom":"10rem","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":false,"contentSize":"400px"}} -->9 <div class="wp-block-group alignfull" style="padding-top:10rem;padding- right:max(1.25rem, 5vw);padding-bottom:10rem;padding-left:max(1.25rem, 5vw)"><!-- wp:image {"align":"center","width":100,"height":100,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"10rem","bottom":"10rem"}}},"layout":{"inherit":false,"contentSize":"400px"}} --> 9 <div class="wp-block-group alignfull" style="padding-top:10rem;padding-bottom:10rem;"><!-- wp:image {"align":"center","width":100,"height":100,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} --> 10 10 <div class="wp-block-image is-style-rounded"><figure class="aligncenter size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/icon-bird.jpg" alt="' . esc_attr__( 'Logo featuring a flying bird', 'twentytwentytwo' ) . '" width="100" height="100"/></figure></div> 11 11 <!-- /wp:image --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-and-text.php
r52375 r52430 6 6 'title' => __( 'Page layout with image and text', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"2rem" ,"right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull" style="padding-top:8rem;padding- right:max(1.25rem, 5vw);padding-bottom:2rem;padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 8vw, 7.5rem)","lineHeight":"1.15","fontWeight":"300"}}} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"2rem"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:8rem;padding-bottom:2rem"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 8vw, 7.5rem)","lineHeight":"1.15","fontWeight":"300"}}} --> 10 10 <h2 class="alignwide" style="font-size:clamp(4rem, 8vw, 7.5rem);font-weight:300;line-height:1.15">' . wp_kses_post( __( '<em>Watching Birds </em><br><em>in the Garden</em>', 'twentytwentytwo' ) ) . '</h2> 11 11 <!-- /wp:heading --></div> … … 16 16 <!-- /wp:image --> 17 17 18 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"2rem","bottom":"8rem" ,"right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->19 <div class="wp-block-group alignfull" style="padding-top:2rem;padding- right:max(1.25rem, 5vw);padding-bottom:8rem;padding-left:max(1.25rem, 5vw)">18 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"2rem","bottom":"8rem"}}},"layout":{"inherit":true}} --> 19 <div class="wp-block-group alignfull" style="padding-top:2rem;padding-bottom:8rem"> 20 20 <!-- wp:columns {"align":"wide"} --> 21 21 <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"bottom","style":{"spacing":{"padding":{"bottom":"1em"}}}} --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-text-and-video.php
r52392 r52430 6 6 'title' => __( 'Page layout with image, text and video', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem" ,"left":"0px","right":"0px"}}},"backgroundColor":"primary","textColor":"background"} -->9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background" style="padding-top:8rem;padding-bottom:8rem ;padding-left:0px;padding-right:0px"><!-- wp:group {"layout":{"inherit":true},"style":{"spacing":{"padding":{"left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}}} -->10 <div class="wp-block-group" style="padding-left:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw)"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem"}}},"backgroundColor":"primary","textColor":"background"} --> 9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background" style="padding-top:8rem;padding-bottom:8rem"><!-- wp:group {"layout":{"inherit":true}} --> 10 <div class="wp-block-group"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} --> 11 11 <h1 class="alignwide" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post( __( '<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo' ) ) . '</h1> 12 12 <!-- /wp:heading --> 13 13 14 14 <!-- wp:spacer {"height":50} --> 15 15 <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div> … … 21 21 <h2 class="has-x-large-font-size">' . esc_html__( 'Screening', 'twentytwentytwo' ) . '</h2> 22 22 <!-- /wp:heading --> 23 23 24 24 <!-- wp:paragraph --> 25 25 <p>' . wp_kses_post( __( 'May 14th, 2022 @ 7:00PM<br>The Vintagé Theater,<br>245 Arden Rd.<br>Gardenville, NH', 'twentytwentytwo' ) ) . '</p> … … 32 32 <!-- /wp:buttons --></div> 33 33 <!-- /wp:column --> 34 34 35 35 <!-- wp:column {"width":"66.66%"} --> 36 36 <div class="wp-block-column" style="flex-basis:66.66%"></div> … … 42 42 <figure class="wp-block-image alignfull"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-a.png" alt="' . esc_attr__( 'An illustration of a bird in flight', 'twentytwentytwo' ) . '"/></figure> 43 43 <!-- /wp:image --> 44 45 <!-- wp:group {"align":"full","layout":{"inherit":true} ,"style":{"spacing":{"padding":{"left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}}} -->46 <div class="wp-block-group alignfull" style="padding-left:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide"} -->44 45 <!-- wp:group {"align":"full","layout":{"inherit":true}} --> 46 <div class="wp-block-group alignfull"><!-- wp:columns {"align":"wide"} --> 47 47 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.33%"} --> 48 48 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":"x-large"} --> 49 49 <h2 class="has-x-large-font-size">' . esc_html__( 'Extended Trailer', 'twentytwentytwo' ) . '</h2> 50 50 <!-- /wp:heading --> 51 51 52 52 <!-- wp:paragraph --> 53 53 <p>' . esc_html__( 'Oh hello. My name’s Angelo, and you’ve found your way to my blog. I write about a range of topics, but lately I’ve been sharing my hopes for next year.', 'twentytwentytwo' ) . '</p> 54 54 <!-- /wp:paragraph --></div> 55 55 <!-- /wp:column --> 56 56 57 57 <!-- wp:column {"width":"66.66%"} --> 58 58 <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:video {"id":181} --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-two-columns.php
r52375 r52430 6 6 'title' => __( 'Page layout with two columns', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem" ,"right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull" style="padding-top:8rem;padding- right:max(1.25rem, 5vw);padding-bottom:8rem;padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 15vw, 12.5rem)","lineHeight":"1","fontWeight":"200"}}} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:8rem;padding-bottom:8rem;"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 15vw, 12.5rem)","lineHeight":"1","fontWeight":"200"}}} --> 10 10 <h1 class="alignwide" style="font-size:clamp(4rem, 15vw, 12.5rem);font-weight:200;line-height:1">' . wp_kses_post( __( '<em>Goldfinch </em><br><em>& Sparrow</em>', 'twentytwentytwo' ) ) . '</h1> 11 11 <!-- /wp:heading --> 12 12 13 13 <!-- wp:spacer {"height":50} --> 14 14 <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div> 15 15 <!-- /wp:spacer --> 16 16 17 17 <!-- wp:group {"align":"wide","layout":{"inherit":false}} --> 18 18 <div class="wp-block-group alignwide"><!-- wp:columns --> … … 22 22 <!-- /wp:paragraph --></div> 23 23 <!-- /wp:column --> 24 24 25 25 <!-- wp:column {"verticalAlignment":"center","width":"80%"} --> 26 26 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:separator {"className":"is-style-wide"} --> … … 30 30 <!-- /wp:columns --></div> 31 31 <!-- /wp:group --> 32 32 33 33 <!-- wp:columns {"align":"wide"} --> 34 34 <div class="wp-block-columns alignwide"><!-- wp:column --> … … 37 37 <!-- /wp:paragraph --></div> 38 38 <!-- /wp:column --> 39 39 40 40 <!-- wp:column --> 41 41 <div class="wp-block-column"></div> 42 42 <!-- /wp:column --></div> 43 43 <!-- /wp:columns --> 44 44 45 45 <!-- wp:spacer --> 46 46 <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> 47 47 <!-- /wp:spacer --> 48 48 49 49 <!-- wp:columns {"align":"wide"} --> 50 50 <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center"} --> … … 53 53 <!-- /wp:separator --></div> 54 54 <!-- /wp:column --> 55 55 56 56 <!-- wp:column {"verticalAlignment":"center"} --> 57 57 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:paragraph --> … … 60 60 <!-- /wp:column --></div> 61 61 <!-- /wp:columns --> 62 62 63 63 <!-- wp:columns {"align":"wide"} --> 64 64 <div class="wp-block-columns alignwide"><!-- wp:column --> 65 65 <div class="wp-block-column"></div> 66 66 <!-- /wp:column --> 67 67 68 68 <!-- wp:column --> 69 69 <div class="wp-block-column"><!-- wp:latest-posts /--></div> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts-right.php
r52392 r52430 6 6 'title' => __( 'Blog posts with right sidebar', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)"," right":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding- right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"2rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"2rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> 10 10 <div class="wp-block-group alignwide" style="padding-top:0px;padding-right:0px;padding-bottom:2rem;padding-left:0px"><!-- wp:group {"layout":{"type":"flex"}} --> 11 11 <div class="wp-block-group"><!-- wp:site-logo {"width":64} /--></div> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts.php
r52392 r52430 6 6 'title' => __( 'Blog posts with left sidebar', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)"," right":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding- right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"5%"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"5%"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} --> 10 10 <div class="wp-block-columns alignwide has-primary-color has-text-color has-link-color" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"33.33%"} --> 11 11 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:cover {"overlayColor":"secondary","minHeight":400,"isDark":false} --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-grid-posts.php
r52392 r52430 6 6 'title' => __( 'Grid of posts with left sidebar', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages' ), 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)"," right":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding- right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} --> 10 10 <div class="wp-block-columns alignwide" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"30%"} --> 11 11 <div class="wp-block-column" style="flex-basis:30%"><!-- wp:site-title {"isLink":false,"style":{"spacing":{"margin":{"top":"0px","bottom":"1rem"}},"typography":{"fontStyle":"italic","fontWeight":"300","lineHeight":"1.1"}},"fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))","fontFamily":"source-serif-pro"} /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-poster.php
r52392 r52430 6 6 'title' => __( 'Poster with right sidebar', 'twentytwentytwo' ), 7 7 'categories' => array( 'pages' ), 8 'content' => '<!-- wp:group {"align":"full"," style":{"spacing":{"padding":{"left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->9 <div class="wp-block-group alignfull" style="padding-right:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"5%"}}} -->8 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"5%"}}} --> 10 10 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%"} --> 11 11 <div class="wp-block-column" style="flex-basis:70%"> -
trunk/src/wp-content/themes/twentytwentytwo/style.css
r52392 r52430 82 82 .wp-block-button__link:hover { 83 83 opacity: 0.90; 84 } 84 } 85 85 86 86 /* 87 87 * Alignment styles. 88 * These rules are temporary, and should not be relied on or 89 * modified too heavily by themes or plugins that build on 90 * Twenty Twenty-Two. These are meant to be a precursor to 91 * a global solution provided by the Block Editor. 92 * 88 * These rules are temporary, and should not be relied on or 89 * modified too heavily by themes or plugins that build on 90 * Twenty Twenty-Two. These are meant to be a precursor to 91 * a global solution provided by the Block Editor. 92 * 93 93 * Relevant issues: 94 94 * https://github.com/WordPress/gutenberg/issues/35607 … … 100 100 .edit-post-visual-editor__post-title-wrapper, 101 101 .wp-block-group.alignfull, 102 .is-root-container .wp-block[data-align="full"] > .wp-block-group { 102 .wp-block-cover.alignfull, 103 .is-root-container .wp-block[data-align="full"] > .wp-block-group, 104 .is-root-container .wp-block[data-align="full"] > .wp-block-cover { 103 105 padding-left: var(--wp--custom--spacing--outer); 104 106 padding-right: var(--wp--custom--spacing--outer); … … 122 124 width: inherit; 123 125 } 126 127 /* 128 * Responsive menu container padding. 129 * This ensures the responsive container inherits the same 130 * spacing defined above. This behavior may be built into 131 * the Block Editor in the future. 132 */ 133 134 .wp-block-navigation__responsive-container.is-menu-open { 135 padding-top: var(--wp--custom--spacing--outer); 136 padding-bottom: var(--wp--custom--spacing--large); 137 padding-right: var(--wp--custom--spacing--outer); 138 padding-left: var(--wp--custom--spacing--outer); 139 } 140 -
trunk/src/wp-content/themes/twentytwentytwo/theme.json
r52392 r52430 250 250 "core/quote": { 251 251 "border": { 252 "width": " 0 0 01px"252 "width": "1px" 253 253 } 254 254 },
Note: See TracChangeset
for help on using the changeset viewer.