Skip to content

Commit

Permalink
Simplify intro layout
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Jan 26, 2023
1 parent c35b6c2 commit 083e315
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions source/wp-content/themes/wporg-main-2022/patterns/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,9 @@
<h1 class="wp-block-heading alignfull has-text-align-right wporg-about-cover-title has-inter-font-family" style="font-size:90px;letter-spacing:-0.05em;line-height:1.2"><?php _e( '<span>democratize</span><span>publishing</span>', 'wporg' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"0","left":"0"},"margin":{"top":"0"}}}} -->
<div class="wp-block-columns" style="margin-top:0"><!-- wp:column {"width":"38%"} -->
<div class="wp-block-column" style="flex-basis:38%"></div>
<!-- /wp:column -->

<!-- wp:column {"width":"62%","className":"wporg-about-cover-intro"} -->
<div class="wp-block-column wporg-about-cover-intro" style="flex-basis:62%"><!-- wp:paragraph {"align":"right","fontSize":"normal","fontFamily":"monospace"} -->
<p class="has-text-align-right has-monospace-font-family has-normal-font-size"><?php _e( '<span>the freedom to build.</span> <span>the freedom to change.</span> <span>the freedom to share.</span>', 'wporg' ); ?></p>
<!-- wp:paragraph {"align":"right","style":{"spacing":{"margin":{"top":"0"}}},"className":"wporg-about-cover-intro","fontSize":"normal","fontFamily":"monospace"} -->
<p class="has-text-align-right wporg-about-cover-intro has-monospace-font-family has-normal-font-size" style="margin-top:0"><?php _e( '<span>the freedom to build.</span> <span>the freedom to change.</span> <span>the freedom to share.</span>', 'wporg' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ html[dir="rtl"] :where([style*="border-right-color"]) {
display: block;
}

.wporg-about-cover-intro > * {
.wporg-about-cover-intro {
display: grid;
grid-template-rows: 1fr 1fr 1fr;
}
Expand Down

0 comments on commit 083e315

Please sign in to comment.