1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-16 01:57:10 +00:00
awesome-cheatsheets/layouts/default.vue

119 lines
2.3 KiB
Vue
Raw Normal View History

<!-- *************************************************************************
TEMPLATE
************************************************************************* -->
<template lang="pug">
2018-09-09 18:07:59 +00:00
.l-default
.l-default__inner
the-github-corner(
class="l-default__github-corner"
2018-09-09 16:58:41 +00:00
)
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
import TheGithubCorner from "@/components/TheGithubCorner";
2018-09-09 16:58:41 +00:00
import TheCopyright from "@/components/TheCopyright";
export default {
components: {
TheGithubCorner,
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 21:41:06 +00:00
@import "./assets/libraries/balloon";
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;
padding: 60px 0 80px;
2018-09-09 16:58:41 +00:00
min-height: 100%;
2018-09-09 23:14:07 +00:00
background-color: $mirage;
2018-09-09 15:26:24 +00:00
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
a {
text-decoration: none;
cursor: pointer;
}
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} {
2018-09-09 21:28:16 +00:00
margin: 0 40px;
2018-09-09 18:07:59 +00:00
#{$c}__inner {
margin: 0 auto;
max-width: 1140px;
#{$c}__copyright {
position: fixed;
right: 0;
bottom: 0;
}
2018-09-09 16:58:41 +00:00
}
}
2018-09-09 14:50:38 +00:00
</style>