perfectioning

This commit is contained in:
Set Sakrecoer 2019-07-10 00:29:09 +02:00
parent 3be4c302ef
commit 02879a7510
4 changed files with 109 additions and 19 deletions

View file

@ -1,6 +1,8 @@
<div id="navigation"> <div id="navigation">
{% if page.collection == 'tracks' %} {% if page.collection == 'tracks' %}
<a href="{{ site.baseurl }}./index.html"> <a href="{{ site.baseurl }}./index.html">
{% elsif page.url == '/' %}
<a href="{{ site.baseurl }}/music/">
{% else %} {% else %}
<a href="{{ site.baseurl }}../"> <a href="{{ site.baseurl }}../">
{% endif %} {% endif %}

View file

@ -2,7 +2,7 @@
layout: default layout: default
--- ---
<div id="player"> <div id="player">
<div id="info" style="background-image:url('{{ site.audio_url }}{{ page.image }}');"> <div id="info">
<div id="controls"> <div id="controls">
<div class="container"> <div class="container">
<button id="mu_pause">Play</button><br /> <button id="mu_pause">Play</button><br />
@ -25,6 +25,7 @@ layout: default
<div class="trackcontainer"> <div class="trackcontainer">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
<p>{{ page.keywords }}</p>
<h2 id="tracktime">&nbsp;</h2> <h2 id="tracktime">&nbsp;</h2>
</div> </div>

View file

@ -1,10 +1,11 @@
html { html {
font-family: "Helvetica", Sans-serif; font-family: "Helvetica", Sans-serif;
} }
body{ body{
background: url(/assets/img/pattern.png); background: url(/assets/img/pattern.png);
margin: 0px;
padding: 0px;
} }
a { a {
font-weight: normal; font-weight: normal;
@ -30,10 +31,38 @@ a {
flex: 1 1 300px; flex: 1 1 300px;
padding: 10px; padding: 10px;
margin: 0; margin: 0;
background-color: rgba(201, 240, 196, 0.85);
h1, h2, h3, p { h1, h2, h3, p {
padding: 5px; padding: 5px;
color: rgb(0, 0, 0); color: rgb(0, 0, 0);
background: linear-gradient(230deg, rgba(218, 159, 142, 0.9), rgba(236, 0, 228, 0.9), rgba(0, 212, 236, 0.9), rgba(0, 236, 173, 0.9), rgba(110, 0, 236, 0.9));
background-size: 1000% 1000%;
-webkit-animation: AnimationName 30s ease infinite;
-moz-animation: AnimationName 30s ease infinite;
animation: AnimationName 30s ease infinite;
@-webkit-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@-moz-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
padding: 10px;
border-radius: 3px;
color: #000;
box-shadow: 5px 10px rgba(61, 0, 102, 0.5);
border: #000 solid 1px;
} }
} }
.track { .track {
@ -60,13 +89,18 @@ a {
display: flex; display: flex;
flex: 0 0 200px; flex: 0 0 200px;
flex-wrap: wrap; flex-wrap: wrap;
position: fixed;
top: 0px;
left: 0px;
padding: 15px; padding: 15px;
margin: 0 auto; margin: 0 auto;
.container { .container {
color: #000;
box-shadow: 5px 10px rgba(61, 0, 102, 0.5);
border: #000 solid 1px;
background: linear-gradient(230deg, #ff7951, #ec00e3, #00d5ec, #00ecaf, #6d00ec); background: linear-gradient(230deg, #ff7951, #ec00e3, #00d5ec, #00ecaf, #6d00ec);
background-size: 1000% 1000%; background-size: 1000% 1000%;
@ -97,30 +131,71 @@ animation: AnimationName 30s ease infinite;
} }
} }
button { button {
background-color: #f00; background: linear-gradient(230deg, rgba(218, 159, 142, 0.9), rgba(236, 0, 228, 0.9), rgba(0, 212, 236, 0.9), rgba(0, 236, 173, 0.9), rgba(110, 0, 236, 0.9));
background-size: 1000% 1000%;
color: #000;
-webkit-animation: AnimationName 30s ease infinite;
-moz-animation: AnimationName 30s ease infinite;
animation: AnimationName 30s ease infinite;
@-webkit-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@-moz-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
width: 100px; width: 100px;
height: 100px; height: 100px;
border-radius: 100px; border-radius: 100px;
transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out;
} }
button:hover { button:hover {
background-color: rgb(253, 83, 83); background-color: rgba(117, 253, 83, 0.9);
} }
#info { #info {
flex: 1 1 500px; flex: 1 1 500px;
min-height: 80vh; min-height: 80vh;
padding: 15px; padding: 15px;
background-color: #97bd924d;
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
#timer { #timer {
flex: 1 1 200px; flex: 1 1 200px;
background-color: rgba(201, 240, 196, 0.85); background: linear-gradient(230deg, rgba(218, 159, 142, 0.9), rgba(236, 0, 228, 0.9), rgba(0, 212, 236, 0.9), rgba(0, 236, 173, 0.9), rgba(110, 0, 236, 0.9));
background-size: 1000% 1000%;
-webkit-animation: AnimationName 30s ease infinite;
-moz-animation: AnimationName 30s ease infinite;
animation: AnimationName 30s ease infinite;
@-webkit-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@-moz-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
padding: 15px; padding: 15px;
background-size: cover;
background-position: center;
p { p {
background-color: rgba(151, 189, 146, 0.3); background-color: rgba(151, 189, 146, 0.3);
padding: 10px; padding: 10px;

View file

@ -5,6 +5,7 @@ image:
video_path: video_path:
layout: default layout: default
--- ---
<div class="musiflex">
<div id="hero" style="background-color: rgb(0, 255, 255);margin:0;padding:0;"> <div id="hero" style="background-color: rgb(0, 255, 255);margin:0;padding:0;">
<h1>GREETINGS<br />ROBOT!</h1> <h1>GREETINGS<br />ROBOT!</h1>
<div> <div>
@ -13,6 +14,17 @@ layout: default
am funky and I deliver because<br /><b>I was born tomorrow.</b></p> am funky and I deliver because<br /><b>I was born tomorrow.</b></p>
</div> </div>
</div> </div>
<div>asdasd</div>
<div class="trackcontainer">
<a href="{{ track.url }}">
<div class="track" style="background-image:url({{ site.audio_url }}{{ track.image }});"></div>
<h3>track.title </h3>
</a>
<p>{{ track.keywords }}</p>
</div>
</div>