diff --git a/routes/_components/Nav.html b/routes/_components/Nav.html index 97cac210..ad574b22 100644 --- a/routes/_components/Nav.html +++ b/routes/_components/Nav.html @@ -1,35 +1,35 @@ - - + + - + {{#if $pinnedPage === '/local'}} - + {{elseif $pinnedPage === '/federated'}} - + {{elseif $pinnedPage === '/favorites'}} - + {{elseif $pinnedPage.startsWith('/lists/')}} - + {{/if}} - + - + - + @@ -46,16 +46,20 @@ z-index: 10; } - .main-nav ul { + .main-nav-ul { margin: 0; padding: 0; list-style: none; display: flex; - align-items: center; + align-items: stretch; } + .main-nav-li { + display: flex; + } + @media (max-width: 991px) { - .main-nav li { + .main-nav-li { flex: 1; } } diff --git a/routes/_components/NavItem.html b/routes/_components/NavItem.html index cba6413c..4d06e1e8 100644 --- a/routes/_components/NavItem.html +++ b/routes/_components/NavItem.html @@ -24,10 +24,11 @@ .main-nav-link { border-bottom: 1px solid var(--nav-a-border); text-decoration: none; - padding: 25px 20px; + padding: 15px 20px; display: flex; justify-content: center; align-items: center; + flex: 1; } .nav-link-svg-wrapper { diff --git a/scss/global.scss b/scss/global.scss index a4207a9a..60c15648 100644 --- a/scss/global.scss +++ b/scss/global.scss @@ -18,10 +18,13 @@ body { -webkit-overflow-scrolling: touch; will-change: transform; /* avoids "Repaints on Scroll" warning in Chrome */ position: absolute; - top: 72px; + top: 42px; left: 0; right: 0; bottom: 0; + @media (max-width: 991px) { + top: 52px; + } @media (max-width: 767px) { top: 62px; } @@ -47,7 +50,7 @@ footer { width: 602px; max-width: 100vw; box-sizing: border-box; - margin: 20px auto; + margin: 15px auto; border-radius: 1px; background: var(--main-bg); font-size: 0.9em; diff --git a/templates/2xx.html b/templates/2xx.html index 480258dc..a7e9194f 100644 --- a/templates/2xx.html +++ b/templates/2xx.html @@ -17,7 +17,7 @@