Instantly share code, notes, and snippets.
Created
December 29, 2021 23:58
Cover block pattern with audio player and social links.
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
<!-- wp:cover {"url":"https://pd.w.org/2021/12/63161c1f1d83e8218.20535107-2048x1365.jpg","id":8980,"dimRatio":70,"overlayColor":"foreground","minHeight":320,"contentPosition":"center center"} --> | |
<div class="wp-block-cover" style="min-height:320px"><span aria-hidden="true" class="has-foreground-background-color has-background-dim-70 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background wp-image-8980" alt="" src="https://pd.w.org/2021/12/63161c1f1d83e8218.20535107-2048x1365.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"borderColor":"background"} --> | |
<div class="wp-block-group has-border-color has-background-border-color"><!-- wp:cover {"dimRatio":20,"minHeight":320,"customGradient":"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)","contentPosition":"center center","isDark":false,"style":{"spacing":{"padding":{"top":"2rem","right":"2rem","bottom":"2rem","left":"2rem"}}}} --> | |
<div class="wp-block-cover is-light" style="padding-top:2rem;padding-right:2rem;padding-bottom:2rem;padding-left:2rem;min-height:320px"><span aria-hidden="true" class="has-background-dim-20 wp-block-cover__gradient-background has-background-dim has-background-gradient" style="background:linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)"></span><div class="wp-block-cover__inner-container"><!-- wp:spacer {"height":240} --> | |
<div style="height:240px" aria-hidden="true" class="wp-block-spacer"></div> | |
<!-- /wp:spacer --> | |
<!-- wp:heading {"textAlign":"center","style":{"spacing":{"margin":{"bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"100"}},"textColor":"background","fontSize":"large"} --> | |
<h2 class="has-text-align-center has-background-color has-text-color has-large-font-size" id="into-the-stars" style="font-style:normal;font-weight:100;margin-bottom:1rem">Into the Stars</h2> | |
<!-- /wp:heading --> | |
<!-- wp:audio /--> | |
<!-- wp:social-links {"iconColor":"background","iconColorValue":"#ffffff","customIconBackgroundColor":"#2e79a4","iconBackgroundColorValue":"#2e79a4","openInNewTab":true,"size":"has-small-icon-size","className":"is-style-pill-shape","layout":{"type":"flex","justifyContent":"center"}} --> | |
<ul class="wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color is-style-pill-shape"><!-- wp:social-link {"url":"#","service":"spotify"} /--> | |
<!-- wp:social-link {"url":"#","service":"tiktok"} /--> | |
<!-- wp:social-link {"url":"#","service":"youtube"} /--> | |
<!-- wp:social-link {"url":"#","service":"vimeo"} /--></ul> | |
<!-- /wp:social-links --></div></div> | |
<!-- /wp:cover --></div> | |
<!-- /wp:group --></div></div> | |
<!-- /wp:cover --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment