From 8e092fba9f66a19ae2cd870f85713e6da9e480e1 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Sun, 5 Jul 2020 13:05:02 +0200 Subject: [PATCH] album page template --- _layouts/album.html | 29 ++++++++++++++--------------- _sass/player.scss | 5 +++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/_layouts/album.html b/_layouts/album.html index a7c944ca..0c777d6b 100644 --- a/_layouts/album.html +++ b/_layouts/album.html @@ -31,14 +31,14 @@ lang: en class="banner onload-image-fade-in onload-content-fade-right style2 fullscreen content-align-center image-position-center" style="height:100vh;background-color: rgba(13,13,13,0.85);">
-

{{ page.name }}

- +

{{ page.title }}

+

{{ page.description }}

- {{ page.name }} + {{ page.title }}
@@ -51,8 +51,10 @@ lang: en
+ +
@@ -79,7 +81,7 @@ lang: en
{{ track.common.track.no }}.
{{ track.common.title }}
-
{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{{ round_seconds | minus: leftover_seconds }}
+
{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}
{% endfor %} @@ -109,16 +111,17 @@ lang: en
- + + + +
- - - -
@@ -155,7 +154,7 @@ lang: en
-

{{ site.data.translations[page.lang].post-nav}}

+

More releases

diff --git a/_sass/player.scss b/_sass/player.scss index 2af80250..a963607e 100644 --- a/_sass/player.scss +++ b/_sass/player.scss @@ -86,7 +86,7 @@ audio { } .plTitle { - left: 50px; + left: 75px; overflow: hidden; position: absolute; right: 65px; @@ -94,11 +94,12 @@ audio { top: 0; white-space: nowrap; font-weight: bold; + padding-right: 10px; } .plNum { padding-left: 21px; - width: 25px; + width: 65px; } .plLength {