From f2e93be8b4859213877e65a4c2f27ad80e245baf Mon Sep 17 00:00:00 2001 From: Cassowary Rusnov Date: Thu, 29 Dec 2022 10:32:44 -0800 Subject: [PATCH] Fix header layout. --- assets/css/main.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 8e95b26..3af90a6 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -58,7 +58,6 @@ body.home { body > div#page header#masthead { background-color: var(--red32m); - flex-direction: column; } body.home > div#page header#masthead { @@ -79,6 +78,11 @@ body.home form#search-form { display: none; } +header#masthead { + display: flex; + flex-direction: column; +} + h1.site-title { display: none; } @@ -134,11 +138,6 @@ body.home footer#colophon a:hover { text-decoration: underline; } -header#masthead { - display: flex; - flex-direction: row; -} - nav#site-navigation { display: flex; height: 6.5rem; @@ -192,6 +191,11 @@ body.home nav#site-navigation ul#primary-menu-list li.menu-item a:visited { @media (min-width: 640px) { + header#masthead { + display: flex; + flex-direction: row; + } + body.home > div#page header#masthead { margin-bottom: 15vh; } @@ -201,6 +205,7 @@ body.home nav#site-navigation ul#primary-menu-list li.menu-item a:visited { } div.site-logo { + margin: 0; margin-left: var(--desktop-lrmargin); }