Nuxt/examples/custom-layouts/layouts/dark.vue

25 lines
283 B
Vue
Raw Normal View History

2016-12-24 00:55:46 +00:00
<template>
<div class="dark">
<Nuxt />
2016-12-24 00:55:46 +00:00
</div>
</template>
<style>
2017-07-07 10:25:14 +00:00
body {
overflow: hidden;
}
2016-12-24 00:55:46 +00:00
.dark {
position: absolute;
top: 0;
left: 0;
width: 100%;
min-height: 100%;
background: black;
color: white;
padding: 10px;
}
.dark a {
color: white;
}
</style>