-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
185 additions
and
38 deletions.
There are no files selected for viewing
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
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
Binary file added
BIN
+110 KB
public_html/wp-content/themes/wporg-events-2023/images/contributors-rectangle1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44 KB
public_html/wp-content/themes/wporg-events-2023/images/contributors-square1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.5 KB
public_html/wp-content/themes/wporg-events-2023/images/contributors-square2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
32 changes: 32 additions & 0 deletions
32
public_html/wp-content/themes/wporg-events-2023/patterns/front-contributors-meet-gallery.php
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
/** | ||
* Title: Front Page: "Where Contributors Meet..." Gallery | ||
* Slug: wporg-events-2023/front-contributors-meet-gallery | ||
*/ | ||
|
||
?> | ||
|
||
<!-- wp:jetpack/tiled-gallery {"columnWidths":[["65.48121","34.51879"]],"ids":[79,85,82],"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} --> | ||
<div class="wp-block-jetpack-tiled-gallery aligncenter is-style-rectangular"> | ||
<div class="tiled-gallery__gallery"> | ||
<div class="tiled-gallery__row"> | ||
<div class="tiled-gallery__col" style="flex-basis:65.48121%"> | ||
<figure class="tiled-gallery__item"> | ||
<img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-rectangle1.png" data-width="615" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-rectangle1.png" data-amp-layout="responsive" /> | ||
</figure> | ||
</div> | ||
</div> | ||
<div class="tiled-gallery__row"> | ||
<div class="tiled-gallery__col"> | ||
<figure class="tiled-gallery__item"><img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square1.png" data-width="298" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square1.png" data-amp-layout="responsive" /></figure> | ||
</div> | ||
<div class="tiled-gallery__col"> | ||
<figure class="tiled-gallery__item"> | ||
<img alt="" data-height="272" data-url="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square2.png" data-width="297" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/IMAGES/contributors-square2.png" data-amp-layout="responsive" /> | ||
</figure> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- /wp:jetpack/tiled-gallery --> |
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
31 changes: 31 additions & 0 deletions
31
public_html/wp-content/themes/wporg-events-2023/postcss/base/breakpoints.pcss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Adapted from upstream SASS files. These assume a desktop-first approach, since that lends itself better to the Site Editor. | ||
*/ | ||
|
||
|
||
/* | ||
* Gutenberg | ||
* @link https://github.com/WordPress/gutenberg/blob/trunk/packages/base-styles/_breakpoints.scss | ||
*/ | ||
@custom-media --xhuge (min-width: 1920px); | ||
@custom-media --huge (min-width: 1440px); | ||
@custom-media --wide (min-width: 1280px); | ||
@custom-media --xlarge (min-width: 1080px); | ||
@custom-media --large (min-width: 960px); /* admin sidebar auto folds */ | ||
@custom-media --medium (min-width: 782px); /* adminbar goes big */ | ||
@custom-media --small (min-width: 600px); | ||
@custom-media --mobile (min-width: 480px); | ||
@custom-media --zoomed-in (min-width: 280px); | ||
|
||
|
||
/* | ||
* wporg-parent-2021 | ||
* @link https://github.com/WordPress/wporg-parent-2021/blob/trunk/source/wp-content/themes/wporg-parent-2021/sass/base/_breakpoints.scss | ||
*/ | ||
@custom-media --small-only (max-width: 559px); | ||
@custom-media --giant (min-width: 2000px); | ||
|
||
|
||
/* | ||
* Custom | ||
*/ |
18 changes: 18 additions & 0 deletions
18
public_html/wp-content/themes/wporg-events-2023/postcss/base/layout.pcss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.wp-site-blocks .is-layout-constrained > :where( :not( .alignleft ):not( .alignright ):not( .alignfull ) ), | ||
.is-root-container.is-layout-constrained > :where( :not( .alignleft ):not( .alignright ):not( .alignfull ) ), | ||
.edit-post-visual-editor__post-title-wrapper > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { | ||
/* | ||
* `--wp--style--global--content-size` gets set to `180px`, rather than the layout size from the parent's | ||
* `theme.json`. I'm assuming that's a bug somewhere, but haven't tracked it down. This is a hack to make the | ||
* content width usable until that bug is resolved. | ||
*/ | ||
max-width: var( --wp--custom--layout--content-size ) !important; | ||
} | ||
|
||
.wp-site-blocks .is-layout-constrained, | ||
.wp-block-post-content-is-layout-constrained { | ||
& .alignwide { | ||
/* See note about about the `global` sizes. */ | ||
max-width: var( --wp--custom--layout--wide-size ) !important; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
public_html/wp-content/themes/wporg-events-2023/postcss/blocks/wporg-google-map.pcss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.wporg-marker-list__container { | ||
padding-left: 0; | ||
} | ||
|
||
.wporg-marker-list-item { | ||
display: flex; | ||
align-items: flex-start; | ||
justify-content: space-between; | ||
border: 1px solid var(--wp--preset--color--light-grey-1); | ||
border-bottom: none; | ||
padding: 20px; | ||
|
||
@media (--small-only) { | ||
display: block; | ||
} | ||
|
||
&:last-child { | ||
border-bottom: 1px solid var(--wp--preset--color--light-grey-1); | ||
} | ||
|
||
& .wporg-marker-list-item__title { | ||
flex: 0 0 60%; | ||
--wp--preset--spacing--30: 0; | ||
} | ||
|
||
& .wporg-marker-list-item__location { | ||
flex: 0 0 15%; | ||
} | ||
|
||
& .wporg-marker-list-item__date-time { | ||
flex: 0 0 15%; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
public_html/wp-content/themes/wporg-events-2023/postcss/editor.pcss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@import "style.pcss"; | ||
|
||
.block-editor-iframe__body { | ||
|
||
/* Otherwise they get set to `11000px` and `40vh` for some reason. */ | ||
padding-top: 0; | ||
padding-bottom: 0; | ||
} |
7 changes: 7 additions & 0 deletions
7
public_html/wp-content/themes/wporg-events-2023/postcss/page/front-page/contributors.pcss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.wporg-events__contributors { | ||
@media (--small-only) { | ||
&.is-layout-flex { | ||
display: block; | ||
} | ||
} | ||
} |
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
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
11 changes: 11 additions & 0 deletions
11
public_html/wp-content/themes/wporg-events-2023/templates/page.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main","className":"entry-content"} --> | ||
<main class="wp-block-group entry-content"> | ||
<!-- wp:post-title {"style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space"}}}} /--> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true},"style":{"spacing":{"blockGap":"0px"}}} /--> | ||
</main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer"} /--> |