This commit is contained in:
tree🌴 2023-02-12 19:06:50 +01:00
parent a25f38ce17
commit 30d9035713
2 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,10 @@
} }
.button { .button {
@apply px-3 py-1.5 text-black bg-white; @apply px-3 py-1.5 text-black bg-white border border-black;
}
.button:hover {
@apply text-white bg-black border border-white;
} }
.section-header { .section-header {
@apply text-3xl md:text-5xl mb-8 md:mb-16 font-bold pt-10; @apply text-3xl md:text-5xl mb-8 md:mb-16 font-bold pt-10;

View file

@ -26,7 +26,7 @@
<div class="flex items-center gap-6 uppercase text-xl"> <div class="flex items-center gap-6 uppercase text-xl">
<button class="md:hidden text-3xl" on:click={() => navbar = !navbar}>☰</button> <button class="md:hidden text-3xl" on:click={() => navbar = !navbar}>☰</button>
{#each menu as mi} {#each menu as mi}
<div class="{mi.class} hidden md:block"><a href={mi.url}>{mi.title}</a></div> <div class="hidden md:block"><a class={mi.class ? mi.class : 'hover:underline'} href={mi.url}>{mi.title}</a></div>
{/each} {/each}
</div> </div>
</div> </div>