From 9a94ffe05bd9ae92470b213507f286858e4d8060 Mon Sep 17 00:00:00 2001 From: Dece Date: Thu, 17 Aug 2017 17:40:52 +0200 Subject: [PATCH] Re-enable side projects --- label/static/label/css/artists.css | 9 ++-- label/static/label/css/release.css | 2 - label/templates/label/artists.html | 67 +++++++++++++++++------------- static/css/base.css | 2 +- 4 files changed, 43 insertions(+), 37 deletions(-) diff --git a/label/static/label/css/artists.css b/label/static/label/css/artists.css index 283e0c0..2a2fc6a 100644 --- a/label/static/label/css/artists.css +++ b/label/static/label/css/artists.css @@ -1,11 +1,10 @@ -#content h1 { +#content { text-align: center; } .artists { width: 700px; margin: auto; - text-align: center; } .artists .artist { @@ -18,7 +17,7 @@ .artists .artist a { color: #929292; text-decoration: none; - transition: .5s; + transition: 0.3s; } .artists .artist .logo { @@ -32,19 +31,19 @@ .artists .artist-genre { display: flex; + align-items: center; position: absolute; top: 0px; left: 0px; height: 150px; width: 150px; padding: 5px; - align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.6); border-radius: 5px; color: white; opacity: 0; - transition: all 0.7s ease; + transition: 0.3s; } .artists .artist-genre:hover { diff --git a/label/static/label/css/release.css b/label/static/label/css/release.css index d8a154e..d9e4fe1 100644 --- a/label/static/label/css/release.css +++ b/label/static/label/css/release.css @@ -3,7 +3,6 @@ } - .logo { max-width: 300px; max-height: 300px; @@ -16,7 +15,6 @@ } - #infos { margin: auto; } diff --git a/label/templates/label/artists.html b/label/templates/label/artists.html index ebe0a50..1ae2b2b 100644 --- a/label/templates/label/artists.html +++ b/label/templates/label/artists.html @@ -9,37 +9,46 @@ {% block content %} -

Artists

-
- {% for artist in artists %} - {% if artist.artist_type == 0 %} - - - - {{ artist.name }} - {{ artist.genre }} - - - {% endif %} - {% endfor %} -
+

Core

+

Main project roster of Idre

- + {% endfor %} + + +

Experiments

+

Side projects, one-off collaboration nicknames, shameless shitposting

+ +
+ {% for artist in artists %} + {% if artist.artist_type == 1 %} + + + + {{ artist.name }} + {{ artist.genre }} + + + {% endif %} + {% endfor %} +
+ {% endblock %} diff --git a/static/css/base.css b/static/css/base.css index 9cbd32b..8dd1fc2 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -45,7 +45,7 @@ nav .link { color: inherit; text-decoration: none; text-transform: uppercase; - transition: .5s; + transition: 0.3s; } nav .link:nth-child(1):hover { background-color: #ff6188; }