1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-15 09:44:16 +00:00
awesome-cheatsheets/layouts/default.vue

105 lines
2.1 KiB
Vue
Raw Normal View History

<!-- *************************************************************************
TEMPLATE
************************************************************************* -->
<template lang="pug">
2018-09-09 16:58:41 +00:00
.l-default
2018-09-09 17:17:45 +00:00
the-github(
2018-09-09 16:58:41 +00:00
class="l-default__github"
)
nuxt
2018-09-09 16:58:41 +00:00
the-copyright(
class="l-default__copyright"
)
2018-09-09 14:50:38 +00:00
</template>
<!-- *************************************************************************
SCRIPT
************************************************************************* -->
<script>
// PROJECT
2018-09-09 17:17:45 +00:00
import TheGithub from "@/components/TheGithub";
2018-09-09 16:58:41 +00:00
import TheCopyright from "@/components/TheCopyright";
export default {
components: {
2018-09-09 17:17:45 +00:00
TheGithub,
2018-09-09 16:58:41 +00:00
TheCopyright
}
};
</script>
<!-- *************************************************************************
STYLE
************************************************************************* -->
<style lang="scss">
2018-09-09 16:58:41 +00:00
$c: ".l-default";
2018-09-09 14:50:38 +00:00
html {
2018-09-09 16:58:41 +00:00
overflow-y: scroll;
2018-09-09 15:26:24 +00:00
box-sizing: border-box;
2018-09-09 16:58:41 +00:00
padding: 60px 0 100px;
min-height: 100%;
2018-09-09 15:26:24 +00:00
background-color: #1b2431;
color: white;
text-align: center;
word-spacing: 1px;
font-size: 16px;
2018-09-09 16:58:41 +00:00
font-family: "Heebo Regular", "Helvetica Neue", Source Sans Pro, Helvetica,
Arial, sans-serif;
2018-09-09 14:50:38 +00:00
2018-09-09 15:26:24 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
2018-09-09 14:50:38 +00:00
}
2018-09-09 16:58:41 +00:00
@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");
}
#{$c} {
#{$c}__copyright {
position: fixed;
bottom: 0;
right: 0;
}
}
2018-09-09 14:50:38 +00:00
</style>