popskip/layouts/default.vue

52 lines
853 B
Vue
Raw Normal View History

2019-11-15 10:40:56 +00:00
<template>
<div class="root">
<Header />
<div class="body">
<nuxt />
</div>
<Footer />
</div>
</template>
<script>
import Header from '../components/Header';
import Footer from '../components/Footer';
export default {
components: {
Header,
Footer
},
}
</script>
<style>
.root {
2019-12-04 08:47:59 +00:00
@apply font-sans;
2019-11-15 10:40:56 +00:00
background: url("~assets/bg.png") no-repeat center center fixed;
background-size: cover;
min-height: 100vh;
}
.body {
@apply text-white relative overflow-y-auto;
height: calc(100vh - 7rem);
}
.page {
@apply relative w-full h-full;
}
.card {
@apply px-4 py-4;
background-color: rgba(0,0,0,0.3);
}
.card .card-title {
@apply text-xl;
}
.title-card .card-title {
@apply font-bold text-4xl pb-2;
}
.title-card .card-content {
@apply text-xl;
}
</style>