Skip to content

Commit

Permalink
Core Styles: Simplify example heading style (issue #1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeBijl authored and Valerie Young committed Jun 12, 2020
1 parent a6a629d commit 576344f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,11 @@ table.data.attributes tbody td {
hyphens: manual;
}

.example-header h2,
.example-header h3 {
.example-header > :first-child {
margin: 0;
}

.example-header h2 + *,
.example-header h3 + * {
.example-header > :first-child + * {
margin-left: 1em;
}

Expand Down

0 comments on commit 576344f

Please sign in to comment.