Add margin to header child when it has no siblings

Fix for issue #168
This commit is contained in:
Luke Harris
2023-10-09 16:22:45 -05:00
parent a187e94085
commit 5791043933
+4
View File
@@ -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;