layouts/default.vue
<template lang="pug">
section.hero
.hero-head
app-header
.hero-body
nuxt
.hero-footer
.container
p Made with love from Paris
</nav>
</template>
<script>
import Header from '@/components/Header'
import 'bulma/css/bulma.min.css'
import '@fortawesome/fontawesome-free/css/all.css'
export default {
components: { AppHeader: Header }
}
</script>
<style lang="stylus">
@require './css/_transition.styl'
@require './css/_slider.styl'
html
overflow-y auto
.section
padding 3rem 0 1.5rem
.hero
min-height 100vh
.hero-body
flex 1
.hero-footer
margin-bottom 0.5rem
.is-light
background-color #f5f5f5
color #363636
$card-radius = 5px
.is-radius
border-radius $card-radius
@media (max-width: 600px)
aside
width 100% !important
margin-bottom 10px !important
.content
width 100% !important
grid-template-columns 1fr !important
@media (min-width: 601px) and (max-width: 900px)
.content
grid-template-columns repeat(2, 1fr) !important
</style>