Skip to content

Commit

Permalink
State of the Word: Update page style, sync content
Browse files Browse the repository at this point in the history
See #517
  • Loading branch information
ryelle committed Nov 19, 2024
1 parent 640883a commit a763e02
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

?>
<!-- wp:cover {"url":"https://wordpress.org/files/2024/11/cover-hero-sotw-2024-landing.png","id":44233,"dimRatio":0,"isUserOverlayColor":true,"focalPoint":{"x":0.5,"y":0.45},"minHeightUnit":"px","isDark":false,"sizeSlug":"full","align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull is-light"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-44233 size-full" alt="" src="https://wordpress.org/files/2024/11/cover-hero-sotw-2024-landing.png" style="object-position:50% 45%" data-object-fit="cover" data-object-position="50% 45%" /><div class="wp-block-cover__inner-container"><!-- wp:image {"id":44227,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
<!-- wp:cover {"url":"https://wordpress.org/files/2024/11/sotw-2024-landing-hero.png","id":44264,"dimRatio":0,"isUserOverlayColor":true,"minHeightUnit":"px","isDark":false,"sizeSlug":"full","align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-cover alignfull is-light"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-44264 size-full" alt="" src="https://wordpress.org/files/2024/11/sotw-2024-landing-hero.png" data-object-fit="cover" /><div class="wp-block-cover__inner-container"><!-- wp:image {"id":44227,"sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full"><img src="https://wordpress.org/files/2024/11/[email protected]" alt="" class="wp-image-44227" /></figure>
<!-- /wp:image --></div></div>
<!-- /wp:cover -->
Expand Down Expand Up @@ -216,8 +216,8 @@
<p class="has-text-align-center"><?php _e( 'See you <em>December 16!</em>', 'wporg' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:group {"style":{"color":{"text":"#ee0000"},"elements":{"link":{"color":{"text":"#ee0000"}}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group has-text-color has-link-color" style="color:#ee0000"><!-- wp:paragraph -->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><?php _e( '#StateOfTheWord', 'wporg' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
Expand All @@ -227,7 +227,3 @@
<!-- /wp:image --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
5 changes: 0 additions & 5 deletions source/wp-content/themes/wporg-main-2022/src/style/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -556,12 +556,7 @@ $wporg-about-breakpoint-max: 1920px;
}
}


// Styles for the State of the Word page.
.page-template-page-state-of-the-word a {
color: #e00;
}

@media (max-width: 419px) {
.page-template-page-state-of-the-word h2 {
font-size: 60px !important;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- wp:wporg/global-header {"backgroundColor":"black"} /-->
<!-- wp:wporg/global-header {"textColor":"charcoal-2","backgroundColor":"white","style":{"border":{"bottom":{"color":"var:preset|color|black-opacity-15","style":"solid","width":"1px"}}}} /-->

<!-- wp:group {"tagName":"main","layout":{"inherit":true},"className":"entry-content","style":{"spacing":{"blockGap":"0px"}}} -->
<main class="wp-block-group entry-content">
Expand Down

0 comments on commit a763e02

Please sign in to comment.