diff options
| author | Henry Webster <hwebs@hwebs.info> | 2026-07-26 14:19:31 -0500 |
|---|---|---|
| committer | Henry Webster <hwebs@hwebs.info> | 2026-07-26 14:19:31 -0500 |
| commit | 7c976c1b8d8190b88add5529d71cc45b0411fea2 (patch) | |
| tree | ec407887ef5ca3aa25a8054aae237fe80aa4f2ea /style.css | |
| parent | 661077f5e11747cc21b1503f2b955fc5d25993a4 (diff) | |
use flexbox on header
Diffstat (limited to 'style.css')
| -rw-r--r-- | style.css | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -14,17 +14,18 @@ body { main { margin: 0 1rem; } -header { +body > header { + display: flex; + justify-content: space-between; padding: 0.5rem 1rem; color: ButtonText; background-color: ButtonFace; + gap: 0.5rem 1rem; + flex-wrap: wrap; } header nav { display: inline-block; } -header span { - margin-right: 10px; -} section header { font-style: italic; } @@ -37,7 +38,7 @@ nav ul { nav ul li { display: inline-block; border-right: 1px solid ButtonText; - padding: 2px 10px; + padding: 0 10px; margin: 0; } nav ul li a, |
