1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-18 02:55:17 +00:00
awesome-cheatsheets/layouts/default.vue
2018-09-11 16:21:25 +02:00

120 lines
2.4 KiB
Vue

<!-- *************************************************************************
TEMPLATE
************************************************************************* -->
<template lang="pug">
.l-default
.l-default__inner
the-github-corner(
class="l-default__github-corner"
link="https://github.com/LeCoupa/awesome-cheatsheets"
)
nuxt
the-copyright(
class="l-default__copyright"
)
</template>
<!-- *************************************************************************
SCRIPT
************************************************************************* -->
<script>
// PROJECT
import TheGithubCorner from "@/components/TheGithubCorner";
import TheCopyright from "@/components/TheCopyright";
export default {
components: {
TheGithubCorner,
TheCopyright
}
};
</script>
<!-- *************************************************************************
STYLE
************************************************************************* -->
<style lang="scss">
$c: ".l-default";
@import "./assets/libraries/balloon";
html {
overflow-y: scroll;
box-sizing: border-box;
padding: 60px 0 80px;
min-height: 100%;
background-color: $mirage;
color: white;
text-align: center;
word-spacing: 1px;
font-size: 16px;
font-family: "Heebo Regular", "Helvetica Neue", Source Sans Pro, Helvetica,
Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
#{$c} {
margin: 0 40px;
#{$c}__inner {
margin: 0 auto;
max-width: 1140px;
#{$c}__copyright {
position: fixed;
right: 0;
bottom: 0;
}
}
}
}
a {
text-decoration: none;
cursor: pointer;
}
@font-face {
font-family: "Heebo Thin";
src: url("/fonts/heebo/Heebo-Thin.otf");
}
@font-face {
font-family: "Heebo Light";
src: url("/fonts/heebo/Heebo-Light.otf");
}
@font-face {
font-family: "Heebo Regular";
src: url("/fonts/heebo/Heebo-Regular.otf");
}
@font-face {
font-family: "Heebo Medium";
src: url("/fonts/heebo/Heebo-Medium.otf");
}
@font-face {
font-family: "Heebo Bold";
src: url("/fonts/heebo/Heebo-Bold.otf");
}
@font-face {
font-family: "Heebo ExtraBold";
src: url("/fonts/heebo/Heebo-ExtraBold.otf");
}
@font-face {
font-family: "Heebo Black";
src: url("/fonts/heebo/Heebo-Black.otf");
}
</style>