Skip to content

Commit

Permalink
Merge pull request #169 from lkhrs/issue168
Browse files Browse the repository at this point in the history
Add margin to header child when it has no siblings
  • Loading branch information
lkhrs authored Oct 9, 2023
2 parents a187e94 + b251c1e commit 82e4994
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ body > header {
grid-column: 1 / -1;
}

body > header > *:only-child {
margin-block-start: 2rem;
}

body > header h1 {
max-width: 1200px;
margin: 1rem auto;
Expand Down
2 changes: 1 addition & 1 deletion simple.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 82e4994

Please sign in to comment.