miracle/layouts/default.vue

50 lines
750 B
Vue
Raw Normal View History

2019-09-27 19:49:30 +00:00
<template>
<div>
<div class="main">
<div class="card">
<Header />
<div class="content">
<nuxt />
</div>
<Footer />
</div>
2019-09-27 19:49:30 +00:00
</div>
</div>
</template>
2019-09-28 18:17:52 +00:00
<script>
2019-10-04 19:48:41 +00:00
// import FloatingYuriko from '~/components/FloatingYuriko'
import Footer from '~/components/Footer'
import Header from '~/components/Header'
2019-09-28 18:17:52 +00:00
export default {
2019-10-04 19:48:41 +00:00
components: {
// FloatingYuriko
Footer,
Header,
2019-09-28 18:17:52 +00:00
}
}
</script>
<style>
.main {
height: 100vh;
}
.card {
@apply text-white;
background-color: rgba(0,0,0,0.3);
width: 100%;
height: 100%;
}
@screen md {
.main {
padding: 5% 5%;
}
}
.content {
@apply px-8 overflow-y-auto;
height: calc(100% - 8rem);
}
</style>