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 | |
| parent | 661077f5e11747cc21b1503f2b955fc5d25993a4 (diff) | |
use flexbox on header
| -rw-r--r-- | style.css | 11 | ||||
| -rw-r--r-- | theme.scm | 2 |
2 files changed, 7 insertions, 6 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, @@ -33,7 +33,7 @@ (href "data:,"))) (title ,(string-append title " — " (site-title site)))) (body - (header (span ,(assq-ref (site-default-metadata site) 'author)) + (header (div ,(assq-ref (site-default-metadata site) 'author)) (nav (ul (li (a (@ (href "/")) "Home")) (li (a (@ (href "/now")) "Now")) (li (a (@ (href "/blog")) "Blog"))))) |
