From 557f92484719288edb3d1df363730f5737110687 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 25 Jun 2024 11:11:29 -0400 Subject: [PATCH] Styles: Move styles from Additional CSS to stylesheet Additionally, remove unused homepage style, this section was removed with the page update. --- .../wporg-main-2022/src/style/style.scss | 29 ++++++++++++++----- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/source/wp-content/themes/wporg-main-2022/src/style/style.scss b/source/wp-content/themes/wporg-main-2022/src/style/style.scss index 56782527..4b2a0886 100644 --- a/source/wp-content/themes/wporg-main-2022/src/style/style.scss +++ b/source/wp-content/themes/wporg-main-2022/src/style/style.scss @@ -122,14 +122,6 @@ body.home .wp-block-wporg-link-wrapper { } } -/** - * Add a background behind the Editor section's cover block, for browsers that don't support webp. - */ - -#editor { - background-color: var(--wp--preset--color--charcoal-1); -} - /** * Enterprise page */ @@ -601,10 +593,31 @@ $wporg-about-breakpoint-max: 1920px; z-index: -1; } +/* Used on SotW template. */ +.wp-block-cover .wp-block-embed.no-min-sizing { + min-width: unset; + min-height: unset; +} + .page-template-page-data-liberation h3 a { text-decoration: none; } +/** + * Release page: 6.6 + */ + +.has-mixed-heading-font span { + font-family: Inter, sans-serif; + font-weight: 300; +} + +.has-mixed-heading-font em { + font-size: 125%; + line-height: 0.7; +} + + /* * Workaround for Gutenberg CSS4 selectors on older browsers. *