combine.fm/public/src/app.vue

83 lines
1.5 KiB
Vue
Raw Normal View History

<template>
<div id="app">
2016-10-24 00:18:36 +01:00
<div class="header" v-bind:class="{ 'share': $store.state.share }">
<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>
<router-view></router-view>
</div>
2017-10-23 19:21:19 +01:00
<div class="footer-break">
</div>
<footer class="footer">
<div class="container has-text-right">
2017-10-24 12:59:58 +01:00
<a href='https://twitter.com/combinefm'>Tweet</a> or <a href='https://gitlab.com/kudos/combine.fm'>Fork</a>. A work in progress by <a href='http://crem.in'>this guy</a>.
</div>
</footer>
</div>
</template>
<style>
2017-10-23 17:58:23 +01:00
@import url('https://fonts.googleapis.com/css?family=Comfortaa');
html {
position: relative;
min-height: 100%;
}
body {
color: #445470;
background: #fff;
2017-10-23 19:21:19 +01:00
margin: 0 0 160px;
}
2016-10-24 00:18:36 +01:00
.header {
2017-10-23 17:58:23 +01:00
font-family: 'Comfortaa', cursive;
2018-03-11 20:22:17 +00:00
letter-spacing: -2px;
background: #FE4365;
2016-10-24 00:18:36 +01:00
}
2017-10-23 17:58:23 +01:00
.header img {
height: 64px;
}
2016-10-24 00:18:36 +01:00
h1 {
text-align: center;
2017-10-23 17:58:23 +01:00
padding: 10px 0;
}
h1 a {
color: #fff;
}
h1 a:hover {
color: #ffacc5;
}
2016-10-24 00:18:36 +01:00
.share {
margin-bottom: 40px;
}
.share h1 {
text-align: left;
font-size: 1.5em;
line-height: 36px;
padding: 5px 0;
}
2017-10-23 19:21:19 +01:00
.share h1 img {
height: 40px;
}
.title a:hover {
border-bottom: none;
}
h1 .lighter {
color: #ffacc5;
}
2017-10-23 19:21:19 +01:00
.footer-break {
height: 1px;
}
.footer {
2017-10-23 17:58:23 +01:00
position: absolute;
left: 0;
bottom: 0;
width: 100%;
padding: 40px 24px 40px 24px;
}
</style>