Skip to content

Commit

Permalink
Increase spacing for h3. (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne authored Sep 13, 2024
1 parent 72058fa commit d5e241c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,13 @@ input[type="checkbox"] + label {

// Headings.
// Add margin to default h2 & h3 (no font size changes).
.wp-site-blocks h2:not([class*="-font-size"], [style*="font-size"]) {
.wp-site-blocks h2:not([class*="-font-size"], [style*="font-size"]),
.wp-site-blocks h3:not([class*="-font-size"], [style*="font-size"]) {
margin-top: var(--wp--preset--spacing--40);
}

.wp-site-blocks h3:not([class*="-font-size"], [style*="font-size"]) {
// Make spacing smaller for h3 if preceded by h2.
.wp-site-blocks h2 + .wp-site-blocks h3:not([class*="-font-size"], [style*="font-size"]) {
margin-top: var(--wp--preset--spacing--30);
}

Expand Down

0 comments on commit d5e241c

Please sign in to comment.