Dieser Commit ist enthalten in:
Ursprung
0cf9a8a48d
Commit
60c1565d9d
@ -42,17 +42,17 @@
|
|||||||
|
|
||||||
<svelte:window on:scroll={handleScroll}/>
|
<svelte:window on:scroll={handleScroll}/>
|
||||||
|
|
||||||
<nav data-pagefind-ignore class="fixed top-0 left-0 right-0 px-4 transition-colors z-10 flex justify-center before:backdrop-blur before:shadow-2xl before:absolute before:top-0 before:left-0 before:bottom-0 before:right-0 before:-z-10 before:scale-y-0 before:transition-transform before:origin-top" bind:this={navbar}>
|
<nav data-pagefind-ignore class="fixed top-0 left-0 right-0 sm:px-4 py-1 transition-colors z-10 flex justify-center before:backdrop-blur before:shadow-2xl before:absolute before:top-0 before:left-0 before:bottom-0 before:right-0 before:-z-10 before:scale-y-0 before:transition-transform before:origin-top" bind:this={navbar}>
|
||||||
<div class="flex flex-col md:flex-row items-center justify-evenly md:justify-between match">
|
<div class="flex flex-row items-center justify-evenly md:justify-between match">
|
||||||
<a class="flex items-center" href={l("/")}>
|
<a class="flex items-center" href={l("/")}>
|
||||||
<slot name="logo"></slot>
|
<slot name="logo"></slot>
|
||||||
<span class="text-2xl uppercase font-bold inline-block dark:text-white">
|
<span class="text-2xl uppercase font-bold dark:text-white hidden md:inline-block">
|
||||||
{t("navbar.title")}
|
{t("navbar.title")}
|
||||||
<span class="before:scale-y-100" style="display: none" aria-hidden="true"></span>
|
<span class="before:scale-y-100" style="display: none" aria-hidden="true"></span>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="flex justify-center flex-wrap">
|
<div class="flex justify-center flex-wrap">
|
||||||
<div class="btn-dropdown my-1">
|
<div class="btn-dropdown">
|
||||||
<button class="btn btn-gray">
|
<button class="btn btn-gray">
|
||||||
<a href={l("/")}>
|
<a href={l("/")}>
|
||||||
<span class="btn__text">{t("navbar.links.home.title")}</span>
|
<span class="btn__text">{t("navbar.links.home.title")}</span>
|
||||||
@ -66,7 +66,7 @@
|
|||||||
<a class="btn btn-gray" href={l("/code-of-conduct")}>{t("navbar.links.rules.coc")}</a>
|
<a class="btn btn-gray" href={l("/code-of-conduct")}>{t("navbar.links.rules.coc")}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-dropdown my-1">
|
<div class="btn-dropdown">
|
||||||
<button class="btn btn-gray">
|
<button class="btn btn-gray">
|
||||||
<a rel="prefetch" href={l("/rules")}>
|
<a rel="prefetch" href={l("/rules")}>
|
||||||
<span class="btn__text">{t("navbar.links.rules.title")}</span>
|
<span class="btn__text">{t("navbar.links.rules.title")}</span>
|
||||||
@ -101,7 +101,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
-->
|
-->
|
||||||
<a class="btn my-1" href={l("/login")}>
|
<a class="btn" href={l("/login")}>
|
||||||
<span class="btn__text">{t("navbar.links.account")}</span>
|
<span class="btn__text">{t("navbar.links.account")}</span>
|
||||||
</a>
|
</a>
|
||||||
<!--
|
<!--
|
||||||
|
@ -208,7 +208,7 @@ const prefixColorMap: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.barlow {
|
.barlow {
|
||||||
font-family: Barlow Condensed, serif;
|
font-family: Barlow Condensed, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
@apply bg-yellow-400 font-bold py-2 px-4 rounded cursor-pointer select-none mx-2 text-black flex flex-row;
|
@apply bg-yellow-400 font-bold py-2 px-4 rounded cursor-pointer select-none mx-0.5 md:mx-2 text-black flex flex-row;
|
||||||
@apply hover:bg-yellow-300 hover:text-black hover:shadow-2xl hover:scale-105;
|
@apply hover:bg-yellow-300 hover:text-black hover:shadow-2xl hover:scale-105;
|
||||||
transition: all 0.5s cubic-bezier(.2, 3, .67, .6),
|
transition: all 0.5s cubic-bezier(.2, 3, .67, .6),
|
||||||
background-color .1s ease-in-out,
|
background-color .1s ease-in-out,
|
||||||
@ -32,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-dropdown {
|
.btn-dropdown {
|
||||||
@apply relative mx-2;
|
@apply relative mx-0.5 md:mx-2;
|
||||||
|
|
||||||
> :nth-child(1) {
|
> :nth-child(1) {
|
||||||
@apply !mx-0;
|
@apply !mx-0;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren