improve overlay design and fix footer

To fix:
- css split between nav and nav-tree repeated due to mobile
- right overlay needs padding adjustments and resizing for mobile
This commit is contained in:
outfoxxed 2024-10-14 17:19:10 -07:00
parent 0a69344f98
commit c516c950a8
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
8 changed files with 132 additions and 174 deletions

View file

@ -43,23 +43,19 @@ const { headings } = Astro.props;
---
<div class="header">
<div class="header-item header-left">
<h3 class="header-title">
<a href="/">Quickshell</a>
</h3>
{url.length > 2 ?
<Nav mobile={true}/>
<div class="nav-collapsed-spacer header-spacer"/>
: null}
<div class="spacer-mobile">|</div>
<h3 class="header-title mobile">
<h3 class="header-title">
<a href="/">Quickshell</a>
</h3>
</div>
<div class="header-item header-right">
<Search/>
<div class="spacer-mobile">|</div>
<div class="spacer-desktop">|</div>
<div class="header-spacer"/>
<ThemeSelect client:load />
<div class="spacer-mobile">|</div>
<div class="toc-collapsed-spacer header-spacer"/>
{url.length > 2 ?
<TOC headings={headings} types={sidebarData} mobile={true}/>
: null}