Skip to content

Commit

Permalink
style: no top margin for any first element in about box
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Oct 15, 2024
1 parent f10ab88 commit 4bd366a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ body {

/* BEGIN about HTML styling */

/* Header elements which are the first child of the about content container shouldn't have the default top margin */
.about-content h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
/* Elements which are the first child of the about content container shouldn't have the default top margin */
.about-content *:first-child {
margin-top: 0;
}

Expand Down

0 comments on commit 4bd366a

Please sign in to comment.