diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-09-10 17:57:32 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-09-10 17:57:32 -0700 |
commit | 21c617faf7871700e8d0c1f4cb98d6893d167506 (patch) | |
tree | 0a973fe2dba74d0ff3ddb2d56e598e5a1d766fd5 /youtube | |
parent | 27efcaf2b1a5af8134ae4791717b230202118007 (diff) | |
download | yt-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')
-rw-r--r-- | youtube/templates/local_playlists_list.html | 17 |
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 %} |