zenno: better mobile nav
This commit is contained in:
@@ -8,20 +8,21 @@
|
|||||||
<svelte:head><link rel="icon" href={favicon} /></svelte:head>
|
<svelte:head><link rel="icon" href={favicon} /></svelte:head>
|
||||||
|
|
||||||
<nav class="flex min-w-full p-4 mb-4 shadow-md">
|
<nav class="flex min-w-full p-4 mb-4 shadow-md">
|
||||||
<span class="flex-1">
|
<span class="hidden md:inline flex-1">
|
||||||
<a href="/" class="text-7xl">Zenno Rob Roy</a>
|
<a href="/" class="text-7xl">Zenno Rob Roy</a>
|
||||||
</span>
|
</span>
|
||||||
<span class="flex-1 text-right">
|
<span class="flex-1 text-center">
|
||||||
<a href="/inherit" class="mx-8">Inheritance Chance</a>
|
<a href="/" class="md:hidden block mx-8 my-1 font-semibold">Zenno Rob Roy</a>
|
||||||
<a href="/spark" class="mx-8">Spark Generation Chance</a>
|
<a href="/inherit" class="inline-block mx-8 my-1">Inheritance Chance</a>
|
||||||
<a href="/vet" class="mx-8">My Veterans</a>
|
<a href="/spark" class="inline-block mx-8 my-1">Spark Chance</a>
|
||||||
<a href="/convo" class="mx-8">Lobby Conversations</a>
|
<a href="/vet" class="inline-block mx-8 my-1">My Veterans</a>
|
||||||
|
<a href="/convo" class="inline-block mx-8 my-1">Lobby Conversations</a>
|
||||||
</span>
|
</span>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="min-w-7xl max-w-7xl m-auto">
|
<div class="md:min-w-7xl md:max-w-7xl md:m-auto">
|
||||||
{@render children()}
|
{@render children()}
|
||||||
</div>
|
</div>
|
||||||
<footer class="absolute p-4 inset-x-0 bottom-0 border-t text-center text-[14px]">
|
<footer class="p-4 mt-32 inset-x-0 bottom-0 border-t text-center text-[14px]">
|
||||||
Umamusume: Pretty Derby tools by <a href="https://zephyrtronium.date/">zephyrtronium</a>.<br>
|
Umamusume: Pretty Derby tools by <a href="https://zephyrtronium.date/">zephyrtronium</a>.<br>
|
||||||
All data is generated from the game's local database.
|
All data is generated from the game's local database.
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -1,2 +1,6 @@
|
|||||||
@import 'tailwindcss';
|
@import 'tailwindcss';
|
||||||
@import './sakura-vars.css';
|
@import './sakura-vars.css';
|
||||||
|
|
||||||
|
@theme {
|
||||||
|
--text-sm: 1.25rem;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user