Remove a bunch of styles from the spacing stylesheet

These have mostly been disbursed to the stylesheets for individual components.
This commit is contained in:
Eryn Wells 2024-07-23 09:09:05 -07:00
parent b1e71c41b8
commit 0e32ba9759

View file

@ -66,43 +66,3 @@ p + :is({{ $elementsWithXLBlockMargins }}) {
:is({{ $elementsWithXLBlockMargins }}):has(+ p) { :is({{ $elementsWithXLBlockMargins }}):has(+ p) {
margin-block-end: var(--space-xl); margin-block-end: var(--space-xl);
} }
.codeblock {
--padding: var(--space-m);
margin-inline: calc(-1 * var(--padding));
padding: var(--padding);
}
.figure--image {
--padding: var(--space-m);
margin-inline-start: calc(-1 * var(--padding));
width: calc(100% + 2 * var(--padding));
figcaption {
margin-inline: var(--padding);
}
}
/* Type size classes */
.title {
margin-block-end: var(--space-l);
}
.subtitle {
margin-block-start: 0;
}
.heading {
margin-block-start: var(--space-l);
}
.heading:has(+ p) {
margin-block-end: var(--space-xs);
}
.subheading {
}