2021-03-18 16:52:49 +00:00

75 lines
1.5 KiB
Vue

<!--
~ Copyright (c) 2020 Adam Coldrick
~
~ Licensed under the Apache License, Version 2.0 (the "License"); you may
~ not use this file except in compliance with the License. You may obtain
~ a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
~ License for the specific language governing permissions and limitations
~ under the License.
-->
<template>
<div id="app">
<Header/>
<Sidebar/>
<div id="page">
<router-view/>
</div>
</div>
</template>
<script>
import Header from '@/components/Header.vue'
import Sidebar from '@/components/Sidebar.vue'
export default {
name: 'App',
components: {
Header,
Sidebar
}
}
</script>
<style lang="scss">
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
#app {
font-family: 'Roboto', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: $grey-900;
}
#page {
margin: calc(60px + 20px) 5% 20px calc(10vw + 5%);
}
body {
margin: 0;
background-color: $grey-000;
color: $grey-900;
h1 {
font-size: 3rem;
font-weight: 300;
margin-bottom: 10px;
}
}
a {
color: $red-500;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
</style>