This repository has been archived on 2024-12-14. You can view files and clone it, but cannot push or open issues or pull requests.
onepiece-webring/layouts/default.vue
Sindre Kjelsrud 6777d01101
💄 add default layout
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
2024-04-17 15:57:53 +02:00

16 lines
No EOL
425 B
Vue

<template>
<div class="app-background">
<div class="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-2xl xl:px-0">
<slot />
</div>
</div>
</template>
<style>
.app-background {
background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('/background.webp'); background-size: cover;
background-position: center;
background-attachment: fixed;
min-height: 100vh;
}
</style>