diff --git a/src/app.css b/src/app.css index 97de3ce..f917b2f 100644 --- a/src/app.css +++ b/src/app.css @@ -45,3 +45,13 @@ @apply font-minecraft; } } + +@layer components { + .pixelated { + image-rendering: pixelated; + } + + .bg-horizontal-sprite { + background-size: auto 100%; + } +} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f87b35e..ba9acc1 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,5 +1,141 @@ - + { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + if (isTouch && !nav.contains(e.target)) showMenuPermanent = false; + }} +/> + +
+ +
+ diff --git a/static/img/menu-button.png b/static/img/menu-button.png new file mode 100644 index 0000000..69fc34a Binary files /dev/null and b/static/img/menu-button.png differ diff --git a/static/img/menu-home.png b/static/img/menu-home.png new file mode 100644 index 0000000..22a4cf0 Binary files /dev/null and b/static/img/menu-home.png differ diff --git a/static/img/menu-inventory-bar.png b/static/img/menu-inventory-bar.png new file mode 100644 index 0000000..03c5248 Binary files /dev/null and b/static/img/menu-inventory-bar.png differ diff --git a/static/img/menu-register.png b/static/img/menu-register.png new file mode 100644 index 0000000..33af2fb Binary files /dev/null and b/static/img/menu-register.png differ diff --git a/static/img/menu-rules.png b/static/img/menu-rules.png new file mode 100644 index 0000000..b44550d Binary files /dev/null and b/static/img/menu-rules.png differ diff --git a/static/img/selected-frame.png b/static/img/selected-frame.png new file mode 100644 index 0000000..5aeabee Binary files /dev/null and b/static/img/selected-frame.png differ