perfectioning
This commit is contained in:
parent
3be4c302ef
commit
02879a7510
|
@ -1,6 +1,8 @@
|
|||
<div id="navigation">
|
||||
{% if page.collection == 'tracks' %}
|
||||
<a href="{{ site.baseurl }}./index.html">
|
||||
{% elsif page.url == '/' %}
|
||||
<a href="{{ site.baseurl }}/music/">
|
||||
{% else %}
|
||||
<a href="{{ site.baseurl }}../">
|
||||
{% endif %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
layout: default
|
||||
---
|
||||
<div id="player">
|
||||
<div id="info" style="background-image:url('{{ site.audio_url }}{{ page.image }}');">
|
||||
<div id="info">
|
||||
<div id="controls">
|
||||
<div class="container">
|
||||
<button id="mu_pause">Play</button><br />
|
||||
|
@ -25,6 +25,7 @@ layout: default
|
|||
<div class="trackcontainer">
|
||||
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p>{{ page.keywords }}</p>
|
||||
<h2 id="tracktime"> </h2>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
html {
|
||||
font-family: "Helvetica", Sans-serif;
|
||||
|
||||
}
|
||||
body{
|
||||
background: url(/assets/img/pattern.png);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
|
||||
|
||||
}
|
||||
a {
|
||||
font-weight: normal;
|
||||
|
@ -30,10 +31,38 @@ a {
|
|||
flex: 1 1 300px;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
background-color: rgba(201, 240, 196, 0.85);
|
||||
|
||||
|
||||
h1, h2, h3, p {
|
||||
padding: 5px;
|
||||
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 {
|
||||
|
@ -60,13 +89,18 @@ a {
|
|||
display: flex;
|
||||
flex: 0 0 200px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
padding: 15px;
|
||||
margin: 0 auto;
|
||||
|
||||
|
||||
|
||||
.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-size: 1000% 1000%;
|
||||
|
||||
|
@ -97,30 +131,71 @@ animation: AnimationName 30s ease infinite;
|
|||
}
|
||||
}
|
||||
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;
|
||||
height: 100px;
|
||||
border-radius: 100px;
|
||||
transition: background-color 0.5s ease-in-out;
|
||||
}
|
||||
button:hover {
|
||||
background-color: rgb(253, 83, 83);
|
||||
background-color: rgba(117, 253, 83, 0.9);
|
||||
}
|
||||
#info {
|
||||
flex: 1 1 500px;
|
||||
min-height: 80vh;
|
||||
padding: 15px;
|
||||
background-color: #97bd924d;
|
||||
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
#timer {
|
||||
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;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
|
||||
p {
|
||||
background-color: rgba(151, 189, 146, 0.3);
|
||||
padding: 10px;
|
||||
|
|
14
index.html
14
index.html
|
@ -5,6 +5,7 @@ image:
|
|||
video_path:
|
||||
layout: default
|
||||
---
|
||||
<div class="musiflex">
|
||||
<div id="hero" style="background-color: rgb(0, 255, 255);margin:0;padding:0;">
|
||||
<h1>GREETINGS<br />ROBOT!</h1>
|
||||
<div>
|
||||
|
@ -13,6 +14,17 @@ layout: default
|
|||
am funky and I deliver because<br /><b>I was born tomorrow.</b></p>
|
||||
</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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue