aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-09-10 17:57:32 -0700
committerJames Taylor <user234683@users.noreply.github.com>2019-09-10 17:57:32 -0700
commit21c617faf7871700e8d0c1f4cb98d6893d167506 (patch)
tree0a973fe2dba74d0ff3ddb2d56e598e5a1d766fd5 /youtube/templates
parent27efcaf2b1a5af8134ae4791717b230202118007 (diff)
downloadyt-local-21c617faf7871700e8d0c1f4cb98d6893d167506.tar.lz
yt-local-21c617faf7871700e8d0c1f4cb98d6893d167506.tar.xz
yt-local-21c617faf7871700e8d0c1f4cb98d6893d167506.zip
Local playlists list: center list and add background to it
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/local_playlists_list.html17
1 files changed, 17 insertions, 0 deletions
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 %}
<ul>
{% for playlist_name, playlist_url in playlists %}