Skip to content

Instantly share code, notes, and snippets.

@melchoyce
Created June 11, 2021 21:30
Show Gist options
  • Save melchoyce/c42c931a78a1118487c326ed8eb5dd35 to your computer and use it in GitHub Desktop.
Save melchoyce/c42c931a78a1118487c326ed8eb5dd35 to your computer and use it in GitHub Desktop.
WordPress Pattern: Chapter opening
<!-- wp:group {"align":"full","style":{"color":{"background":"#40364b"},"spacing":{"padding":{"top":"80px","right":"0px","bottom":"100px","left":"0px"}}}} -->
<div class="wp-block-group alignfull has-background" style="background-color:#40364b;padding-top:80px;padding-right:0px;padding-bottom:100px;padding-left:0px"><div class="wp-block-group__inner-container"><!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":62,"lineHeight":"1.1"},"color":{"text":"#ffffff"}}} -->
<h2 class="alignwide has-text-color" style="color:#ffffff;font-size:62px;line-height:1.1">MERLIN FORETELLS THE BIRTH OF ARTHUR</h2>
<!-- /wp:heading -->
<!-- wp:spacer {"height":200} -->
<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:paragraph {"textColor":"white","fontSize":"extra-small"} -->
<p class="has-white-color has-text-color has-extra-small-font-size"><strong>CHAPTER 1</strong></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:paragraph {"textColor":"white","fontSize":"small"} -->
<p class="has-white-color has-text-color has-small-font-size">King Vortigern the usurper sat upon his throne in London, when, suddenly, upon a certain day, ran in a breathless messenger, and cried aloud—<br><br>"Arise, Lord King, for the enemy is come; even Ambrosius and Uther, upon whose throne thou sittest—and full twenty thousand with them—and they have sworn by a great oath, Lord, to slay thee, ere this year be done; and even now they march towards thee as the north wind of winter for bitterness and haste."</p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div></div>
<!-- /wp:group -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment