diff --git a/newspack-theme/sass/plugins/newspack-publisher-media-kit.scss b/newspack-theme/sass/plugins/newspack-publisher-media-kit.scss new file mode 100644 index 000000000..b44e9f326 --- /dev/null +++ b/newspack-theme/sass/plugins/newspack-publisher-media-kit.scss @@ -0,0 +1,24 @@ +.publisher-media-kit { + &__wrapper { + &.wp-block-group{ + > .wp-block-group__inner-container { + > * { + margin-bottom: var( --wp--preset--spacing--80 ); + margin-top: var( --wp--preset--spacing--80 ); + + &:first-child { + margin-top: 0; + } + + &:last-child { + margin-bottom: 0; + + .page-template-no-header-footer-php & { + margin-bottom: var( --wp--preset--spacing--80 ); + } + } + } + } + } + } +} diff --git a/newspack-theme/sass/style-base.scss b/newspack-theme/sass/style-base.scss index bca285822..3e6386134 100644 --- a/newspack-theme/sass/style-base.scss +++ b/newspack-theme/sass/style-base.scss @@ -64,3 +64,7 @@ /* Newspack Listings support */ @use 'plugins/newspack-listings'; + +/* Newspack Publisher Media Kit */ + +@use 'plugins/newspack-publisher-media-kit';