Nuxt/examples/vue-chartjs/layouts/default.vue

63 lines
1.2 KiB
Vue
Raw Normal View History

2017-08-24 10:16:12 +00:00
<template>
<div class="container">
2017-08-24 10:16:12 +00:00
<ul>
<li>
<NuxtLink to="/">
Activity
</NuxtLink>
</li>
<li>
<NuxtLink to="/contributors">
Contributors
</NuxtLink>
</li>
2017-08-24 10:16:12 +00:00
</ul>
<Nuxt />
2017-08-24 10:16:12 +00:00
</div>
</template>
<style scoped>
* {
box-sizing: border-box;
}
.container {
text-align: center;
padding-top: 20px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
2017-08-24 10:16:12 +00:00
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
li {
2017-08-24 10:16:12 +00:00
display: inline-block;
}
a {
2017-08-24 10:16:12 +00:00
display: inline-block;
font-weight: 500;
padding-top: .75rem;
padding-bottom: .75rem;
padding-left: 1.5rem;
padding-right: 1.5rem;
text-transform: uppercase;
2017-08-24 10:16:12 +00:00
text-decoration: none;
box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
border-radius: .25rem;
border: none;
background-color: #edf2f7;
color: #2f495e;
margin-right: 1rem;
}
a:hover {
background-color: #e2e8f0;
}
.nuxt-link-exact-active {
background-color: #00c58e;
color: #fff;
2017-08-24 10:16:12 +00:00
}
.nuxt-link-exact-active:hover {
background-color: #00e0a1;
2017-08-24 10:16:12 +00:00
}
</style>