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 7a50715038
💄 update default layout
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
2024-04-24 17:04:58 +02:00

16 lines
No EOL
426 B
Vue

<template>
<div class="bg-slate-900">
<div class="app-background mx-auto max-w-3xl xl:max-w-2xl xl:px-18">
<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>