From 55c5fcb71a6a73ac0ec099bfacd7a1f259152bf2 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 18 Nov 2022 21:57:54 -0500 Subject: Update navbar on landing page --- www/index.css | 13 +++++++++++-- www/index.html | 11 +++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/www/index.css b/www/index.css index 2fe966c..73a4ae4 100644 --- a/www/index.css +++ b/www/index.css @@ -28,12 +28,21 @@ html,body { margin: 0; font-family: sans-serif; } line-height: 2em; margin: 0; padding: 8px 10%; + display: flex; + flex-direction: row; + justify-content: space-between; } -#header > nav { display: inline-block; float: right; } +@media only screen and (max-width: 800px) { + #header { + flex-direction: column; + align-items: center; + } +} +#header > nav { flex: initial; } #header > nav > a:link { color: #81b7ff } #header > nav > a:visited { color: #cd78f4; } #header > nav > a:focus, #header > nav > a:active, #header > nav > a:hover { color: #6005dd; } -#header > .title { display: inline-block; font-family: monospace; font-size: 1.5em; text-decoration: none; } +#header > .title { flex: auto; font-family: monospace; font-size: 1.5em; } #header > a.title:link, #header > a.title:visited, #header > a.title:hover, diff --git a/www/index.html b/www/index.html index c38ee67..c19836d 100644 --- a/www/index.html +++ b/www/index.html @@ -16,8 +16,15 @@ senders.io
-- cgit v1.2.3-54-g00ecf