Skip to content

Commit

Permalink
Styles: Move styles from Additional CSS to stylesheet
Browse files Browse the repository at this point in the history
Additionally, remove unused homepage style, this section was removed with the page update.
  • Loading branch information
ryelle committed Jun 25, 2024
1 parent 467c471 commit 557f924
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions source/wp-content/themes/wporg-main-2022/src/style/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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.
*
Expand Down

0 comments on commit 557f924

Please sign in to comment.