diff --git a/label/static/label/css/releases.css b/label/static/label/css/releases.css index 0dc086d..698621e 100644 --- a/label/static/label/css/releases.css +++ b/label/static/label/css/releases.css @@ -1,18 +1,33 @@ -#releases { - text-align: center; - max-width: 95%; - margin: auto; +#content { + display: flex; + flex-direction: column; + width: 100%; } .release { - /*-o-transition: .5s;*/ - /*-ms-transition: .5s;*/ - /*-moz-transition: .5s;*/ - /*-webkit-transition: .5s;*/ - /*transition: .5s;*/ + display: flex; + align-items: center; + margin-bottom: 20px; } -.release td { - padding-left: 10px; - padding-right: 10px; +.release .cover { + flex-shrink: 0; + height: 120px; + width: 300px; + background-image: url('https://f4.bcbits.com/img/a3032423923_10.jpg'); + background-size: cover; +} + +.release .infos { + margin-left: 10px; +} + +.release .infos p { + margin: 0; +} + +.release .infos .title { + width: 100%; + font-weight: bold; + font-size: 1.4em; } diff --git a/label/templates/label/artist.html b/label/templates/label/artist.html index dfb4d2e..15ee629 100644 --- a/label/templates/label/artist.html +++ b/label/templates/label/artist.html @@ -1,5 +1,4 @@ {% extends "base.html" %} - {% load static %} @@ -12,7 +11,6 @@
diff --git a/label/templates/label/artists.html b/label/templates/label/artists.html
index 888a849..ebe0a50 100644
--- a/label/templates/label/artists.html
+++ b/label/templates/label/artists.html
@@ -1,5 +1,4 @@
{% extends "base.html" %}
-
{% load static %}
@@ -13,15 +12,19 @@
Artists
{% for artist in artists %}
- {% if artist.artist_type == 0 %}
-
-
-
- {{ artist.name }}
- {{ artist.genre }}
-
-
- {% endif %}
+ {% if artist.artist_type == 0 %}
+
+
+
diff --git a/label/templates/label/release.html b/label/templates/label/release.html
index ec4b779..714b634 100644
--- a/label/templates/label/release.html
+++ b/label/templates/label/release.html
@@ -1,5 +1,4 @@
{% extends "base.html" %}
-
{% load static %}
diff --git a/label/templates/label/releases.html b/label/templates/label/releases.html
index 14374a3..aad3db8 100644
--- a/label/templates/label/releases.html
+++ b/label/templates/label/releases.html
@@ -1,5 +1,4 @@
{% extends "base.html" %}
-
{% load static %}
@@ -9,32 +8,30 @@
{% block content %}
-
+
+ {{ artist.name }}
+ {{ artist.genre }}
+
+
+ {% endif %}
{% endfor %}
|