From 755c26df111616fb1cc6ef89988b936b06192a29 Mon Sep 17 00:00:00 2001 From: PEGeoffroy Date: Tue, 17 Sep 2019 16:59:50 +0200 Subject: [PATCH] Improve nav and logo --- css/theme.css | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/css/theme.css b/css/theme.css index 176baa3..80ad9e1 100644 --- a/css/theme.css +++ b/css/theme.css @@ -45,10 +45,11 @@ body { background-color: #fff; border-bottom: 1px solid #ddd; padding: 1.3rem 0 1.3rem 0; - height: 9rem; + height: 12rem; z-index: 2; display: flex; justify-content: center; + align-items: center; } .header a { @@ -60,8 +61,8 @@ body { } header img{ - max-height: 100%; - width: auto; + height: 82px; + width: 104px; } #title{ @@ -89,6 +90,12 @@ header img{ padding-top: 1.7rem; position: absolute; right: 0; + top: 0; + max-height: 250px; +} + +.nav>div{ + min-width: 200px; } ul.menu { @@ -99,10 +106,6 @@ ul.menu { padding: 5px 5px 2px 5px; } -.menu>li.menu:hover { - border-bottom: 3px solid #222; -} - .menu>li ul { display: none; position: absolute; @@ -130,7 +133,7 @@ ul.menu { @media (max-width: 767px) { .nav { height: auto; - max-height: 200px; + /* max-height: 200px; */ overflow-y: auto; text-align: left; margin-top: 0;