Skip to content

Commit

Permalink
Block styles: Style card item elements the same for links and static
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Mar 14, 2024
1 parent 041b951 commit 7d094a0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions source/wp-content/themes/wporg-parent-2021/sass/block-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -223,22 +223,29 @@
border: 1px solid var(--wp--preset--color--light-grey-1);
color: var(--wp--preset--color--charcoal-1);
border-radius: 2px;
}

> a {
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: calc(var(--wp--preset--spacing--10) / 2);
color: var(--wp--custom--link--color--text);
}

p {
margin-top: 0;
}
}

> a {
h2,
h3,
h4,
h5,
h6 {
color: var(--wp--custom--link--color--text);
}

&:hover {
background-color: var(--wp--preset--color--light-grey-2);
Expand Down

0 comments on commit 7d094a0

Please sign in to comment.