2016-10-03 13:31:29 +01:00
|
|
|
<template>
|
|
|
|
<div id="app">
|
2018-04-28 17:55:02 +01:00
|
|
|
<div class="header" v-bind:class="{ 'share': this.$router.currentRoute.path !== '/' }">
|
2016-10-24 00:18:36 +01:00
|
|
|
<div class="container">
|
2017-10-23 19:21:19 +01:00
|
|
|
<h1 class="title">
|
2016-10-24 00:18:36 +01:00
|
|
|
<router-link to="/" exact>
|
2018-03-11 20:22:17 +00:00
|
|
|
<img src="/assets/images/logo-128.png"><b>combine</b><span class="lighter">.fm</span>
|
2016-10-24 00:18:36 +01:00
|
|
|
</router-link>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-23 19:21:19 +01:00
|
|
|
<div>
|
2016-10-03 13:31:29 +01:00
|
|
|
<router-view></router-view>
|
|
|
|
</div>
|
2017-10-23 19:21:19 +01:00
|
|
|
<div class="footer-break">
|
|
|
|
</div>
|
2016-10-03 13:31:29 +01:00
|
|
|
<footer class="footer">
|
|
|
|
<div class="container has-text-right">
|
2018-04-11 00:18:43 +01:00
|
|
|
<a href='https://mastodon.social/@combine'>Toot</a>, <a href='https://twitter.com/combinefm'>Tweet</a> or <a href='https://github.com/kudos/combine.fm'>Fork</a>. A work in progress by <a href='http://crem.in'>this guy</a>.
|
2016-10-03 13:31:29 +01:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2018-04-28 20:56:20 +01:00
|
|
|
<style lang="scss">
|
2017-10-23 17:58:23 +01:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=Comfortaa');
|
2018-04-28 20:56:20 +01:00
|
|
|
|
|
|
|
@import "bulma/sass/utilities/initial-variables.sass";
|
|
|
|
@import "bulma/sass/utilities/functions.sass";
|
|
|
|
@import "scss/_variables";
|
|
|
|
@import "bulma/sass/utilities/derived-variables.sass";
|
|
|
|
@import "bulma/sass/utilities/mixins.sass";
|
|
|
|
@import "bulma/sass/utilities/controls.sass";
|
|
|
|
@import "bulma/sass/base/_all.sass";
|
|
|
|
@import "bulma/sass/elements/title.sass";
|
|
|
|
@import "bulma/sass/elements/button.sass";
|
|
|
|
@import "bulma/sass/elements/form.sass";
|
|
|
|
@import "bulma/sass/elements/container.sass";
|
|
|
|
@import "bulma/sass/elements/notification.sass";
|
|
|
|
@import "bulma/sass/elements/other.sass";
|
|
|
|
@import "bulma/sass/grid/_all.sass";
|
|
|
|
|
|
|
|
|
2017-10-23 17:58:23 +01:00
|
|
|
html {
|
|
|
|
position: relative;
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-03 13:31:29 +01:00
|
|
|
body {
|
2018-04-28 20:56:20 +01:00
|
|
|
color: $grey;
|
2016-10-03 13:31:29 +01:00
|
|
|
background: #fff;
|
2017-10-23 19:21:19 +01:00
|
|
|
margin: 0 0 160px;
|
2016-10-03 13:31:29 +01:00
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-24 00:18:36 +01:00
|
|
|
.header {
|
2018-04-28 20:56:20 +01:00
|
|
|
font-family: $family-title;
|
2018-03-11 20:22:17 +00:00
|
|
|
letter-spacing: -2px;
|
2018-04-28 20:56:20 +01:00
|
|
|
background: $primary;
|
2016-10-24 00:18:36 +01:00
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2017-10-23 17:58:23 +01:00
|
|
|
.header img {
|
|
|
|
height: 64px;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-24 00:18:36 +01:00
|
|
|
h1 {
|
2017-10-23 21:05:58 +01:00
|
|
|
text-align: center;
|
2017-10-23 17:58:23 +01:00
|
|
|
padding: 10px 0;
|
2016-10-03 13:31:29 +01:00
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-03 13:31:29 +01:00
|
|
|
h1 a {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-03 13:31:29 +01:00
|
|
|
h1 a:hover {
|
|
|
|
color: #ffacc5;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-24 00:18:36 +01:00
|
|
|
.share {
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-24 00:18:36 +01:00
|
|
|
.share h1 {
|
|
|
|
text-align: left;
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 36px;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2017-10-23 19:21:19 +01:00
|
|
|
.share h1 img {
|
|
|
|
height: 40px;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-03 13:31:29 +01:00
|
|
|
.title a:hover {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-03 13:31:29 +01:00
|
|
|
h1 .lighter {
|
|
|
|
color: #ffacc5;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2017-10-23 19:21:19 +01:00
|
|
|
.footer-break {
|
|
|
|
height: 1px;
|
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
2016-10-03 13:31:29 +01:00
|
|
|
.footer {
|
2017-10-23 17:58:23 +01:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
padding: 40px 24px 40px 24px;
|
2016-10-03 13:31:29 +01:00
|
|
|
}
|
2018-04-28 20:56:20 +01:00
|
|
|
|
|
|
|
.artwork {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
padding-bottom: 100%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.artwork-youtube {
|
|
|
|
background-position: 50% 0%;
|
|
|
|
}
|
2016-10-03 13:31:29 +01:00
|
|
|
</style>
|