From 21c617faf7871700e8d0c1f4cb98d6893d167506 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Tue, 10 Sep 2019 17:57:32 -0700 Subject: Local playlists list: center list and add background to it --- youtube/templates/local_playlists_list.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'youtube') diff --git a/youtube/templates/local_playlists_list.html b/youtube/templates/local_playlists_list.html index 9b5f510..a9fccff 100644 --- a/youtube/templates/local_playlists_list.html +++ b/youtube/templates/local_playlists_list.html @@ -1,6 +1,23 @@ {% set page_title = 'Local playlists' %} {% extends "base.html" %} +{% block style %} +main{ + display: flex; + justify-content: center; +} + ul{ + background-color: var(--interface-color); + margin-top: 20px; + padding: 20px; + min-width: 400px; + align-self: start; + } + li{ + margin-bottom: 10px; + } +{% endblock style %} + {% block main %}